On 24 August, 2017 - C.v.St. wrote: > > > Am 23.08.2017 um 09:09 schrieb john hood: > > On 8/20/17 4:37 PM, C.v.St. wrote: > ... > > If your mosh-client dies (by your machine crashing, or running out of > > battery), the mosh-server continues to run and the session and programs > > in it should be unaffected-- you just can't reach the terminal session > > any more. I think of that as "alive but lost". > > Would it be possible, to implement a kind of > 'dump current state of terminal > to file' > by e.g SIGUSR1 (or only in case of ending > the server by Signals 1,15)? That would > show at least the last state of the lost > session's terminal? Or would this have too > many security implications (write where, > write when, how to set the filename ...)?
One could just implement this as a function, dump_screen_to_file(filename) and then the advanced user can just attach a debugger to the running mosh-server and that way instruct it do do its bidding. I can clearly see the use case for such a easter egg. //Anton -- Anton Lundin +46702-161604 _______________________________________________ mosh-users mailing list mosh-users@mit.edu http://mailman.mit.edu/mailman/listinfo/mosh-users