To: | |
---|---|
Subject: | [ts-7000] Re: Dumb printf question |
From: | "Charles" <> |
Date: | Tue, 05 Jan 2010 21:07:16 -0000 |
Hi - --- In "Blair" <> wrote: > > I've got a user-space app that launches during the startup of my 7260. Every > printf statement that ends with a \n only does a line-feed. But if I log in > and run the app manually, \n also does a carriage-return. Why? > When you log in, characters go through the tty layer. See 'man stty', look for inlcr, icrnl, onlcr and ocrnl (they control input and output translation of cr <--> nl). If you log in remotely, there's another layer in your terminal settings. regards, ............ Charlie ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ts-7000/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/ts-7000/join (Yahoo! ID required) <*> To change settings via email: <*> To unsubscribe from this group, send an email to: <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | RE: [ts-7000] Re: Flushing an RX buffer., Jongsoo Kim |
---|---|
Next by Date: | [ts-7000] Re: did I do something bad? -bash: <filename.xxx>: Read-only file system, david.breton |
Previous by Thread: | [ts-7000] Dumb printf question, Blair |
Next by Thread: | [ts-7000] Re: General Reliability of 2.6.21 on TS7800, mohammad.jouni |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU