Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!caen!ox.com!emv From: Kimmo.Suominen@lut.fi (Kimmo Suominen) Newsgroups: comp.archives Subject: [comp.sys.hp] Re: setting the term type Message-ID: <1991Feb5.224744.17231@ox.com> Date: 5 Feb 91 22:47:44 GMT References: <1991Feb1.222341.28494@morrow.stanford.edu> Sender: emv@ox.com (Edward Vielmetti) Reply-To: Kimmo.Suominen@lut.fi (Kimmo Suominen) Followup-To: comp.sys.hp Organization: Lappeenranta University of Technology, Finland Lines: 42 Approved: emv@ox.com (Edward Vielmetti) X-Original-Newsgroups: comp.sys.hp Archive-name: unix/terminal/qterm/1991-02-04 Archive: lut.fi:/unix/util/qterm.tar.Z [128.214.25.8] Original-posting-by: Kimmo.Suominen@lut.fi (Kimmo Suominen) Original-subject: Re: setting the term type Reposted-by: emv@ox.com (Edward Vielmetti) >>>>> On 1 Feb 91 22:23:41 GMT, AR.BXA@forsythe.stanford.edu (Bob Anderson) said: Bob> anyone suggest a likely avenue to explore 'a better way'? I just today switched over to using "qterm", which is an easily configured program that identifies terminals. It uses an escape sequence to query the terminal for its type, and translates the answer to the matching terminfo (termcap) entry name. The query sequences, answer sequences and corresponding terminfo entry names are all configurable by an ASCII file. I am *REALLY* sorry for not remembering the original author right now. Anyway, he has really done a neat job. I yet need to define HP terminals in it, but you can get the original version using anonymous ftp to lut.fi and retrieve the file /unix/util/qterm.tar.Z Later on I will update the qtermtab, so it will include some HP terminals in it. Btw, the reason for switching to qterm so late (I've had for a year now) is a strange bug in HP-UX 7.0. For some reason (mainly on 840's and 850's) it gets stuck on telnet (maybe others, too) packet, whose length is over 26 characters. We happen to run a 845 and have Nokia VDU320 terminals (DEC VT320 clones), which send a 27 character answer to the terminal type query... bad luck. This bug affects also kermit and zmodem etc performance. The fix for the bug is a new hptt0.o, that must be replaced in the kernel library /etc/conf/lib/libhp-ux.a. -- Kim / Internet: Kimmo.Suominen@lut.fi "That's what I think." / Bitnet: KIM@FINFILES