From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13473 invoked by alias); 1 Apr 2011 10:07:49 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15910 Received: (qmail 12324 invoked from network); 1 Apr 2011 10:07:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at biskalar.de does not designate permitted sender hosts) From: Sebastian Stark Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: signal handling via ssh Date: Fri, 1 Apr 2011 11:27:14 +0200 Message-Id: <19DA6B3D-8C10-4743-BA15-39EDAE324342@biskalar.de> To: zsh-users Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) 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=