From owner-freebsd-current Mon Nov 2 00:11:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA29512 for freebsd-current-outgoing; Mon, 2 Nov 1998 00:11:34 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles312.castles.com [208.214.167.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA29506 for ; Mon, 2 Nov 1998 00:11:32 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id AAA08861; Mon, 2 Nov 1998 00:10:39 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199811020810.AAA08861@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Randy Bush cc: freebsd-current@FreeBSD.ORG Subject: Re: screen not restored on exit of (less|more|vi|.*) In-reply-to: Your message of "Sun, 01 Nov 1998 20:56:30 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 02 Nov 1998 00:10:38 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > xserver on CURRENT, two xterms, each running current bash etc. > o one to a bsdi 3.1 system (same on sunos, ...) > o one to the same freebsd host > > say 'less foo' (or vi foo, or ...) > > o quit less on bsdi and the screen is restored. i.e., you see > > foo% more iddd.patch > foo% > > i.e. all the remnants of less's output are gone, and the screen is > restored exactly as it was before the command ran, with a new prompt > right below the one that issued the command, even if it is mid-screen. > > o after running less on freebsd the screen is not restored. i.e. the > remnants of less fill the screen with the new prompt on the bottom > line of the xterm, and the previous prompt and screen obliterated. > > i prefer the former behavior, but do not understand how to cause the freebsd > system to adopt it. [... termcap ...] > but > o replacing freebsd's with bsdi's (noting the te/ti) > o rebuilding termcap.db > o and starting a new xterm > gives me the same result. > > any clues? It is indeed the te/ti escapes. I don't know what you've done, but it was decided by many people that the use of te/ti was basically ugly (and it has some bad associated bugs) so it was disabled. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message