Re: Sun xterm wont disable echo via ANSI ESC Seq



In article <23aa437a-fdd5-4fd6-ab3b-a8248e6631e7@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
smith.jeffreyb@xxxxxxxxx writes:
Well I "kindve" figured this, but this is a detached server I'm
connecting to a remote host.
I tried setting the echo off with a tcsetattr() call but its a socket
(fd) connection not a tty.
At this point it probably obvious I know just enough to be dangerous.

I have the general server-side pseudo code
socket_fd = accept()
.............................
I cant do a tcsetattr on a socket.
How do I establish a tty? Do I establish a pty (pseudo tty)?
I have no idea how to get to a tty-like connection from a socket.
It must be easy since telnet, ftp clients all have to do this --
right?
I read the Stevens book but it's pretty hazy on this.

You need to run a protocol over the socket connection which implements
terminal operations, such as telnet at the simplest level.
(Having said that, finding telnet clients that handle no-echo in line
mode is rather a challenge, given how few telnet server sides support
line mode.)

--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]
.



Relevant Pages

  • microsoft telnet
    ... I'm wanting to communicate via telnet to a proprietary system called ... connection via the script interfaces of some of these telnet clients ... ActiveX-Control Socket called "Catalyst SocketWrench". ... kind of more direct than when established via the Socket out of VBA, ...
    (microsoft.public.windowsxp.network_web)
  • Stream question
    ... I have a connected Socket object and I call: ... Even after the connection is closed, ... I'm connecting to the socket through telnet. ...
    (comp.lang.java)
  • Re: Stream question
    ... Even after the connection is closed, ... I'm connecting to the socket through telnet. ... Never mind, I found the problem... ...
    (comp.lang.java)
  • [PATCH 0/5] [RFC] AF_RXRPC socket family implementation [try #3]
    ... These patches together supply secure client-side RxRPC connectivity as a Linux ... kernel socket family. ... presentation side is left to the client. ... Each connection goes to a particular "service". ...
    (Linux-Kernel)
  • [PATCH 0/5] [RFC] AF_RXRPC socket family implementation
    ... These patches together supply secure client-side RxRPC connectivity as a Linux ... Make it possible for the client socket to be used to go to more than one ... Each connection goes to a particular "service". ...
    (Linux-Kernel)