Article View: comp.terminals
Article #2415Re: Termcap, terminfo question
From: Doug Gwyn
Date: Tue, 18 Apr 1989 14:00
Date: Tue, 18 Apr 1989 14:00
18 lines
1426 bytes
1426 bytes
In article <28825@ucbvax.BERKELEY.EDU> edward@ucbarpa.Berkeley.EDU (Edward Wang) writes:
>Is the termcap string "rp" (and equivalent in terminfo)
>supposed to work across line boundaries? I mean if a terminal
>can repeat a character but only to the end of the line,
>then is it okay to call that rp? The only program I know
>of that uses it is emacs, and it never repeats across lines.
>Also, is it okay to assume only printing characters are repeated?
"rp" ("rep" in terminfo lingo) is not constrained like that, but
since in practice any implementation in a terminal will have some
limit, it would be wise not to try to span multiple lines with a
repeat in a termcap/terminfo-using application. Similarly, a
sane application should avoid using rp/rep for a sequence of
control characters, simply because it's asking for trouble, not
because it isn't part of the definition of the capability.
The general rule when preparing terminal descriptions is "When in
doubt, leave it out".
Technical Details
Message-ID:
<10070@smoke.BRL.MIL>Path:
arc1-ca.pugleaf.net!utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cmcl2!adm!smoke!gwynReferences:
<28825@ucbvax.BERKELEY.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.terminals Subject: Re: Termcap, terminfo question Message-ID: <10070@smoke.BRL.MIL> Date: 18 Apr 89 14:00:10 GMT References: <28825@ucbvax.BERKELEY.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 18