diff options
author | 2000-01-09 06:02:42 +0000 | |
---|---|---|
committer | 2000-01-09 06:02:42 +0000 | |
commit | f69ead2804ef8954962f331a1d43d48a9ea639ea (patch) | |
tree | ed5cf5fcdb7d3ddd527b6599cf876c20685d385f | |
parent | Use getaddrinfo() in srcsa/dstsa/clearsa. (diff) | |
download | wireguard-openbsd-f69ead2804ef8954962f331a1d43d48a9ea639ea.tar.xz wireguard-openbsd-f69ead2804ef8954962f331a1d43d48a9ea639ea.zip |
Remove the hack to make xterm fit. Tic with the new termtypes file is
smart enough to do the right thing.
*NOTE* it is a good idea to install a tic linked with the latest
libcurses before building the new termcap/terminfo files.
-rw-r--r-- | share/termtypes/Makefile | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/share/termtypes/Makefile b/share/termtypes/Makefile index 23e5e0c43fe..59ac2832d73 100644 --- a/share/termtypes/Makefile +++ b/share/termtypes/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 1999/12/12 22:24:59 millert Exp $ +# $OpenBSD: Makefile,v 1.12 2000/01/09 06:02:42 millert Exp $ # # Take termcap/terminfo master file and generate termcap/terminfo .db files # master: http://www.tuxedo.org/~esr/terminfo/termtypes.master.gz @@ -9,7 +9,7 @@ CLEANFILES+= terminfo.src termcap.src terminfo.db termcap.db all: terminfo.db termcap.db terminfo.src: termtypes.master - tic -I ${.ALLSRC} | sed \ + tic -I -x ${.ALLSRC} | sed \ -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' \ -e 's,/usr/lib/tabset,/usr/share/tabset,g' \ > ${.TARGET} @@ -21,14 +21,10 @@ terminfo.src: termtypes.master terminfo.db: terminfo.src cap_mkdb -i -f terminfo terminfo.src -# Note the hack to remove lines betweem the 'xterm' extry and what it includes. -# This exists to prune out some unneeded entries so it is <= 1023 bytes. termcap.src: termtypes.master - tic -C ${.ALLSRC} | perl -e \ - 'undef $$/; $$_ = <STDIN>; \ - s,/usr/share/lib/tabset,/usr/share/tabset,g; \ - s,/usr/lib/tabset,/usr/share/tabset,g; \ - s/(\nxterm\|[^\n]+\n)[^#]+(\s+:tc=)/$$1$$2/s; print' \ + tic -C -x ${.ALLSRC} | sed \ + -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' \ + -e 's,/usr/lib/tabset,/usr/share/tabset,g' \ > ${.TARGET} @if [ ! -s ${.TARGET} ]; then \ echo ${.TARGET} is zero length! You need to update /usr/bin/tic ;\ |