xterm terminfo fixup X11R4 (and X11R3)

tony cooper name at portia.Stanford.EDU
Fri Mar 9 15:29:28 AEST 1990


There is a mistake in the Imakefile in mit/server/ddx/macII in the X11R4
source. The line

InstallNonExec(xterms.tic,$(USRLIBDIR)/terminfo/x/xterm)

should be

InstallNonExec(xterm.tic,$(USRLIBDIR)/terminfo/x/xterm)

A pretty trivial error so here's some more info to make this posting
worthwhile. Xterm has an alternate screen which is quite handy to use for
programs that clear the screen. Using the alternate screen for, say vi,
means that when vi clears the screen it really clears the alternate
screen. So your original screen retains all its original information
which I find quite handy (and aesthetically pleasing), especially for
cutting and pasting. So I added some extra options to the xterm.tic file
provided. To use them save the following into a file and tic that file.
(ie tic filename). This puts a new entry into /usr/lib/terminfo/x/xterm.

xterm|vs100|xterm terminal emulator,
	am, xenl, km, cols#80, it#8, lines#65, bel=^G, cr=\r, 
	csr=\E[%i%p1%d;%p2%dr, tbc=\E[3g, clear=\E[H\E[2J, el=\E[K, 
	ed=\E[J, cup=\E[%i%p1%d;%p2%dH, cud1=\n, home=\E[H, cub1=\b, 
	cuf1=\E[C, cuu1=\E[A, dch1=\E[P, dl1=\E[M, blink=@, bold=\E[1m, 
	rev=\E[7m, smso=\E[7m, sgr0=\E[m, rmso=\E[m, ich1=\E[@, 
	il1=\E[L, kbs=\b, kcud1=\EOB, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
	kf4=\EOS, kcub1=\EOD, kcuf1=\EOC, kcuu1=\EOA, rmkx=\E[?1l\E>, 
	smkx=\E[?1h\E=, dch=\E[%p1%dP, dl=\E[%p1%dM, cud=\E[%p1%dB, 
	ich=\E[%p1%d@, il=\E[%p1%dL, cub=\E[%p1%dD, cuf=\E[%p1%dC, 
	cuu=\E[%p1%dA, rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
	rs2=@kf1=\EOP, rc=\E8, sc=\E7, ind=\n, ri=\EM, 
	sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
	hts=\EH, ht=\t, smcup=\E7\E[?47h, rmcup=\E[2J\E[?47l\E8,

Cheers,
Tony Cooper
tony at popserver.stanford.edu



More information about the Comp.unix.aux mailing list