From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8717 invoked from network); 29 Sep 1997 21:08:24 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 29 Sep 1997 21:08:24 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id RAA16816; Mon, 29 Sep 1997 17:01:51 -0400 (EDT) Resent-Date: Mon, 29 Sep 1997 17:00:47 -0400 (EDT) Date: Mon, 29 Sep 1997 16:59:35 -0400 (EDT) Message-Id: <199709292059.QAA00254@catbert.seo.com> From: "James B. Crigler" To: zsh-users@math.gatech.edu Subject: emacs-forward-word broken on linux Resent-Message-ID: <"03Lix3.0.t54._R1Cq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1045 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Curiousity (zsh-3.0.[45]): Is there a known reason for which emacs forward word (bound to ESCf and ESCF) would work differently on two different platforms, namely Linux (Redhat 4.2/2.0.30) and Solaris 2.4? On the Solaris box, it does what I expect, placing the cursor after the word, but on the Linux box at home, it goes to the beginning of the next word. Caveat: I build it myself on the Solaris box; on Linux I use a version from sunsite.unc.edu:/pub/Linux/distributions/redhat/contrib/i386. Here's the stuff that I believe is relevent from .zshrc (this portion is identical on both, note the compctl from the list just today :-): if [[ ${+EMACS} = 0 ]] ; then bindkey -em # emacs key bindings bindkey "f" emacs-forward-word bindkey "F" emacs-forward-word WORDCHARS='*?_-.[]~=&;!#$%^(){}<>' # bindkey -v # vi key bindings else set no_prompt_cr fi # Eliminate some redundancies typeset -U MANPATH=$MANPATH typeset -U PATH=$PATH # Fixup some completion control # only expand directories for cd and rmdir compctl -g '*(-/)' + -g '.*(-/)' + -k '(..)' cd rmdir [[ $TERM = dumb ]] && unsetopt zle [[ $TERM = emacs ]] && unalias ls -- Jim Crigler Schwartz Electro-Optics, Inc. Voice: (407)298-1802 x200 3404 N. Orange Blossom Trl. Fax: (407)290-9666 Orlando FL 32804-3498 USA