Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Carriage Returns
In a valiant and sublime effort,Norman Dunbar
frowned, dipped a thumb in soot and doodled:
>ok, technically, you got me bang to rights there !
>But, on my unix servers, a linefeed acts like a CR/LF pair, unlike
>MSDOS/WINDOWS which needs both.
:-)
Have a good, long, hard read of the man pages for "stty". You'll find
that it's possible to make your nixbox recognize and handle the quaint
CR/LF construct of the Gates-world!
And if you're coding in C, one of the nice things that the compiler will do for you is automagically generate appropriate code to handle '\n' as LF in Unix and CR/LF in DOS/Windoze.
Cheers
Nuno Souto
nsouto_at_optushome.com.au.nospam
Received on Fri Oct 26 2001 - 11:21:53 CDT
![]() |
![]() |