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

Bug#354293: document uxterm -e su workarounds on uxterm man page



On Wed, 22 Feb 2006, Dan Jacobson wrote:

Package: xterm
Version: 6.8.2.dfsg.1-11
Severity: minor

I can do
$ xterm -e su
fine, but
$ uxterm -e su
just seems to be like
$ uxterm -e cat

This seems to work for me - but I'm using current xterm (patch #209).

At the moment I don't recall any fixes in that area, so #209 may break
for you if your configuration is different from mine in some unexpected
way.

P.S., add a comment in /usr/X11R6/bin/uxterm
on what
locale=`(LC_ALL=C LC_CTYPE=C LANG=C locale >/dev/null) 2>&1`
is supposed to do.  Is it like just plain "locale="?
This will, by the way, screw up if one does
$ sh -x /usr/X11R6/bin/uxterm

The current script reads

# Check if there is a workable locale program.  If there is not, we will read
# something via the standard error.  Ignore whatever is written to the
# standard output.
locale=`sh -c "LC_ALL=C LC_CTYPE=C LANG=C locale >/dev/null" 2>&1`
found=no


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



Reply to: