SImpletext and Pico
Patrick Smith
yellowdog-general@lists.terrasoftsolutions.com
Wed Jun 12 18:14:01 2002
Jay Savage wrote:
> Can anyone recommend a method of transfering plaintext files between MacOS and Linux? I have some webpages that I would like to work on on differnt machines, but any work I do in Pico or Emacs is unreadable in Simpletext, and vice versa. Simpletext displays Linux {LF} and {CR} characters as those annoying boxes, and Linux editors display Simpletext lf and cr charaters as "^M". I guess I'm dealing with an ASCII/UTF-8 conversion issue? But where do I go from here?
On the Linux side, try editing the file in vim, with ':set
fileformat=mac'. (Warning: I've never done this, but am guessing here...)
Also see ':help fileformat' and ':help fileformats' in vim.
--
patsmith@pobox.com