Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Nov 1998 00:10:38 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Randy Bush <randy@psg.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: screen not restored on exit of (less|more|vi|.*) 
Message-ID:  <199811020810.AAA08861@dingo.cdrom.com>
In-Reply-To: Your message of "Sun, 01 Nov 1998 20:56:30 PST." <m0zaC2Y-0008G3C@rip.psg.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811020810.AAA08861>