www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/21/11:26:15

From: George Ryot <ryot AT bigfoot DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What's the symbol for 'return' in djgpp/dos
Message-ID: <us2v5s0gi022lbt6u36ltvdljl0b2fglgs@4ax.com>
References: <83nsuk$bpr$1 AT lure DOT pipex DOT net>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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" <jbaldacci AT dial DOT pipex DOT com> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019