Moving a process to another terminal

2009-03-21, Categories: unix, coding, tty

I've always wanted to be able to move a process from one terminal to another. For example if I've started a long-running foreground process (such as irssi or scp) outside of a screen and I have to log out my local terminal. I looked around and there doesn't seem to be any way to do this.

Read the rest of this entry »

Buffering in pipes

2008-06-28, Categories: tty, unix, coding, ind

I'm trying to force a program not to buffer its output to stdout. Any program, all programs. It can't involve changing the source code or depending on weird or unportable stuff.

It should be possible. It seems like I'm missing something obvious, but I can't figure out what.

Read the rest of this entry »