in reply to Re: Re: Re: Re: (OT): .inputrc mapping PC keyboard to sensible set vi or set emacs functions.
in thread (OT): .inputrc mapping PC keyboard to sensible set vi or set emacs functions.

I can't find a way to resume the current session when my isp drops the ball.
This is not Putty's problem -- it's your ISP's. Linux SSH won't auto resume either, nor should it... you are essentially logging out once that connection dies.

PuTTY is a great app since it comes from the OpenSSH folks. If you really want it to work better, I'd try SSH from Linux when your terminal/input probably won't suck so badly -- but I have never heard anyone complain about PuTTY. Admittedly, SSH on Windows is slower than on Linux (esp with SFTP), but that's not too bad.

  • Comment on Re: Re: Re: Re: Re: (OT): .inputrc mapping PC keyboard to sensible set vi or set emacs functions.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: (OT): .inputrc mapping PC keyboard to sensible set vi or set emacs functions.
by BrowserUk (Patriarch) on Mar 05, 2004 at 13:51 UTC

    First off, you missed the point. My ISP drops the connection every 2 hours. It is part of the contract. If I lived 3/4 km closer to the local telephone exchange, I could get an ADSL line and not have that problem. Moving the house closer isn't an option. I'm unfortunately stuck with dialup until the local satalitte broadband isp gets enough sign-ups to make it worth his investment.

    But, as annoying as that is, that wasn't the problem I was identifying with putty. The problem is that when a putty session ends for whatever reason, the window sits there dead. I cannot ask it to re-connect. The best I can do is ask it to duplicate the session, which starts another window leaving the old one redundant on the desktop. Why it doesn't have a re-connect option eludes me. It would also be nice to be able to configure it to remember the userid for each host, save me re-typing that, but I can't find an option for this.

    On the upside, I have discovered a solution to the ISP problem. A utility called 'screen', which is a kind of window manager for console sessions. Besides all the neat features of allow you to switch between several active sessions, leaving the programs running there running and capturing the scrollback for you. It's neatest trick is that if the connection is severed, when you reconnect, one command 'screen -x', and you are right back where you left off. No need to remember to nohup your long running commands. No need for multiple putty sessions. ^AC starts a new session. ^A^A switces between the last two. Lots of other nice stuff. Now, If I could only map ^A^A to ^TAB, I'd be laughing:)


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail