nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] where is this bug? git, less, terminal, ...?


From: Benno Schulenberg
Subject: [Nano-devel] where is this bug? git, less, terminal, ...?
Date: Fri, 03 Jun 2016 09:55:10 +0200

Hi all,

(Something that doesn't have anything to do with nano, but I
can (for now) only reproduce it with nano's git repo, so...)

Set your virtual terminal to have 35 lines (the width does not
seem to matter; 80, 90, 100 will do).  Then close and restart
the terminal.  Verify that it has 35 lines with 'stty size'.

Then cd to your nano repo, and do 'git log -p -1 286b6a90'.
Type the spacebar three times; it is now at the end of the
diff.  Keep your eyes on the first three lines of the window,
then type <Up>.  The lines that said

 #ifndef DISABLE_TABCOMP
                TRUE,

have disappeared.  Absurd.

Type Q, run the same git log command again, type <Space>
three times, type <Up>... the lines stay.  Strangely, lines
go missing only the first time when running less (less is
being used as a pager here for git) in a fresh terminal.

I can reproduce this on two different machines, using an
Xfce4 or Gnome terminal.  I cannot reproduce this on xterm,
so the suspicion is that this is a VTE bug.

(The missing lines are more spectacular when your terminal
is 55 lines long -- use the same git log command, hit the
spacebar once, and <Up>.)

Anyone who can reproduce this?

Benno



-- 
http://www.fastmail.com - Access all of your messages and folders
                          wherever you are




reply via email to

[Prev in Thread] Current Thread [Next in Thread]