Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
signal handling via ssh
- X-seq: zsh-users 15910
- From: Sebastian Stark <seb-zsh@xxxxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxx>
- Subject: signal handling via ssh
- Date: Fri, 1 Apr 2011 11:27:14 +0200
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Dear list,
I have a question that is maybe off-topic, so please forgive me if it turns out that this is not at all zsh or even shell-related.
If I do the following:
ssh -t $server "less /var/log/syslog; exec \$SHELL -l"
end then press 'q' I end up on $server in a login shell. That's what I want.
However, If I do this:
ssh -t $server "less +F /var/log/syslog; exec \$SHELL -l"
and press '^C' I'm logged off from $server. The '^C' does not seem to go through to only the less process.
How can I achieve something like the above but such that ^C does not end the ssh connection?
Thanks for any help.
Sebastian
Messages sorted by:
Reverse Date,
Date,
Thread,
Author