Comment 3 for bug 120866

Revision history for this message
andrew (ahn567) wrote :

I can verify that I get the same "pty errors" for Debian Etch (Konsole 1.6.5 on KDE 3.5.5) using the example...

konsole --noclose -e "echo hello"

However, the problem is that the command must not be inside quotes (which is why -e must be the last option).
So this works as expected...

konsole --noclose -e echo hello

This is NOT nice because xterm does allow the command to be enclosed in quotes, and is therefore more powerful.
For example, both of these work...

xterm -e less fred
xterm -e "less fred"

This means that you can do things like this to look at the gzipped file fred.gz in a new window...

xterm -e "gunzip -c fred.gz | less"

But without the quotes the -e refers only to the gunzip and the output from the xterm statement is piped into less (not what you want!).
In otherwords, neither of these work as desired (no errors though)...

xterm -e gunzip -c fred.gz | less
konsole -e gunzip -c fred.gz | less