On Sat, 15 Feb 2003, Jon LaBadie wrote:
> On Fri, Feb 14, 2003 at 11:31:38PM -0800, David Christensen wrote:
> > Elfyn McBratney wrote on 14 Feb 2003 18:18:47 -
> > > In bash you can add the following
> > >
> > > # DEL key in bash
> > > "\e[3~": delete-char
> > >
> > > to your ~/.inputrc or yo
David,
Key sequence generation is not a shell issue, it's defined by the
terminal emulator which gets key-codes from the OS and generates
sequences of bytes to send through a pseudo-tty to whatever application
(shell or otherwise) that's reading. Likewise, it interprets things
like cursor-addr
On Fri, Feb 14, 2003 at 11:31:38PM -0800, David Christensen wrote:
> Elfyn McBratney wrote on 14 Feb 2003 18:18:47 -
> > In bash you can add the following
> >
> > # DEL key in bash
> > "\e[3~": delete-char
> >
> > to your ~/.inputrc or your /etc/inputrc file to get a functioning DEL
> > ke.
>
* Lee D. Rothstein (03-02-14 20:26 +0100)
> (I have the environment variable, 'EDITOR', set to 'TextPad".)
TextPad is
* a Win32 GUI app and
* almost certainly doesn't understand POSIX paths.
Thorsten
--
Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
Content-Transfer-Warn
> Elfyn McBratney wrote on 14 Feb 2003 18:18:47 -
> > In bash you can add the following
> >
> > # DEL key in bash
> > "\e[3~": delete-char
> >
> > to your ~/.inputrc or your /etc/inputrc file to get a functioning DEL
> > ke.
>
> Thanks! I've been wondering about that for far too long. :-)
>
>
Elfyn McBratney wrote on 14 Feb 2003 18:18:47 -
> In bash you can add the following
>
> # DEL key in bash
> "\e[3~": delete-char
>
> to your ~/.inputrc or your /etc/inputrc file to get a functioning DEL
> ke.
Thanks! I've been wondering about that for far too long. :-)
BTW I read the read
* Elfyn McBratney (03-02-14 19:52 +0100)
> One thing that I forgot: Bash does have a system-wide inputrc but you have
> to define an environment variable to the location of the file, INPUTRC
>
> export INPUTRC=/etc/inputrc
bash doesn't have a "system-wide inputrc" (although you /could/ make
one
Lee,
We don't approve of all that humor hereabouts.
This one _is_ documented in the BASH manual page. Here's the binding I use:
"\M-[3~": delete-char # Delete
When you find this Readline action in the BASH manual page, you'll find
all the other goodies you can program into B
> > * ~/.inputrc works. /etc/inputrc doesn't. Why?
>
> Aaaah my cockpit error :-) Bash only checks for the existence of the
> user's or individuals' readline initialisation file.
>
> > * Is there documentation for this? Specific to Cygwin? Or,
> >not necessary due to complete compatibility.
> * ~/.inputrc works. /etc/inputrc doesn't. Why?
Aaaah my cockpit error :-) Bash only checks for the existence of the
user's or individuals' readline initialisation file.
> * Is there documentation for this? Specific to Cygwin? Or,
>not necessary due to complete compatibility. Does
>t
Elfyn,
Thanks.
See my comments and further questions, below.
At 2003-02-14 06:18 PM +, Elfyn McBratney wrote:
> I want to do what any self-respecting
> should do, namely delete the character at the cursor.
In bash you can add the following
# DEL key in bash
"\e[3~": delete-char
to you
> Since at least 1979, when I started using Warren Montgomery's
> Emacs on System III UNIX, I have been annoyed with DEC's and
> RMS's treatment of the (or key as they called
> it. In those days, I "reconfigured" my keyboard to fix this
> abortion.
>
> I want to do what any self-respecting sho
On Fri, Feb 14, 2003 at 07:12:34PM +0100, Thorsten Kampe wrote:
>* Lee D. Rothstein (03-02-14 18:44 +0100)
>> Since at least 1979, when I started using [...]
>
>> I want to do what any self-respecting should do,
>> namely delete the character at the cursor.
>>
>> Anyone know how to do this with
* Lee D. Rothstein (03-02-14 18:44 +0100)
> Since at least 1979, when I started using [...]
> I want to do what any self-respecting should do,
> namely delete the character at the cursor.
>
> Anyone know how to do this with Cygwin command line editing?
Cygwin doesn't have any command line edit
Since at least 1979, when I started using Warren Montgomery's
Emacs on System III UNIX, I have been annoyed with DEC's and
RMS's treatment of the (or key as they called
it. In those days, I "reconfigured" my keyboard to fix this
abortion.
I want to do what any self-respecting should do,
namely
15 matches
Mail list logo