* Terminal Type
@ 1997-07-01 4:00 Doug Hamilton
1997-07-02 4:00 ` H. Blakely Williford
0 siblings, 1 reply; 4+ messages in thread
From: Doug Hamilton @ 1997-07-01 4:00 UTC (permalink / raw)
Is there a Decunix command (3.2c) which will get the terminal type (VT100,
VT420) at login time, similar to the VAX set terminal/inquire?
I'm getting sick of typing it in everytime. My desktop, laptop and home PC
all have different emulators,.
Thanks in advance
--
Doug Hamilton
ndh01 at konica dot com dot au
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Terminal Type
1997-07-01 4:00 Terminal Type Doug Hamilton
@ 1997-07-02 4:00 ` H. Blakely Williford
0 siblings, 0 replies; 4+ messages in thread
From: H. Blakely Williford @ 1997-07-02 4:00 UTC (permalink / raw)
Doug Hamilton wrote:
>
> Is there a Decunix command (3.2c) which will get the terminal type (VT100,
> VT420) at login time, similar to the VAX set terminal/inquire?
>
> I'm getting sick of typing it in everytime. My desktop, laptop and home PC
> all have different emulators,.
>
look for qterm / qtermtab. It sends the polling string to the terminal
then looks what the terminal sends back. Checks this with what ever is
in the qtermtab and sets TERM accordingly.
--
H. Blakely Williford | Men never do evil so completely and
Systems Administrator/Programmer | cheerfully as when they do it from
The Fuller Brush Company | religious conviction. -- Pascal
^ permalink raw reply [flat|nested] 4+ messages in thread
* Terminal type
@ 1997-07-13 4:00 Doug Hamilton
1997-07-15 4:00 ` peter hakanson
0 siblings, 1 reply; 4+ messages in thread
From: Doug Hamilton @ 1997-07-13 4:00 UTC (permalink / raw)
This is a repost because I didn't get any replies.
Does anyone know how to determine the type of a terminal, like VMS's set
term/inquire?
Thanks
--
Doug Hamilton
ndh01 at konica dot com dot au
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Terminal type
1997-07-13 4:00 Terminal type Doug Hamilton
@ 1997-07-15 4:00 ` peter hakanson
0 siblings, 0 replies; 4+ messages in thread
From: peter hakanson @ 1997-07-15 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1555 bytes --]
No i don't think that is available as general tool.
The reason is that more terminal types are available then the
limited set VMS handles. (VMS could send a few escape sequences
and listen for reply for all vt-xx type terminals).
Many terminals has no "who are you" questions/answer strings
defined, and thus will remain silent whatever they are asked.
And some types may screw up if given enough "unrecognized"
sequences.
But, don't give up, if you use a limited set of
terminals 'tset' might do the job, at least to the
point where a user is prompted to answer 'vt-320' or something
like that.
Additionaly, if your terminal population is limited, you
might write a small program that figures out (by sending questions
and listening for the reply) what type of terminal gets connected.
(which is what you asked for in the first place :-)
Regards
Peter h
Doug Hamilton (ndh01@konica.com.au) wrote:
: This is a repost because I didn't get any replies.
: Does anyone know how to determine the type of a terminal, like VMS's set
: term/inquire?
: Thanks
: --
: Doug Hamilton
: ndh01 at konica dot com dot au
--
Unsolicited commercial/propaganda email subject to legal action. Under US
Code Title 47, Sec.227(a)(2)(B), Sec.227(b)(1)(C), and Sec.227(b)(3)(C), a
State may impose a fine of not less than $500 per message. Read the full
text of Title 47 Sec 227 at http://www.law.cornell.edu/uscode/47/227.html
<peter.devnull@vtd.volvo.se> (remove ".devnull" before use!)
Peter H�kanson,Volvo Technological Development. Dep 6970,Gothenburg
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-07-15 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-01 4:00 Terminal Type Doug Hamilton
1997-07-02 4:00 ` H. Blakely Williford
-- strict thread matches above, loose matches on Subject: below --
1997-07-13 4:00 Terminal type Doug Hamilton
1997-07-15 4:00 ` peter hakanson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox