This is the mail archive of the
mailing list for the Insight project.
Re: Patch: C-m and C-j bindings
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: Patch: C-m and C-j bindings
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Fri, 12 Oct 2001 17:11:19 -0700 (PDT)
- cc: Insight List <insight at sourceware dot cygnus dot com>
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
Doesn't seem to do any harm, and it is certainly supported in bash (our
model), so why not? Please check it in.
> Index: ChangeLog
> from Tom Tromey <firstname.lastname@example.org>
> * library/console.itb (Console::_build_win): Bind Control-m and
> 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"