TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Adam Majer
from: William McBrine
date: 1998-11-13 00:27:08
subject: Re: getchar and EOF

-=> Adam Majer wrote to Dennis Brown <=-

 AM> Crtl-Z (I'm almost 99.99999999999% sure). This should be
 AM> ..
 AM> while((c=getchar()) != '\x27')
 AM> ..
 AM> 27 is the value for ESC key.

ESC is 27 decimal, not hex. Also, ESC != Ctrl-Z. (Ctrl-Z is one less, 26
dec.)

... Now is the time on Sprockets when we dance!
--- MultiMail/Linux v0.20
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 634/397 635/506 728 639/252
SEEN-BY: 670/218
@PATH: 106/2000 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.