Go Back   The macosxhints Forums > OS X Help Requests > UNIX - X11



Reply
 
Thread Tools Rate Thread Display Modes
Old 02-12-2003, 08:43 AM   #1
bluehz
MVP
 
Join Date: Jan 2002
Posts: 1,562
tkabber - error writing "stdout": socket is not connected

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 is offline   Reply With Quote
Old 04-25-2003, 10:15 PM   #2
bluehz
MVP
 
Join Date: Jan 2002
Posts: 1,562
still having this problem - any one have any suggestions???
bluehz is offline   Reply With Quote
Old 04-25-2003, 11:14 PM   #3
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 31,935
redirect stdout

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.
hayne is offline   Reply With Quote
Old 04-26-2003, 12:40 AM   #4
bluehz
MVP
 
Join Date: Jan 2002
Posts: 1,562
woohoo - thx hayne - that worked like a charm! I almost tried that too... next time I go with my gut
bluehz is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 05:52 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.