Return to BSD News archive
#! rnews 1887 bsd Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!nntp.primenet.com!news.cais.net!nntp.uio.no!nntp-oslo.UNINETT.no!nntp-trd.UNINETT.no!troll.powertech.no!adm.icenet.no!news From: tingo@icenet.no (Torfinn Ingolfsen) Newsgroups: comp.unix.bsd.netbsd.misc Subject: Re: how do I reset pcvt? Date: 24 Aug 96 10:44:05 +0100 Organization: LNSF (Late Night Software Factory) Lines: 33 Message-ID: <1298.6810T644T290@icenet.no> References: <4vaici$pns@netra.oscs.montana.edu> NNTP-Posting-Host: narvik24.icenet.no X-Newsreader: THOR 2.22 (Amiga;TCP/IP) In article <4vaici$pns@netra.oscs.montana.edu>, cjones@rupert.oscs.montana.edu (Chris Jones) wrote: >characters, I get IBM graphics characters. Does anybody know of a way >to reset my pcvt? Logging out doesn't do it, as my intuition says it I don't know if this will help, but I use the following script with all vt-100 compatible termminals and emulators at work (I haven't tried it with pcvt yet). # vnorm - reset vt100 terminal echo 'X[mX(BX)0OX[?5lX7X[rX8' | tr 'XO' '\033\017' tput cvvis # restore a visible cursor I think I found this in a newsgroup long ago, so I can't remember who the author is. >Also, has anybody else out there ever had pcvt exhibit strange >behavior with the 25th line? Occasionally, with no obvious cause, >it'll decide (as far as I can tell) that the 25th line is a different > window from the other 24, and the behavior of my terminal is Hmm, this sound like the "status line" thing. There are control sequences in termcap / terminfo for enabling / disabling a status line (and writing to it) for terminals that supports this feature (vt-100 do). Hope this helps. -- Torfinn - Thor 2.22 No:#1015 (msg. written 24-Aug-96 10:35:55) Email (work): torfinn@anon.hfk.mil.no Email (home): tingo@icenet.no