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

Bug#1031837: uxterm: -e option does not set title



Package: xterm
Version: 378-1
Severity: minor
Tags: patch

The -e option of uxterm does not set the title of the window, it is overridden
to be "uxterm". This is not consistent with xterm, which does set the title.
The attached patch fixes this, with the side-effect that the title will default
to "xterm" rather than "uxterm" when the -e option is not used.


diff --git a/uxterm b/uxterm
index 25c6f5f..fefecee 100755
--- a/uxterm
+++ b/uxterm
@@ -146,4 +146,4 @@ fi
 # for testing:
 #test -f ./xterm && XTERM_PROGRAM=./xterm
 
-exec "$XTERM_PROGRAM" -class UXTerm -title "$whoami" -u8 "$@"
+exec "$XTERM_PROGRAM" -class UXTerm -u8 "$@"



-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-3-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xterm depends on:
ii  libc6           2.36-8
ii  libfontconfig1  2.14.1-4
ii  libfreetype6    2.12.1+dfsg-4
ii  libice6         2:1.0.10-1
ii  libtinfo6       6.4-2
ii  libutempter0    1.2.1-2
ii  libx11-6        2:1.8.3-3
ii  libxaw7         2:1.0.14-1
ii  libxext6        2:1.3.4-1+b1
ii  libxft2         2.3.6-1
ii  libxinerama1    2:1.1.4-3
ii  libxmu6         2:1.1.3-3
ii  libxpm4         1:3.5.12-1.1
ii  libxt6          1:1.2.1-1
ii  xbitmaps        1.1.1-2.2

Versions of packages xterm recommends:
ii  x11-utils  7.7+5

Versions of packages xterm suggests:
pn  xfonts-cyrillic  <none>

-- no debconf information
diff --git a/uxterm b/uxterm
index 25c6f5f..fefecee 100755
--- a/uxterm
+++ b/uxterm
@@ -146,4 +146,4 @@ fi
 # for testing:
 #test -f ./xterm && XTERM_PROGRAM=./xterm
 
-exec "$XTERM_PROGRAM" -class UXTerm -title "$whoami" -u8 "$@"
+exec "$XTERM_PROGRAM" -class UXTerm -u8 "$@"

Reply to: