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

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.