Public bug reported:

Binary package hint: gnome-terminal

(I checked for bugs filed on gnome-terminal in Launchpad that might
match this but couldn't find any.  Sorry if it's a dupe.)

While using gnome-terminal today I was surprised when what was once in
my terminal buffer was replaced with the contents of another terminal
(which based on my hazy recollection had already been closed).  The end
result looked like this:

      [EMAIL PROTECTED]:~/dev/manage$ cd app
      [EMAIL PROTECTED]:~/dev/manage/app$ fgrep -r valid_order_number * | grep 
-v svn | less
      [EMAIL PROTECTED]:~$ man -k uid
      DBI::DBD (3pm)       - Perl DBI Database Driver Writer's Guide
      fdutilsconfig (8)    - configure the suid bit of fdmount
      findfs (8)           - Find a filesystem by label or UUID
      geteuid (2)          - get user identity
      getpwuid (3)         - get password file entry
      getpwuid_r (3)       - get password file entry
      getresuid (2)        - get real, effective and saved user or group ID
      getuid (2)           - get user identity
      LDP (7)              - Intro to the Linux Documentation Project, with 
help, guides and documents
      mdoc (7)             - quick reference guide for the -mdoc macro package
      rrd-beginners (1)    - RRDtool Beginners' Guide
      seteuid (2)          - set effective user or group ID
      setfsuid (2)         - set user identity used for file system checks
      setresuid (2)        - set real, effective and saved user or group ID
      setreuid (2)         - set real and/or effective user or group ID
      setuid (2)           - set user identity
      Template::Manual (3pm) - User guide and reference manual for the Template 
Toolkit
      update-rcconf-guide (8) - Create default guide file for rcconf
      uuid (3)             - DCE compatible Universally Unique Identifier 
library
      uuid_clear (3)       - reset value of UUID variable to the NULL value
      uuid_compare (3)     - compare whether two UUIDs are the same
      uuid_copy (3)        - copy a UUID value
      uuid_generate (3)    - create a new unique UUID value
      uuid_generate_random (3) - create a new unique UUID value
      uuid_generate_time (3) - create a new unique UUID value
      uuid_is_null (3)     - compare the value of the UUID to the NULL value
      uuid_parse (3)       - convert an input UUID string into binary 
representation
      uuid_time (3)        - extract the time at which the UUID was created
      uuid_unparse (3)     - convert an UUID from binary representation to a 
string
      uuidgen (1)          - command-line utility to create a new UUID value
      vol_id (8)           - probe filesystem type and read label and uuid
      [EMAIL PROTECTED]:~$
      [EMAIL PROTECTED]:~$
      [EMAIL PROTECTED]:~$
      [EMAIL PROTECTED]:~$
      [EMAIL PROTECTED]:~$ history|tail
        494  vi <somefile>
        495  mprodb
        496  finger
        497  ssh <hostomitted>
        498  ssh <hostomitted>
        499  ssh -vvv <hostomitted>
        500  ssh <hostomitted>
        501  man geteuid
        502  man -k uid
        503  history|tail
      [EMAIL PROTECTED]:~$

Note that the following commands at the top of the paste aren't in the
output of 'history|tail':

      [EMAIL PROTECTED]:~/dev/manage$ cd app
      [EMAIL PROTECTED]:~/dev/manage/app$ fgrep -r <STRINGOMITTED> * | grep -v 
svn | less

For the combination of history output and terminal buffer output to make
sense, command 501 should have been 'fgrep -r <STRINGOMITTED> * | grep
-v svn | less' and command 500 should have been 'cd app'.

Before the change in the buffer, the line:

  [EMAIL PROTECTED]:~$ man -k uid

originally was preceded by the line:

  [EMAIL PROTECTED]:~$ man geteuid

On the remote system, this command normally leaves the following output
in my buffer:

  [EMAIL PROTECTED]:~$ man geteuid
  Reformatting geteuid(2), please wait...
  [EMAIL PROTECTED]:~$

The version of man on the remote system uses less as its pager by
default, I think.  If it's important to verify that, I will.  (Just let
me know how to verify it.)  When in the pager, hitting 'q' causes the
TTY to redraw.  I suspect the redraw event itself brought about the
problem.  Running man or less on the remote host over and over doesn't
reproduce the problem.

I installed Ubuntu 8.04 Friday morning (California time) and this is the
second time this has happened.  I didn't believe my eyes the first time
it happened, but the second time around I wasn't able to dismiss it as a
glitch in the Matrix.

Local system info:

  The local system running gnome-terminal is a Thinkpad X60s with Ubuntu 8.04.
  Was originally Gutsy Gibbon.  I used the update manager's dist upgrade 
feature to migrate to 8.04.

  [EMAIL PROTECTED]:~$ lsb_release -rd
  Description:  Ubuntu 8.04
  Release:      8.04
  [EMAIL PROTECTED]:~$ apt-cache policy gnome-terminal
  gnome-terminal:
    Installed: 2.22.1-0ubuntu2
    Candidate: 2.22.1-0ubuntu2
    Version table:
   *** 2.22.1-0ubuntu2 0
          500 http://ftp.usf.edu hardy/main Packages
          100 /var/lib/dpkg/status
  [EMAIL PROTECTED]:~$ uname -a
  Linux phoenix 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 
GNU/Linux
  [EMAIL PROTECTED]:~$ free
               total       used       free     shared    buffers     cached
  Mem:       2066500    1843820     222680          0     204392     893308
  -/+ buffers/cache:     746120    1320380
  Swap:      3229024          0    3229024
  [EMAIL PROTECTED]:~$ uptime
   23:33:07 up 1 day, 20:20,  5 users,  load average: 0.21, 0.26, 0.16
  [EMAIL PROTECTED]:~$ ps auxw|grep gnome-terminal
  chase    22651  0.0  2.0 122856 41920 ?        Sl   Apr25   1:38 
gnome-terminal --geometry 80x30
  chase    30400  0.0  0.0   3008   776 pts/1    S+   23:33   0:00 grep 
gnome-terminal
  [EMAIL PROTECTED]:~$ dpkg -l gnome-terminal
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
  |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
  ||/ Name           Version        Description
  +++-==============-==============-============================================
  ii  gnome-terminal 2.22.1-0ubuntu The GNOME 2 terminal emulator application
  [EMAIL PROTECTED]:~$ gnome-terminal --version
  GNOME gnome-terminal 2.22.1

Remote system info:

  [EMAIL PROTECTED]:~/dev/manage$ cat /etc/debian_version 
  4.0
  [EMAIL PROTECTED]:~/dev/manage$ man -V
  man, version 2.4.3, 2005-07-03
  [EMAIL PROTECTED]:~/dev/manage$ which less
  /usr/bin/less
  [EMAIL PROTECTED]:~/dev/manage$ less -V
  less 394
  Copyright (C) 1984-2005 Mark Nudelman

** Affects: gnome-terminal (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gnome terminal scrollback buffer changed unexpectedly
https://bugs.launchpad.net/bugs/222937
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to