From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hzlon-0007iP-Pi for garchives@archives.gentoo.org; Sun, 17 Jun 2007 03:52:50 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l5H3paNI007842; Sun, 17 Jun 2007 03:51:36 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l5H3lYm0003117 for ; Sun, 17 Jun 2007 03:47:34 GMT Received: by ug-out-1314.google.com with SMTP id u2so1256679uge for ; Sat, 16 Jun 2007 20:47:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=Hy3EksEBIwsZt3+ex5LGEWBmreozKZyZXc1FvbpfxlVNTSKvfueQ6ABpodtMEwfhX0er7QtWLsZoAyrgxpRTCOKBFtkVtKzHZCOUIlM05dDvCeH0Vk6mVsWUYopVprrH8+NHgE4GPqaG/k7Th+TVi8yu73y1q/i5z/zFcUMBDgs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=TWJKAUYuCpNVq00uhjbTLy9L7/yejRm1hw1BsLs1neAYjyHL2Gye6V6e2fWEfu+g6QQTGZefsPg1PBYjbzvsmFKM8ewfjaqLz1u+1A6fgaECfrGWvY7TejrfD1fStEm6tKoKgtsjgt0Ogn3Wc/M0ExlkLIamrsVxMO/CzojBpwo= Received: by 10.67.25.9 with SMTP id c9mr3982666ugj.1182052054523; Sat, 16 Jun 2007 20:47:34 -0700 (PDT) Received: by 10.67.22.8 with HTTP; Sat, 16 Jun 2007 20:47:34 -0700 (PDT) Message-ID: <8fcf3b560706162047i13709a79k841aff4df47c5a59@mail.gmail.com> Date: Sat, 16 Jun 2007 20:47:34 -0700 From: "Tim Garton" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Getting ctrl-left/ctrl-right to jump backward/forward by word in non-x console Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_80882_33366861.1182052054500" X-Archives-Salt: 45d472c1-90b6-4f67-8e65-88c930ea63f6 X-Archives-Hash: 528116e78ac5aecec32098e44187be5d ------=_Part_80882_33366861.1182052054500 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I just noticed that on all my Gentoo boxes, you can't jump around by word using ctrl-arrow_key in the non-x console. It works fine in xterm/Eterm/etc. while running X, but doesn't directly on the console. I haven't had a chance yet to try it on another distro. Does anyone know how to get this to work? Here's the backward-word/forward-word lines from my /etc/inputrc: # gnome-terminal (escape + arrow key) "\e[5C": forward-word "\e[5D": backward-word # konsole / xterm / rxvt (escape + arrow key) "\e\e[C": forward-word "\e\e[D": backward-word # konsole (alt + arrow key) "\e[1;3C": forward-word "\e[1;3D": backward-word # aterm / eterm (control + arrow key) "\eOc": forward-word "\eOd": backward-word # xterm "\e[1;5C": forward-word "\e[1;5D": backward-word ------=_Part_80882_33366861.1182052054500 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I just noticed that on all my Gentoo boxes, you can't jump around by word using ctrl-arrow_key in the non-x console.  It works fine in xterm/Eterm/etc. while running X, but doesn't directly on the console.  I haven't had a chance yet to try it on another distro.  Does anyone know how to get this to work?  Here's the backward-word/forward-word lines from my /etc/inputrc:

# gnome-terminal (escape + arrow key)
"\e[5C": forward-word
"\e[5D": backward-word
# konsole / xterm / rxvt (escape + arrow key)
"\e\e[C": forward-word
"\e\e[D": backward-word
# konsole (alt + arrow key)
"\e[1;3C": forward-word
"\e[1;3D": backward-word
# aterm / eterm (control + arrow key)
"\eOc": forward-word
"\eOd": backward-word
# xterm
"\e[1;5C": forward-word
"\e[1;5D": backward-word

------=_Part_80882_33366861.1182052054500-- -- gentoo-user@gentoo.org mailing list