[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] winbash readline keyboard assignments
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] winbash readline keyboard assignments |
Date: |
Thu, 17 Jul 2014 17:14:32 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 7/17/14, 4:42 PM, Mike McClain wrote:
> On Thu, Jul 17, 2014 at 11:20:58AM -0400, Chet Ramey wrote:
>> On 7/16/14, 3:19 PM, Mike McClain wrote:
>>> I'm trying to get winbash commandline editing to use the same key
>>> assignments I use in Debian Linux but am having little luck.
>>> I want to assign Shift Insert to yank and ^BS (control backspace) to
>>> backward-kill-word.
>>> Unfortunately '^V' (quoted-insert) doesn't seem to be working and
>>> assignments based on what Jed sees don't work either.
>>
>> The easiest way to see what a particular key sequence generates is to use
>> `cat -v' or an equivalent. Once you have that, you can use the standard
>> readline keybinding syntax.
>
> Thanks for the suggestion but unfortunately it doesn't work under
> Windows 2000 whether I use command.com, cmd.exe, bash or zsh I can't
> see what backspace, Ins, Del, Home, End, PgUp, PgDn or any of the
> arrow keys generate. These are the keys between the main keyboard and
> the number pad, I think some call these the grey keys.
Sorry, I don't use windows. `cat' is what works for me on Unix.
> PS: You deserve an 'Attaboy' for the work you've done on bash and it's
> docs.
Thanks.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/