Date: Sat, 28 Aug 2004 03:42:30 -0400 From: Lucas Holt <luke@foolishgames.com> To: Soo-Hyun Choi <shchoi@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: vi editor related question Message-ID: <D0BBE04A-F8C5-11D8-82C3-000A95EFF4CA@foolishgames.com> In-Reply-To: <34b425c50408271652314776b1@mail.gmail.com> References: <34b425c50408271652314776b1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Consider using a different editor in windows like UltraEdit. It can save in "unix" format and supports syntax hi-lighting. Better yet, remove windows from the equation. :) There are a lot of nice text editors for UNIX like OSes including xemacs, gedit (gnome), kate (kde), etc. I do understand the temptation to use a specific editor though. For large class assignments (C++), I often work on my laptop using xcode (apple). Fortunately, Apple switched to the winning team (UNIX) for line termination with OSX. On Aug 27, 2004, at 7:52 PM, Soo-Hyun Choi wrote: > Hi, > > I edit C++ codes with a certain text editor under Windows XP, and then > I open the C++ codes using vi editor under FreeBSD. Then, there are > bunch of "^M" sign at the end of each line. Does anyone know why this > is happening? And, does anyone can tell me how to avoid this kind of > things? > > Cheers, > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > Lucas Holt Luke@FoolishGames.com ________________________________________________________ FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D0BBE04A-F8C5-11D8-82C3-000A95EFF4CA>