*BSD News Article 11701


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA2005 ; Wed, 24 Feb 93 13:00:53 EST
Organization: Sophomore, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!spool.mu.edu!uwm.edu!rpi!batcomputer!cornell!rochester!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!aw2t+
Newsgroups: comp.unix.bsd
Message-ID: <8fWIXvK00iV307PklV@andrew.cmu.edu>
Date: Mon, 22 Feb 1993 16:43:23 -0500 
From: "Alex R.N. Wetmore" <aw2t+@andrew.cmu.edu>
Subject: better termcap for console
Lines: 21

I was hacking around with the pccons termcap entry to try and make it a
little nicer (so that it supports reverse video, etc).  Here is what I
came up with:

pc3|ibmpc3|IBM PC 386BSD Console:\
	:li#25:co#80:am:bs:bw:eo:\
	:ac=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305:\
	:kh=\E[Y:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:\
 :sr=\E[T:sf=\E[S:\
	:cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
	:nd=\E[C:up=\E[A:so=\E[1;7x\E[2;0x:se=\E[1;0x\E[2;7x:\
	:us=\E[1;7x\E[2;0x:ue=\E[1;0x\E[2;7x:\
	:md=\E[7m:me=\E[0m\E[1;0x\E[2;7x:

Any reason I shouldn't be using the color changing stuff (as some patch
had commented it out from the original termcap)?  For the past 10
minutes this seems to have been working great, and with screen I get
pretty decent vt100 emulation.

alex