Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

good term program?

5 views
Skip to first unread message

Adam Sjoegren

unread,
Oct 13, 1992, 8:43:51 AM10/13/92
to

William M. Perkins writes:

> Than use the VLTjr version that does not have the Tektronix
> graphics code. It should work okey in small memory machines and
> still supports a good vt100 emulation.

How do you make VLT recognize FF (0x0c) as a ClearScreen? Is it some
switch somewhere, or what? Most of the BBS's in my area use FF for
ClearScreen.

I've only just started playing with VLT, and havent ordered the manual
yet.

.
-*-
Adam_S...@thesystem.bbs.bad.se \O_ BBS +45-31-354775
Copenhagen, Denmark | ANet betatester
GCChost support DK / \ FidoNet 2:230/149
---

WGL...@slacvm.slac.stanford.edu

unread,
Oct 14, 1992, 5:30:20 PM10/14/92
to
VLT is a VT100 emulator, and <FF> (0x0C) is not a sequence that clears the
screen on a VT100. You could add a trap for this which might work okay,
something along the lines:

trap add install "*X0C" "clear"

which you should run in an init script. Since trap parsing is slightly
asynchronous with the screen display, you may lose some characters at times
but it should be better than nothing...

Willy.
----------
Willy Langeveld - Bitnet: WGLP09 @ SLACVM - BIX: langeveld

Rodney Hester

unread,
Oct 14, 1992, 6:56:03 PM10/14/92
to
In article <92288.133...@SLACVM.SLAC.STANFORD.EDU> <WGL...@SLACVM.SLAC.STANFORD.EDU> writes:
>VLT is a VT100 emulator, and <FF> (0x0C) is not a sequence that clears the
>screen on a VT100. You could add a trap for this which might work okay,
>something along the lines:
>
> trap add install "*X0C" "clear"
>
>which you should run in an init script. Since trap parsing is slightly
>asynchronous with the screen display, you may lose some characters at times
>but it should be better than nothing...

(Yes, Willy, I _am_ going to get around to sending off for the manual. :-)

Open question to all VLT users: how can one remove the above trap from a
script? (I know it can be done with the Script/Remove All Traps menu item,
but I want to be able to remove just that trap from within a script.) Can it
be done? If so, how? Thanks very much!
--
// Rodney Hester - rghe...@eos.ncsu.edu //
\X/ -=[ In Stereo Where Available ]=- \X/

WGL...@slacvm.slac.stanford.edu

unread,
Oct 16, 1992, 3:06:23 PM10/16/92
to
To remove all traps, you use the script command trap remove all .
You can also give this particular trap a number and just remove it.
Something like:

trap add 42 install "*X0C" "clear"

and cancel it by:

trap remove 42

0 new messages