All of lore.kernel.org
 help / color / mirror / Atom feed
From: ibraheem umaru-mohammed <iumarumo@eidosnet.co.uk>
To: linux-c-programming@vger.kernel.org
Subject: Telnet issues
Date: Fri, 26 Jul 2002 12:43:42 +0100	[thread overview]
Message-ID: <20020726114341.GC9971@micromuse.com> (raw)

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--

             reply	other threads:[~2002-07-26 11:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-26 11:43 ibraheem umaru-mohammed [this message]
2002-07-27 15:13 ` Telnet issues Jason P. Winters
2002-07-29 18:07   ` ibraheem umaru-mohammed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020726114341.GC9971@micromuse.com \
    --to=iumarumo@eidosnet.co.uk \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.