FW: Re: Why is my executabel in DOS file format?
Meg Abyte
fitter20@hotmail.com
Wed Mar 10 09:51:00 GMT 2004
>Bernd Jendrissek <berndj@prism.co.za> writes:
>
> > On Tue, Mar 09, 2004 at 12:07:27PM -0700, Meg Abyte wrote:
> >> >Can you quote what stty gives you when you say
> >> ># stty -F /dev/tts/0 -a
> >> >please?
> >>
> >> speed 9600 baud; rows 0; columns 0; line = 0;
> >> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
> >> eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase =
>^W;
> >> lnext = ^V; flush = ^O; min = 1; time = 0;
> >> -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
> >> -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
> > ^^^^^
> >> -ixoff
> >> -iuclc -ixany -imaxbel
> >> opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
>vt0
> > ^^^^^ ^^^^^
> >> ff0
> >> isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop
>-echoprt
> >> echoctl echoke
> >
> > Turn those two off. Not sure about opost, but I'd guess you might as
> > well kill that too.
>
>Turning off opost will disable _all_ postprocessing on output, so that
>all other output settings are ignored.
>
> > According to your settings, you'd have this mapping:
> >
> > File contents Serial port output
> > \012 (LF) \015 (should work)
> > \015 (CR) \015 (should work)
> > \015\012 (CRLF) \012\012 (should *not* work)
>
>Actually, it's this:
>
>File contents Serial port output
>\012 (LF) \015\012
>\015 (CR) \015
>\015\012 (CRLF) \015\012\012
>
>since onlcr turns LF to CRLF.
>
No like I mentioned guys I alread tried setting that, and many other
combinations to disable Linux from doing anything to the CR or LF 's.
That was just a dump of stty at the moment I read this email. I had already
changed all those to prevent them... But thanks...
_________________________________________________________________
STOP MORE SPAM with the MSN Premium and get 2 months FREE*
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
More information about the Binutils
mailing list