XTerm verschluckt die Env.-Variable TMPDIR (was: $TMPDIR funktioniert unter x-window/fvwm nicht mehr)
Michelle Konzack:
Teil der Konfiguration des Windowmanagers fvwm:
woody:
>*ButtonBar1: (Icon 32x32.xterm.xpm, Action 'Exec xterm -geometry 92x29+0+150 -fn 10x20 -title "xterm" -name "xterm" -n "xterm" -bg blue -fg white -sb -sl 8192 &')
>*ButtonBar1: (Icon 32x32.filemgr.xpm, Action 'Exec xterm -geometry 94x29+0+150 -fn 10x20 -title "Midnight Commander" -name "mc" -n "mc" -e /usr/bin/mc &')
>*ButtonBar1: (Icon 32x32.mutt.xpm, Action 'Exec xterm -geometry 80x28+0+170 -fn 10x20 -title "mutt" -name "mutt" -n "mutt" -e /usr/bin/mutt &')
sarge:
>*ButtonBar1: (Icon 32x32.xterm.xpm, Action 'Exec xterm -geometry 92x29+0+150 -fn 10x20 -title "xterm" -name "xterm" -n "xterm" -bg blue -fg white -sb -sl 8192 &')
>*ButtonBar1: (Icon 32x32.filemgr.xpm, Action 'Exec xterm -geometry 94x29+0+150 -fn 10x20 -title "Midnight Commander" -name "mc" -n "mc" -e /bin/bash -l -c /usr/bin/mc &')
>*ButtonBar1: (Icon 32x32.mutt.xpm, Action 'Exec xterm -geometry 80x28+0+170 -fn 10x20 -title "mutt" -name "mutt" -n "mutt" -e /bin/bash -l -c /usr/bin/mutt &')
>Do you see it?
>the first line is the same as the line under Wooody and it
>works. But xterm called for "mc" and "mutt" does not work
>and need additionaly "/bin/bash -l -c ..."
>Was sagste jetzt dazu?
Bekannt. Xterm in sarge verschluckt die Environmentvariable
TMPDIR. Allerdings weiß ich nichts davon, dass das nicht
auftreten soll, wenn man das Xterm "automatisch" ein "$SHELL"
starten lässt, sondern nur, wenn man mit -e program [ arg ]...
ein Programm angibt.
Abhilfe: mit dem Programm env die Belegung dieser Variablen in
das von xterm gestartete Programm hineinreichen:
xterm -e env TMPDIR="$TMPDIR" "$SHELL"
bzw.
xterm -e env TMPDIR="$TMPDIR" mutt
--
Bitte in die Adressierung auch meinen|Please put my full name also into
Vor- u. Nachnamen stellen z.B. |the recipient like
Friedhelm Waitzmann <xxx@example>, (Friedhelm Waitzmann) xxx@example,
"Waitzmann, Friedhelm" <xxx@example>
Reply to: