Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.unix.programmer Subject: Re: termcap str + params -> control seq. How? Message-ID: Date: 4 Apr 91 22:05:19 GMT References: <1991Apr02.223345.15465@buster.stafford.tx.us> <12738@hydra.Helsinki.FI> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 14 In article <12738@hydra.Helsinki.FI> kankkune@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@ferranti.com +1 713 274 5180. 'U` "Have you hugged your wolf today?"