Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Carriage Returns

Re: Carriage Returns

From: Nuno Souto <nsouto_at_optushome.com.au.nospam>
Date: Fri, 26 Oct 2001 16:21:53 GMT
Message-ID: <3bd98cea.7318264@news>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US