PDA

View Full Version : tkabber - error writing "stdout": socket is not connected


bluehz
02-12-2003, 09:43 AM
I finally got my $PATH working again in Apple-X11 so I have been creating Application menu launcher so I don't have to launch apps via xterm. I am having an issue with tkabber (Jabber chat client in tclk) when I launch from an xterm - all is well, launch from same command in Applications menu and I can not connect - I get this msg...

error writing "stdout": socket is not connected

obviously it has no stdout to write too - since it not launched from terminal ... so is there a workaround?

bluehz
04-25-2003, 11:15 PM
still having this problem - any one have any suggestions???

hayne
04-26-2003, 12:14 AM
In general, you can redirect the text that goes to 'stdout' (i.e. comes out in a Terminal window) by invoking a command-line application with a '>' and a destination filepath where you want the text to be put.
E.g.:
tkabber > /Users/myname/stuff.txt
will put the output into a new file called stuff.txt

If you don't want the output at all, you can throw it away by redirecting it to the special file "/dev/null":

tkabber > /dev/null

So try using the above command for starting it.

bluehz
04-26-2003, 01:40 AM
woohoo - thx hayne - that worked like a charm! I almost tried that too... next time I go with my gut