#554872 less shows last viewed file above current file

Package:
libvte9
Source:
vte
Description:
Terminal emulator widget for GTK+ 2.0 - runtime files
Submitter:
Norbert Preining
Date:
2014-10-18 22:03:04 UTC
Severity:
normal
#554872#5
Date:
2009-11-06 23:58:40 UTC
From:
To:
Since the last update, if you less  a-short-file, above the display
of the short file the last file shown before a-short-file is shown,
without *any* indication about file borders

$ cat a
First short file
really short
$ cat b
Second short file
again really short
$ less a
<quit>
$ less b
<quit>
$ less b

I get the following screen:
/---------------------------
| ~
| ~
| ~
| ~
| First short file
| really short
| Second short file
| again really short
| Second short file
| again really short
| b (END)
\--------------------
The upper part are the empty lines shown as
	~
by less, then comes the content of a, then the first time b, and a second
time b.

That can of course be overridden with
	-c
but if I set
	LESS=-c; export LESS
then calling
	less -X bla
does not work anymore, since -c seems to take precendence over -X.

That behaviour with showing old files was not present until recently, and
I think that might have additional problems, too.

Please inquire/fix/comment.

Thanks a lot

Norbert

#554872#10
Date:
2009-11-08 22:45:50 UTC
From:
To:
Norbert Preining wrote:

Hi,

I'm guessing you're using gnome-terminal? I had the same issue on Arch
Linux for about a week now and it was extremely annoying! It went away
with today's update of vte to 0.22.4.

See the following commit which reverts the change that most likely
introduced this bug in vte 0.22.3:

http://git.gnome.org/cgit/vte/commit/?id=9120f5ebfb9da0d74698f187ebb3046877b48c19

Cheers.

#554872#15
Date:
2009-11-09 00:41:02 UTC
From:
To:
reassign 554872 libvte9
tags 554872 fixed-upstream patch
thanks


Thanks, exactely. I am reassigning that to libvte9.

I attach also a debdiff.patch that I used to build a tmp version of the
package with this patch included, and I can confirm that it fixes the
problem.

Maintainers of vte, please included ASAP.

Best wishes

Norbert
------------------------------------------------------------------------------- Dr. Norbert Preining Associate Professor JAIST Japan Advanced Institute of Science and Technology preining@jaist.ac.jp Vienna University of Technology preining@logic.at Debian Developer (Debian TeX Task Force) preining@debian.org gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- VANCOUVER (n.) The technical name for one of those huge trucks with whirling brushes on the bottom used to clean streets. --- Douglas Adams, The Meaning of Liff