Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : PANSI.EX2

 
Output of file : PANSI.EX2 contained in archive : QBFAQR01.ZIP
'A VERY simple example of a terminal program with ANSI emulation.
'Uses PANSI.BAS.
DEFINT A-Z
'$INCLUDE: 'pansi.bi'

SCREEN 0
WIDTH 80, 25
LOCATE , , 1

Init
SetWindow 1, 1, 80, 25
ClearScreen
CursorControl 1
SetCursor

'      Change this stuff for your modem.

OPEN "com1:1200,n,8,1,rb8192,tb512" FOR RANDOM AS #1
DO
A$ = INKEY$
IF A$ <> "" THEN PRINT #1, A$;
IF NOT EOF(1) THEN
PrintAnsi ASC(INPUT$(1, 1))
END IF
LOOP UNTIL A$ = "~"
CLOSE
END


  3 Responses to “Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : PANSI.EX2

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/