Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: Termcap question Message-ID: <12276@smoke.BRL.MIL> Date: 2 Mar 90 22:56:00 GMT References: <5658@star.cs.vu.nl> <671@mwtech.UUCP> <5708@star.cs.vu.nl> <12264@smoke.BRL.MIL> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 15 In article meissner@osf.org (Michael Meissner) writes: -In article <12264@smoke.BRL.MIL> gwyn@smoke.BRL.MIL (Doug Gwyn) writes: -| I'm curious as to the kind of terminal you have that requires a 0 byte -| for some non-padding function. I've never encountered this myself.. -DG terminals in DG mode (as opposed to ANSI mode) cursor positioning -code is a \020 followed by the row and column in absolute binary. If -you wanted to go directly to the upper left hand corner of the screen, -the terminal would want: - \020\000\000 That shouldn't cause problems in termcap, though, because this is one of the supported tgoto() parameter modes. One does have to omit an explicit "ho" capability if that's the only way to achieve it, but any termcap-using software ought to be smart enough to use "cm" to accomplish an "ho" effect when the former is given but not the latter.