From owner-freebsd-current Sat Oct 19 22:03:38 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA06944 for current-outgoing; Sat, 19 Oct 1996 22:03:38 -0700 (PDT) Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id WAA06938 for ; Sat, 19 Oct 1996 22:03:32 -0700 (PDT) Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.6.11/8.6.9) id PAA16647; Sun, 20 Oct 1996 15:03:23 +1000 From: David Dawes Message-Id: <199610200503.PAA16647@rf900.physics.usyd.edu.au> Subject: Re: Xterm wierdness after 'make world'... To: dmaddox@scsn.net Date: Sun, 20 Oct 1996 15:03:22 +1000 (EST) Cc: current@freebsd.org In-Reply-To: <199610191924.PAA00255@rhiannon.scsn.net> from "Donald J. Maddox" at Oct 19, 96 03:24:25 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > After doing a 'make world' last night, I now find that most >(all?) programs that use libtermcap now act strangely... When >reading mail with elm, for example, all characters are printed >in reverse video. Using 'more' to read a short file (less than >a screenful) is no longer possible, because the file is >displayed, and the screen is instantly restored before there is >any chance to see any of it. Longer files work as expected, >except for the last page, which is cleared before it can be >read. It looks like termcap has been changed to include the latest XFree86 xterm entry. The current xterm has some features not present in older versions, and this is reflected in the termcap entry. One is that 'end standout mode' (se) now only turns off standout mode rather than turning off all attributes. Old xterms don't recognise that esc sequence, so reverse video mode doesn't get turned off. The second problem is related to the ti and te termcap entries. These are switching to an alternate screen buffer while 'more' is running, then switching back afterwards. I've been setting my PAGER to 'more -e' which is OK for the last page of longer files, but still doesn't fix things for short files. The X Consortium's standard R6 termcap entry for xterm also does this. David