Bug#326825: Fix for gnome-terminal.wrapper's -e breakage

Tim Baverstock warwick at sable.demon.co.uk
Tue Sep 6 00:13:34 UTC 2005


Package: gnome-terminal
Version: 2.8.2-2
Severity: important


The -e option in gnome-terminal.wrapper correctly glues @ARGV into
@args, but then incorrectly continues trying to process the arguments
it's just glued in.

The fix is to add 'last' as follows:

elsif ($opt eq '-e')
{
    push(@args, '-x', @ARGV);
    last;   # Add this so -e works
}

I think this may fix some of the other bugs reported, but I know it
fixes mine.

Regards,

Tim

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.18.20040523
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gnome-terminal depends on:
ii  gnome-control-center     1:2.8.2-3       The GNOME Control Center for GNOME
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libbonobo2-0             2.8.1-2         Bonobo CORBA interfaces library
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libgconf2-4              2.8.1-6         GNOME configuration database syste
ii  libglade2-0              1:2.4.2-2       library to load .glade files at ru
ii  libglib2.0-0             2.6.4-1         The GLib library of C routines
ii  libgnome2-0              2.8.1-2         The GNOME 2 library - runtime file
ii  libgnomeui-0             2.8.1-3         The GNOME 2 libraries (User Interf
ii  libgtk2.0-0              2.6.4-3         The GTK+ graphical user interface 
ii  liborbit2                1:2.12.2-1      libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.8.1-1         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libstartup-notification0 0.8-1           library for program launch feedbac
ii  libvte4                  1:0.11.12-1     Terminal emulator widget for GTK+ 
ii  libx11-6                 4.3.0.dfsg.1-14 X Window System protocol client li
ii  scrollkeeper             0.3.14-10       A free electronic cataloging syste
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu

-- no debconf information





More information about the Pkg-gnome-maintainers mailing list