From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21389 invoked from network); 9 Jul 1997 16:41:19 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 9 Jul 1997 16:41:19 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id MAA08610; Wed, 9 Jul 1997 12:32:48 -0400 (EDT) Resent-Date: Wed, 9 Jul 1997 12:31:18 -0400 (EDT) From: "Bart Schaefer" Message-Id: <970709093522.ZM11927@candle.brasslantern.com> Date: Wed, 9 Jul 1997 09:35:22 -0700 In-Reply-To: <9707091143.AA38646@tchibm3.chemie.uni-karlsruhe.de> Comments: In reply to marcok@tchibm3.chemie.uni-karlsruhe.de (Marco Kattannek) "re: backward-word with hpterm?" (Jul 9, 1:44pm) References: <9707091143.AA38646@tchibm3.chemie.uni-karlsruhe.de> X-Mailer: Z-Mail (4.0b.820 20aug96) To: marcok@tchibm3.chemie.uni-karlsruhe.de (Marco Kattannek), zsh-users@math.gatech.edu (zsh) Subject: Re: backward-word with hpterm? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"J8Bci.0.U52.Lpxmp"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/942 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Jul 9, 1:44pm, Marco Kattannek wrote: } Subject: re: backward-word with hpterm? } } Marco Kattannek typed: } :I can not use the curser-keys for zsh-line-editing in a hpterm. ^B and } :^F do work, but the curser-keys confuse everything. Is this a limitation } :( feature ? ) of the hpterm. Can I change the zsh-behaviour? } :Or do I have to change the stty's? } :I suppose that I can do nothing about it, except not using hpterms. } :Therefor I stoped searching for a solution, and ask this cuestion in this } :list. } } Marco> What I see is -> } Marco> cp this-is-a-file this-is-going-to- -a-file } Marco> When I execute the command, and look at it with the command-history } Marco> I see this -> } Marco> cp this-is-a-file this-is-going-to-be-a-fi If I'm remembering right -- and the above example seems to bear it out -- hpterm cursor keys don't actually send anything to the tty driver. They just move the cursor around. Programs that are written specifically to use hpterms track the cursor by coordinates as if it were a mouse pointer, not a text cursor; programs that are written for generic tty drivers are out of luck. There *is* a way to get the cursor keys to drive the tty, through some HP extensions to the curses and termcap libraries, but I've long forgotten what the magic is. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com