zsh-users
 help / color / mirror / code / Atom feed
From: "Mike Stroyan" <stroyan@gmail.com>
To: bug-bash@gnu.org, zsh-users@sunsite.dk
Subject: Re: logout from interactive subshell
Date: Thu, 12 Oct 2006 14:15:51 -0600	[thread overview]
Message-ID: <bf0039390610121315j426c07det9f5974e92ff5403a@mail.gmail.com> (raw)
In-Reply-To: <egm0db$o4k$1@sea.gmane.org>

> Very often I do the following pattern:
>
>    (1) rlogin to a foreign host
>    (2) Invoke a subshell (for example because I'm setting a Clearcase
> View)
>    (3) Logout from the host
>
> Step (3) needs two steps: First I have to type 'exit' to leave the
> subshell,
> and then either 'exit' or 'logout' to leave the login shell.
>
> Is it possible to automate this in such a way that I have to type only
> one command, to leave all subshells (in this case, only 1, but in
> general, I might be several subshells deep) AND then logout?

  This shouldn't be a shell question at all.  It is an rlogin question.
Type ~. to make rlogin to close the connection.  The shells will
all exit in response to that.  (And you can do the same with ssh,
which you should be using instead of rlogin.)

-- 
Mike Stroyan
stroyan@gmail.com


  reply	other threads:[~2006-10-12 20:18 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
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 [this message]
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=bf0039390610121315j426c07det9f5974e92ff5403a@mail.gmail.com \
    --to=stroyan@gmail.com \
    --cc=bug-bash@gnu.org \
    --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).