zsh-users
 help / color / mirror / code / Atom feed
From: "Brian K. White" <brian@aljex.com>
To: <zsh-users@sunsite.dk>
Subject: Re: logout from interactive subshell
Date: Sun, 15 Oct 2006 05:23:48 -0400	[thread overview]
Message-ID: <028301c6f03b$9efb64d0$6400000a@venti> (raw)
In-Reply-To: <20061014014427.GA22643@parhelion.globnix.org>


----- Original Message ----- 
From: "Phil Pennock" <phil.pennock@globnix.org>
To: "Brian K. White" <brian@aljex.com>
Cc: <zsh-users@sunsite.dk>
Sent: Friday, October 13, 2006 9:44 PM
Subject: Re: logout from interactive subshell


> On 2006-10-13 at 08:17 -0400, Brian K. White wrote:
>> rlogin, ssh, & telnet all support an escape character similar to classic 
>> cu.
>
> I believe that Mike Stroyan already offered this one -- probably a mail
> delay somewhere holding up parts of the thread though.

The delay was just in my inbox. I read his message a few minutes after 
sending mine.

>> 2) if you are connected from host to host to host, this breaks your 
>> closest
>> connection, not your furthest one.
>
>> But if you only want to back out of your lest leg of the chain of
>> connections and not destroy the whole chain, I don't know how to do that
>> except by manually specifying a different escape character or sequence 
>> for
>> each new connection, so the the escape code for one connection gets 
>> ignored
>> and passed along as ordinary data by all the rest.
>
> Repeat the escape.
>
> If the second character is the escape character, then it's sent on as
> one character, so the second ssh process sees it.  So assuming that it's
> not been changed with EscapeChar/-e, ~. for the first, ~~. for the
> second, ~~~. for the third, etc.  For each ssh, all that matters is that
> the ~ be the first _seen_ character typed after a newline.
>
> More safely, ~? to see which escape sequences are offered, so that you
> can check it's working without logging out, or ~^Z to suspend the login.
> Knowing that one, for chained sessions, is a major productivity boost.
>
> Regards,
> -Phil

Very nice, thanks.
Should have known that. cu probably does the same.

Brian K. White  --  brian@aljex.com  --  http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro  BBx    Linux  SCO  FreeBSD    #callahans  Satriani  Filk!





  reply	other threads:[~2006-10-15  9:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Acbt2xG0TAhlYr+yQr+Yg16SvmfXSg==>
2006-10-12  8:47 ` Com MN PG P E B Consultant 3
2006-10-12  9:10   ` Mikael Magnusson
2006-10-12  9:29     ` Com MN PG P E B Consultant 3
2006-10-12  9:45       ` Peter Stephenson
2006-10-12 10:07       ` Lloyd Zusman
2006-10-12 14:58         ` Bart Schaefer
2006-10-12 22:24           ` Vincent Lefevre
2006-10-12 10:16       ` Christian Taylor
2006-10-13 12:17         ` Brian K. White
2006-10-14  1:44           ` Phil Pennock
2006-10-15  9:23             ` Brian K. White [this message]
2006-10-12 10:04   ` Vincent Lefevre
2006-10-12 10:20     ` Com MN PG P E B Consultant 3
2006-10-12 15:04       ` Bart Schaefer
2006-10-12 18:09   ` Matthew Woehlke
2006-10-12 20:15     ` Mike Stroyan
2006-10-13  6:28     ` Com MN PG P E B Consultant 3
     [not found] <jefydtsvyt.fsf@sykes.suse.de>
2006-10-12 10:08 ` Com MN PG P E B Consultant 3
     [not found] <jepscxrcvq.fsf@sykes.suse.de>
2006-10-12 12:36 ` Com MN PG P E B Consultant 3
     [not found] <20061012085526.GA6032@debian.inet>
2006-10-12 12:50 ` Com MN PG P E B Consultant 3

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='028301c6f03b$9efb64d0$6400000a@venti' \
    --to=brian@aljex.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).