From: fairfield@sldb6.slac.stanford.edu
Subject: Re: keypdad in MAIL becomes undefined--help
Date: 1995/11/17 [thread overview]
Message-ID: <1995Nov17.012038.1@sldb6.slac.stanford.edu> (raw)
In-Reply-To: 48hcjh$di0@rzsun02.rrz.uni-hamburg.de
In article <48hcjh$di0@rzsun02.rrz.uni-hamburg.de>,
Phillip Helbig <phelbig@hs.uni-hamburg.de> writes:
> If I am running MAIL, do BREAK and transfer to a UNIX box (Falco
> VT 220 clone through a DEC terminal server), then the mail keypad
> definitions are lost when I come back to MAIL on the VAX and I have
> the numeric keypad. How can this behaviour be prevented? I mean
> automatically, not through the setup or whatever.
What's happening (apparently) is that the unix machine is
reseting the terminal to numeric keypad mode (or is it the terminal
server, can terminal servers do that?). In any case, when you enter
MAIL, or any of a number of other VMS applications that use the
keypad, behind your back, the terminal is forced into application
keypad mode. It appears that once you use BREAK to get out of MAIL,
something or someone is putting the terminal back into numeric
keypad mode. When you return to your MAIL application, it has no
way of checking and restoring application keypad mode.
One way to prevent this is to SPAWN out of MAIL before you BREAK
to the unix session. This works for TPU (EVE), and I'm assuming
similar mechanisms are used for MAIL. In TPU, the terminal
settings...like keypad mode...are saved when you enter the
application, and restored when you exit. Also during a spawn, the
terminal settings are restored just prior to the spawn, and put back
the way TPU (or MAIL) needs them when you return from the spawn.
If spawning doesn't work, I can think of no _automatic_ way to
restore the settings. Your only other alternative would be to
prevent whoever is putting the terminal in numeric keypad mode from
doing that...
-Ken
--
Kenneth H. Fairfield | Internet: Fairfield@Slac.Stanford.Edu
SLAC, P.O.Box 4349, MS 46 | DECnet: 45537::FAIRFIELD (45537=SLACVX)
Stanford, CA 94309 | Voice: 415-926-2924 FAX: 415-926-3515
-------------------------------------------------------------------------
These opinions are mine, not SLAC's, Stanford's, nor the DOE's...
prev parent reply other threads:[~1995-11-17 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <48hcjh$di0@rzsun02.rrz.uni-hamburg.de>
1995-11-17 5:00 ` keypdad in MAIL becomes undefined--help Bob Koehler
1995-11-17 5:00 ` fairfield [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox