concurrent telnet output processing

thufir hawat.thufir at gmail.com
Thu Sep 5 05:14:07 UTC 2013


On Wed, 04 Sep 2013 21:57:14 -0700, Smoot Carl-Mitchell wrote:

> On Thu, 2013-09-05 at 03:39 +0000, thufir wrote:
>> Is it possible to pipe a telnet client so that, concurrently, remote
>> output is concurrently logged to a file and displayed on the terminal?
> 
> Try "script".  It saves a terminal session to a file.

it doesn't write to the file concurrently.  Most output doesn't show up 
until you end the script.  That's the trick, to do it concurrently.  The 
only way I could think of would be to use threads...


-Thufir





More information about the ubuntu-users mailing list