Discussion:
Windows Users! Text editor that is Unix compatible.
(too old to reply)
James M. Weber
2005-10-14 03:13:00 UTC
Permalink
http://www.pspad.com/en/
This editor lets you choose the plain text format that you want to use (CF
for Mac, LF for Unix and CF+LF for Windows). This should fix any problems
with writing your code on a windows machine and then compiling it in a unix
enviroment. Did I mention that it is freeware and highlights text?
Mike Busch
2005-10-14 23:15:09 UTC
Permalink
You can also use the following unix commands to convert files from unix to
dos or vice versa:

dos2unix -iso [source file] [destination file]
and
unix2dos -iso [source file] [destination file]

Note: you should not use the same file for both (if something were to go
wrong, you would lose the content)
Post by James M. Weber
http://www.pspad.com/en/
This editor lets you choose the plain text format that you want to use (CF
for Mac, LF for Unix and CF+LF for Windows). This should fix any problems
with writing your code on a windows machine and then compiling it in a
unix enviroment. Did I mention that it is freeware and highlights text?
Wayne D. Heym
2005-10-17 13:29:09 UTC
Permalink
Thanks for this contribution.
Post by Mike Busch
dos2unix -iso [source file] [destination file]
and
unix2dos -iso [source file] [destination file]
According to the man pages (commands "man dos2unix" and "man unix2dos"),
"-iso" is the default, so it may be left out for brevity.
--
Wayne
Wayne D. Heym
2005-10-17 13:33:05 UTC
Permalink
Supposedly the new isem-as assembler that we're using has no trouble
with the DOS carriage return (CR, ascii 13) characters, so you shouldn't
have to concern yourself with this issue for this assembler. Please let
me know if your experience is otherwise.
--
Wayne
Loading...