termcap str + params -> control seq. How?
Peter da Silva
peter at ficc.ferranti.com
Fri Apr 5 08:05:19 AEST 1991
In article <12738 at hydra.Helsinki.FI> kankkune at cs.Helsinki.FI (Risto Kankkunen) writes:
> However, like Peter da Silva notes, this is a system V routine, and for
> portability my best bet is to use tgoto (and hope the cursor addressing
> special code doesn't mess things up).
Reasonable hope. 90% of terminals these days use ANSI X3.64 sequences, and
most of the remainder use ADM3a type sequences. Neither of these traditions
involve the characters that mess up tgoto. I use tgoto to parse "cs" all the
time, no problem.
Yes, there are weird problems with termlib.
--
Peter da Silva. `-_-' peter at ferranti.com
+1 713 274 5180. 'U` "Have you hugged your wolf today?"
More information about the Comp.unix.programmer
mailing list