From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7837 invoked from network); 4 Aug 2003 20:03:03 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 4 Aug 2003 20:03:03 -0000 Received: (qmail 29826 invoked by alias); 4 Aug 2003 20:02:52 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6451 Received: (qmail 29815 invoked from network); 4 Aug 2003 20:02:52 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 4 Aug 2003 20:02:52 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [66.93.131.57] by sunsite.dk (MessageWall 1.0.8) with SMTP; 4 Aug 2003 20:2:51 -0000 Received: from lorien.emufarm.org (localhost [127.0.0.1]) by lorien.emufarm.org (8.12.7/8.12.7) with ESMTP id h74FakCO032095 for ; Mon, 4 Aug 2003 08:36:46 -0700 Received: (from duvall@localhost) by lorien.emufarm.org (8.12.7/8.12.7/Submit) id h74FakqR032094 for zsh-users@sunsite.dk; Mon, 4 Aug 2003 08:36:46 -0700 Date: Mon, 4 Aug 2003 08:36:46 -0700 From: Danek Duvall To: ZSH User List Subject: Re: [6433] interactive shell with ssh Message-ID: <20030804153646.GA32046@lorien.emufarm.org> Mail-Followup-To: Danek Duvall , ZSH User List References: <20030804111148.GA5224@spiegl.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030804111148.GA5224@spiegl.de> User-Agent: Mutt/1.5.4i On Mon, Aug 04, 2003 at 01:11:48PM +0200, Andy Spiegl wrote: > xterm -e ssh -l root $somehost "apt-get update; apt-get upgrade; echo 'Press ENTER to close'; read" > > After I found a solution to that (using zshenv) I next noticed that > "dialog" doesn't work either because TERM is not set and because zsh > thinks there is no tty. Have you tried "ssh -t"? That makes the remote end allocate a TTY (so you can do "ssh -t vi", for instance), and it also sets the TERM variable on the remote end. Danek