On Mon, 2004-07-26 at 12:58, [EMAIL PROTECTED] wrote:
> Dear slugers,
> I have created a file using vi.
> When I look at the same file on a windows box with notepad it is loaded as one line
> and where I expect to have carriage returns i have box looking characters.
> Can someone tell me how I can replicate these box looking characters on a windows
> system using wordpad or notepad.
> i hope this all makes sense.
The box characters are the simple ^J on it's own. As noted elsewhere
you can use wordpad or any number of other editors to read the files
without any modification (ultraedit, borland builder editor, ...)
The standard for Windows is to use ^M^J on the end of the line. If you
are using vim or vi Improved you can simply use :set ff=dos before you
save to write the file, this will write the dos line ends.
--
Thanks
KenF
OpenOffice.org developer
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html