This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: new install of cygwin with pdksh doesn't work
David M. Karr writes:
> As I still have to work with other applications (Emacs, etc.) which
> will continue to write files with DOS line endings, removing the ^Ms
> is not a practical option, as I'd have to do that constantly.
If Emacs is your major concern, stick the following into your .emacs:
(setq-default buffer-file-coding-system 'undecided-unix)
New files will then be unix-style. Works great here.
regards,
Markus
--
Markus Hoenicka, PhD
UT Houston Medical School
Dept. of Integrative Biology and Pharmacology
6431 Fannin MSB4.114
Houston, TX 77030
(713) 500-6313, -7477
(713) 500-7444 (fax)
Markus.Hoenicka@uth.tmc.edu
http://ourworld.compuserve.com/homepages/hoenicka_markus/
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple