🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.terminals
Article #1037

Re: terminfo description needs pause

#1037
From: Tony L. Hansen
Date: Sat, 12 Jan 1991 16:50
29 lines
2034 bytes
In article <1990Dec17.171335.4861@xenitec.on.ca>, vances@xenitec.on.ca (Vance Shipley) writes:
> Here's one for you terminfo gurus.  I have an AT&T 5620 terminal and
> I am using SCO ODT.  The problem is that when I log in the terminal
> reset escape code is sent and this seems to take two or three seconds
> to proccess in the terminal, by that time the string that declares the
> terminal type and sometimes the first "1%" are missed.  I need to 
> introduce a delay after the rs1 sequence.  I tried adding a pad to the
> rs1 string but that didn't work because the npc boolean is present (no
> pad character).  Removing npc and supplying a pad in rs1 results in 
> garbage being displayed (the pad chars).
> 
> 	How can I delay further action after the rs1 sequence?

If the terminal has no pad character, there is no way to introduce a delay
instream within the terminfo sequence. I'm afraid that you don't have much
recourse with the pad sequences $<n>, but will have to use something like the
iprog to do the initialization. Even mandatory padding ($<n/>) doesn't help
without a pad character.

> 	Why does terminfo use padding characters anyway, why not just wait?

The question is how? You need to do the output delay at the time that the
sequence is output, which may be far removed within the program from when the
output gets sent to the terminal.

					Tony Hansen
				att!pegasus!hansen, attmail!tony
				    hansen@pegasus.att.com
				      tony@attmail.com
Technical Details
Message-ID: <1991Jan12.165045.28854@cbnewsk.att.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!att!cbnewsl!cbnewsk!pegasus!hansen
References: <1990Dec17.171335.4861@xenitec.on.ca> <606@tndsyd.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!att!cbnewsl!cbnewsk!pegasus!hansen
From: hansen@pegasus.att.com (Tony L. Hansen)
Newsgroups: comp.terminals
Subject: Re: terminfo description needs pause
Summary: can't do much with out pad character
Keywords: terminfo, padding
Message-ID: <1991Jan12.165045.28854@cbnewsk.att.com>
Date: 12 Jan 91 16:50:45 GMT
References: <1990Dec17.171335.4861@xenitec.on.ca> <606@tndsyd.oz>
Sender: hansen@cbnewsk.att.com (tony.l.hansen)
Organization: AT&T Bell Laboratories
Lines: 29