[Ilugc] saving text files ?

  • From: suraj@xxxxxxxxxxx (Suraj)
  • Date: Mon, 5 Apr 2004 18:56:53 -0700

Mohan Kumar wrote on Tue, Apr 06, 2004 at 06:24:36AM +0530: 
,----
| I face a great prob regarding the  saving of text files in linux , and
| opening it in windows, none of the editors ( kedit,gedit.....) help me
| out  in  this matter...,  when  i  open it  in  notepad  , the  entire
| allignment is  gone , with  a lot of  junk in it.   what can i  do abt
| it................( i know the carraige  return has diff format in win
| & unix, plz dont tell that ... tell a soln to the prob).
`----

:set fileformat=dos in vi[m]

or simply use unix2dos

  -Suraj

-- 
,-----------------[http://www.symonds.net/~suraj/]---o
| Alexander Graham Bell applied for his patent on the telephone, an "Improvement
| in Telegraphy", on Valentine's Day, 1876.
`------------------------------[suraj@xxxxxxxxxxx]---o

Other related posts: