Just came across a minor but irritating problem with the config file options for xterm from here:
http://www.linuxfromscratch.org/blfs...e/x/xterm.html
It's this
Code:
cat >> /etc/X11/app-defaults/XTerm << "EOF"
*VT100*locale: true
*VT100*faceName: Monospace
*VT100*faceSize: 10
*backarrowKeyIsErase: true
*ptyInitialErase: true
EOF
If you use "*VT100*locale: true" redirecting output from a command supplied to xterm vi the -e switch results in an error eg
Code:
term -hold -e 'echo "XXXX"|tee /tmp/data'
You will get an error saying "Couldn't exec: No such file or directory" and the file /tmp/data is not created.
Commenting out or removing "*VT100*locale: true" makes everything work as expected, doesn't matter if you use a pipe or redirect using '>', the same thing happens.
I know xterm is quite old and most people would use a more modern terminal.
Just an FYI