From: George Ryot Newsgroups: comp.os.msdos.djgpp Subject: Re: What's the symbol for 'return' in djgpp/dos Message-ID: References: <83nsuk$bpr$1 AT lure DOT pipex DOT net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 13 Date: Tue, 21 Dec 1999 14:35:53 GMT NNTP-Posting-Host: 195.8.92.89 X-Complaints-To: abuse AT clara DOT net X-Trace: nnrp4.clara.net 945786953 195.8.92.89 (Tue, 21 Dec 1999 14:35:53 GMT) NNTP-Posting-Date: Tue, 21 Dec 1999 14:35:53 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. Non-DJGPP specific C/C++ questions are usually more appropriate in groups such as comp.lang.c or comp.lang.c++ I think '\r' is what you are looking for. Use '\x1B' for Escape. -- george