From: "Damian Yerrick" Newsgroups: comp.os.msdos.djgpp References: <83nsuk$bpr$1 AT lure DOT pipex DOT net> Subject: Re: What's the symbol for 'return' in djgpp/dos Lines: 28 Organization: Pin Eight Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: <2GM74.497$PK3.5161@dfiatx1-snr1.gtei.net> X-Trace: /KHlxIcO5OSyVN5ay1znQBXS8ikbZB1mxuSY0rPscy/TmFXvlCm/Uqk6U9mnHPfSj0T0xPeYIgnK!MFEQe2Hjwg2Jh4fSSz89w30oLLNONd2URWQ9pS1O8g0sp4k+IXCPMhpQpkdORM6UuA== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 21 Dec 1999 15:04:30 GMT Distribution: world Date: Tue, 21 Dec 1999 15:04:30 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Joanna Baldacci" wrote: > sorry for my ignorance, but '\n' and '\0' don't seem to work. > I also tried '^p', which someone told me was the answer. > Any replies welcome. All I want to do is to use it to end > some input. The symol for the 'esc' key would be > just as handy. carriage return is \r or \x0d newline (printf) or linefeed (cprintf) is \n or \x0a escape is \x1b -- Damian Yerrick http://yerricde.tripod.com/ View full .sig: http://www.rose-hulman.edu/~yerricde/sig.html and now you must pay...