| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Pl/I |
Ref: Append at 09:01:58 on 94/10/14 GMT (by IBMNET at TOROVM1)
You can write the ANSI escape sequences directly to standard out
using put edit. The program must open the file as stdout:. Here
is a small example:
*process langlvl(saa2);
vio: proc options(main);
dcl escape char(2) value('1B5B'X);
dcl clearscr char(4) value(escape||'2J');
dcl blue_back char(5) value(escape||'44m');
dcl yellow_fore char(5) value(escape||'33m');
dcl black_back char(5) value(escape||'40m');
dcl white_fore char(5) value(escape||'37m');
dcl normal char(10) value(black_back||white_fore);
open file(sysprint) title('/stdout:') output;
put edit(clearscr, blue_back, 'Paige', yellow_fore, ' Hi') (A);
put edit(normal) (A);
end;
--- MAIL401/2 Gateway 1.0
* Origin: IBM Canada Gateway (1:12/2442.2001)SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413 SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1 @PATH: 12/2442 711/409 54/54 711/808 809 934 |
|
| 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™.