help / color / mirror / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: TJ Luoma <luomat@gmail.com>
Cc: Zsh MailingList <zsh-users@zsh.org>
Subject: Re: up-arrow for history 'broken' after ssh
Date: Tue, 28 Jul 2020 17:48:55 -0700
Message-ID: <CAH+w=7YX=yzxjBRiC9piGv37QYB9ocjg-U0G7_ySyegJLLLFDw@mail.gmail.com> (raw)
In-Reply-To: <CAN=4vMqkgmwqgH5+4rArHdUfnqvsaKYG+cOHEptexF_WcoXg0w@mail.gmail.com>

On Tue, Jul 28, 2020 at 10:43 AM Roman Perepelitsa
<roman.perepelitsa@gmail.com> wrote:
> On Tue, Jul 28, 2020 at 2:39 PM TJ Luoma <luomat@gmail.com> wrote:
> >
> > However, when I ssh from my Mac to a Linux machine [...]
> > and then exit ssh, my 'up arrow' goes back one at a time
> There are several ways to fix this.

4. (Assumes ssh starts a login shell) Change terminal mode back to raw
in ~/.zlogout on the remote machine
5. Create a script to set as the ProxyCommand in your .ssh/config that
resets the terminal mode after ssh exits

      reply	other threads:[~2020-07-29  0:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28 12:37 TJ Luoma
2020-07-28 17:16 ` Lewis Butler
2020-07-28 17:42 ` Roman Perepelitsa
2020-07-29  0:48   ` Bart Schaefer [this message]

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:

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

  git send-email \
    --in-reply-to='CAH+w=7YX=yzxjBRiC9piGv37QYB9ocjg-U0G7_ySyegJLLLFDw@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=luomat@gmail.com \
    --cc=zsh-users@zsh.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link


This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/zsh-users

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-users zsh-users/ http://inbox.vuxu.org/zsh-users \
	public-inbox-index zsh-users

Example config snippet for mirrors.
Newsgroup available over NNTP:

code repositories for the project(s) associated with this inbox:


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git