Bug 8689 - gnome-terminal plays poorly with less(1)
Summary: gnome-terminal plays poorly with less(1)
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gnome-core
Version: 6.1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Havoc Pennington
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-01-21 02:36 UTC by Stig Hackvan
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2000-02-03 19:19:51 UTC

Attachments (Terms of Use)

Description Stig Hackvan 2000-01-21 02:36:46 UTC
on a gnome-terminal, if you 'less' a small file, you get a screenful of
rubbish from the last program to use the alternate screen image (the last
invocation of less, for instance).

if you do the same thing on an xterm, the alternate screen is not used and
you can see that the file is short because the prompt doesn't roll off the
screen...you have context.

the behavior of less is severely broken on gnome-terminal.

gnome terminal should either behave like xterm (it says it's an xterm) or
it should have a different term{cap,info} entry...

Comment 1 Havoc Pennington 2000-02-03 19:19:59 UTC
I don't get a screenful of rubbish in the latest stuff, though the behavior is
somewhat different
(gnome-terminal clears the screen before entering less, xterm does not).
Either behavior is sane though so I think a separate terminfo entry
would just be inconvenient. Will reopen the bug if I can reproduce
the rubbish.

Note You need to log in before you can comment on or make changes to this bug.