gasper.fele@guest.arnes.si sent me these letters along with
these files:
ml, ansi.13
and ignoring
Here's an ANSI I've written. It indentifies itself as a VT100 and does not have vt52 support. It uses mldisp - I've lost the docs for this lib but IT WAS NOT DONE BY ME. The terminal still has some bugs -I'm working on this- and it needs a HUGE picture Instructions for use: run ANSI (to resize the picture) run tty while running the term. you can press MENU (green arrow + NXT) to change the portion of the screen U're watching (use arrow keys to move) and to send cursor movements (menu keys). BEWARE! after using the menu the green-arrow-mode is still active! press the shift again to get into normal mode. Hope this works for u as it does for me. P.S. this is slow so U'd better have that flow control enabled. polz
Hi!
Me again...
This is the newest version of ANSI. The only change since the last
version are the redifinable keys. The keys now :
KMP - the keymap
KEYDEFS - a keymap for the keys that send more than one char.
These keys can only be accessed by pressing the green shift.
SETKEY - The key redefinition program. It takes 2 arguments off
the stack- a string representing the new key definition on
level 1 and a real representing the key (pretty much like
ASN).
If the string is null the prog deletes the keydef on that
key ( from the keydefs- not KMP). If it's length is one
KMP is changed, otherwise the new key is stored into
KEYDEFS and can be accessed ONLY in green shift mode,
regardless of the mode U specify when storing the key.
KEYUTIL - The key reading utility. The use is the same as in
the previous version except it now reads the KEYDEFS
variable.
The rest of the programme is pretty much the same as in ANSI 1.0
so the old instructions apply.
I'm sorry I have no time to write the docs- I'll do it when the VT52
terminl type for my ANSI is ready. Till then- read the mails
the prog came with.
ANSI 1.0 - I've included this mail also- it's the only piece of
documentation so far.
this is the newest version of ANSI- it could be called 1.1
ANSI is the main prog, ML is a library the prog needs.
install INSTRUCTIONS
install the library and run TTY. That's it
KEYS : press RightShift, then L (NXT, MENU, PREV) to change the portion
of the screen U're watching (use arrow keys
to move the window) or erase the screen (press
cls twice)
RightShift + arrow keys = CURSOR KEYS!!!
RightShift + C = ^C
THE VARS:
TTY - the terminal program.
SETTERM - the settings inform. If U're tight on RAM U can change the
settings yourself - edit TERMPAR:
{
"MODEM INIT STRING"
"DIALING PREFIX"
%COLUMNS (in characters)
%ROWS (also in characters)
SPEED (1-300
2-600
3-1200
4-2400
5-4800
6-9600
)
XON/XOFF (1 if on, 0 if off)
}
DIALER- a miniature telephone directory- if U reeeeally need the RAM
U can purge this too, altough I don't advise it (it's small and
useful)
TELDAT, MINITEL, CHUS - used by DIALER, U may purge them.
INIT- just some crap PURGE IT
MLDISPpar - created by MLDISP, if U purge it the lib will just
make another one
TCHOOSE - a choosebox for choosing your terminal.
It looks itno TERMTYPES and stores the chosen var name
into INUTIL. U can do it yourself and free some RAM.
KEYUTIL, KMOD, KMP- the prog that reads the keyboard + it's vars.
U NEED THIS!
ANSI2 - the display routine, it recognises the ANSI esc sequences
DUMB - the DUMB terminal type - kewl if U'd just like to test the port
or something.
ignoring - another terminal type , icluded with this letter.
Just store it into your ANSI dir. , add the name to
your TERMTYPES, run TCHOOSE and select it if U wish to
use it.
This type IGNORES the esc sequences. It's faster than ANSI
andi it doesn't display all the crap DUMB does.
THIS IS IT - ANSI 1.1
If u're using an older version - UPGRADE IT!
This prog is slow so if U're getting a lot of esc sequences- it pays
to wait (with ANSI as the terminal type).
Hope this works for anyone else but me (I use lynx \AND irc II with ANSI
).
If it does (or does not) - send me some comments, PLEEEASE!
polz (gasper.fele@guest.arnes.si)
this is the newest version of ANSI- it could be called 1.1
ANSI is the main prog, ML is a library the prog needs.
install INSTRUCTIONS
install the library and run TTY. That's it
KEYS : press RightShift, then L (NXT, MENU, PREV) to change the portion
of the screen U're watching (use arrow keys
to move the window) or erase the screen (press
cls twice)
RightShift + arrow keys = CURSOR KEYS!!!
RightShift + C = ^C
THE VARS:
TTY - the terminal program.
SETTERM - the settings inform. If U're tight on RAM U can change the
settings yourself - edit TERMPAR:
{
"MODEM INIT STRING"
"DIALING PREFIX"
%COLUMNS (in characters)
%ROWS (also in characters)
SPEED (1-300
2-600
3-1200
4-2400
5-4800
6-9600
)
XON/XOFF (1 if on, 0 if off)
}
DIALER- a miniature telephone directory- if U reeeeally need the RAM
U can purge this too, altough I don't advise it (it's small and
useful)
TELDAT, MINITEL, CHUS - used by DIALER, U may purge them.
INIT- just some crap PURGE IT
MLDISPpar - created by MLDISP, if U purge it the lib will just
make another one
TCHOOSE - a choosebox for choosing your terminal.
It looks itno TERMTYPES and stores the chosen var name
into INUTIL. U can do it yourself and free some RAM.
KEYUTIL, KMOD, KMP- the prog that reads the keyboard + it's vars.
U NEED THIS!
ANSI - the display routine, it recognises the ANSI esc sequences
DUMB - the DUMB terminal type - kewl if U'd just like to test the port
or something.
ignoring - another terminal type , icluded with this letter.
Just store it into your ANSI dir. , add the name to
your TERMTYPES, run TCHOOSE and select it if U wish to
use it.
This type IGNORES the esc sequences. It's faster than ANSI
andi it doesn't display all the crap DUMB does.
THIS IS IT - ANSI 1.1
If u're using an older version - UPGRADE IT!
This prog is slow so if U're getting a lot of esc sequences- it pays
to wait (with ANSI as the terminal type).
If u get "PRAZEN X" on the stack- don't worry. the X is just the last
char in an esc sequence that was not recognised by ANSI.
I 've included this for developement purposes- if u have a GX u can
remove it (USE JAZZ!!!). If u don't - just send me an E-mail and I'll do
it for U.
Hope this works for anyone else but me (I use lynx with ANSI and hope
to use ircII with ignoring - as soon as I get ircII working).
If it does (or does not) - send me some comments, PLEEEASE!
polz (gasper.fele@guest.arnes.si)