Win98 notepad and Vi

Alastair Reid reid@cs.utah.edu
02 Jun 2002 15:25:31 +0100


> When i load hugs scripts, done on a unix machine on to my win98
> machine, Windows notepad loads, showing about 3 lines. how do i get
> it to display the same way as in Vi?  

Windows and Unix have different end of line terminators (LF on Unix,
CRLF on Windows).

There's many ways to convert (a little googling will turn them up) but
an easy way is to zip them up on Unix, copy the file over and then use
unzip -a when unzipping.  The -a tells unzip to translate to the local
line-termination convention.

--
Alastair