This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: C-m and C-j bindings


On 12 Oct 2001, Tom Tromey wrote:

> I've also hit C-j several times and then been suprised when it does
> nothing.  I guess I find it easier to change Insight than to change my
> habits...

:-)

> Ok?

Doesn't seem to do any harm, and it is certainly supported in bash (our
model), so why not? Please check it in.

Keith

> Index: ChangeLog
> from  Tom Tromey  <tromey@redhat.com>
>
> 	* library/console.itb (Console::_build_win): Bind Control-m and
> 	Control-j.
>
> Index: library/console.itb
> ===================================================================
> RCS file: /cvs/src/src/gdb/gdbtk/library/console.itb,v
> retrieving revision 1.12
> diff -u -r1.12 console.itb
> --- library/console.itb 2001/09/28 16:36:50 1.12
> +++ library/console.itb 2001/10/13 00:00:21
> @@ -64,6 +64,8 @@
>    # bind editing keys for console window
>    #
>    bind $_twin <Return> "$this invoke; break"
> +  bind_plain_key $_twin Control-m "$this invoke; break"
> +  bind_plain_key $_twin Control-j "$this invoke; break"
>
>    # History control.
>    bind_plain_key $_twin Control-p "[code $this _previous]; break"
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]