From mboxrd@z Thu Jan 1 00:00:00 1970 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes Resent-Date: Thu, 28 Jan 1999 00:47:28 -0500 (EST) From: "Bart Schaefer" Message-Id: <990127214643.ZM31279@candle.brasslantern.com> Date: Wed, 27 Jan 1999 21:46:43 -0800 In-Reply-To: Comments: In reply to Drazen Kacar "strange xterm & zsh behaviour" (Jan 27, 11:26pm) References: X-Mailer: Z-Mail (4.0b.820 20aug96) To: Drazen Kacar , zsh-workers@math.gatech.edu Subject: Re: strange xterm & zsh behaviour MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"8d50K3.0.hF.md_hs"@math> Resent-From: zsh-workers@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Resent-Sender: zsh-workers-request@math.gatech.edu X-Mailing-List: 5077 On Jan 27, 11:26pm, Drazen Kacar wrote: } Subject: strange xterm & zsh behaviour } } I've noticed that zsh in xterm behaves very strange when I'm in OpenWindows } or failsafe session. It would help to know which version of zsh. 3.0.5? } Control keys and arrow keys don't work any } more. The shell just echos ^[[A (for example) instead of scrolling } through the history list. Ctrl-C is being echoed as ^C and the shell } doesn't prompt in a new line. Sounds like something has stomped on the tty driver settings. What do you see if you give the "stty -a" command? Is the value of $TERM the correct one? Sun OSs have a nasty habit of copying the console tty settings to all newly opened psuedo-tty devices, which is what xterm uses for I/O. In the X11R6 xterm there's even a resource, XTerm*ttyModes, added just to address this issue. Or an appropriate stty command in an init file; ksh, bash, and tcsh may even already have such commands in /etc/profile or /etc/cshrc or whatever. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com