The TTY demystified (2008)

By kjeetgill - a day ago

Showing first level comment(s)

Anyone work with TTYs much? It's something that comes up from time to time and I think I always come away with a 70% understanding.

Say I have a server process and I want to be able to netcat onto an open port and have it expose a shell like experience. History, line editing, scrollback etc. I know ssh accomplishes it somehow, but it gets a local and remote process in between me an the remote bash process to set up some tty/pty magic.

What would I need to do to get something similar working?

kjeetgill - 6 hours ago