linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Telnet issues
@ 2002-07-26 11:43 ibraheem umaru-mohammed
  2002-07-27 15:13 ` Jason P. Winters
  0 siblings, 1 reply; 3+ messages in thread
From: ibraheem umaru-mohammed @ 2002-07-26 11:43 UTC (permalink / raw)
  To: linux-c-programming

This is a shot in the dark...am having some *solaris* issues and was
just hoping someone might spot something that i am missing...

Basically, telnet seems to work differently when given
an IP address to when it is given a hostname?

Basically, we have a problem where we attempt to spawn a shell to start
xterm with telnet as the command...when a hostname is specified, telnet
establishes contact, but for some reason is started up in
SINGLE_CHARACTER_MODE. When an IP address is specified, telnet is
started in LINE_MODE. 

We get the following when started in SINGLE_CHARACTER_MODE:

			--cut here--
Trying 193.131.98.222...
Connected to springfield.
Escape character is '^]'.
			--cut here--

And it just hangs there. The command we are trying to issue in C is:

execl("/bin/sh", "sh", "-c", "xterm -e /bin/sh -c 'telnet springfield'", (char *)0);

Anyone have any ideas?

Kindest regards,

			--ibs.

-- 
			ibraheem umaru-mohammed
			   www.micromuse.com
			         --0--

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-29 18:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-26 11:43 Telnet issues ibraheem umaru-mohammed
2002-07-27 15:13 ` Jason P. Winters
2002-07-29 18:07   ` ibraheem umaru-mohammed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).