TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: TONY CAPPELLINI 76370,2104 (X)
from: Bruce MacKenzie 71725,376
date: 1990-07-08 09:44:04
subject: #4941-#I don`t C so well !

#: 4970 S3/Languages
    08-Jul-90  09:44:04
Sb: #4941-#I don't C so well !
Fm: Bruce MacKenzie 71725,376
To: TONY CAPPELLINI 76370,2104 (X)

Tony,
     On buffered writes to SCF devices C uses I$WriteLn which activates line
editing at the op system level.  This filters out a lot of non-ASCII control
codes.  It's best to use the system call function write() to send control codes
to the screen, printer and such.  Try:

 char c;
 c=4;
 write(fileno(stdout),&c,1);

or if you have cgfx.l you can use:

 ErEOLine(fileno(stdout));

There is 1 Reply.

SOURCE: compuserve via textfiles.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™.