From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] ledit not handling home/end sequences properly
Date: Wed, 2 Oct 2013 10:48:08 +0200 [thread overview]
Message-ID: <20131002084808.GA19450@yquem.inria.fr> (raw)
In-Reply-To: <CAFrFfuFPh8x3t0M2YTLSbpp5Q0_Tnx48pLCk8F=Qd8TMQ=2Y4A@mail.gmail.com>
Hi,
Added for version 2.04. Thank you.
On Wed, Oct 02, 2013 at 10:20:15AM +0200, Martin DeMello wrote:
> Want to check before sending the patch in - can anyone reproduce this
> issue, or is it some peculiarity of my setup?
>
> I needed to add the following patch to ledit-2.0.3 to get home/end
> handled properly on terminals other than xterm:
>
> diff -r ledit-2.03/ledit.ml ledit-mine/ledit.ml
> 446c446,453
> < ("\\e[OH", Beginning_of_line) ::
> ---
> > ("\\e[OH", Beginning_of_line);
> > (* gnome-terminal *)
> > ("\\eOH", Beginning_of_line); (* Home *)
> > ("\\eOF", End_of_line); (* End *)
> > (* rxvt *)
> > ("\\e[7~", Beginning_of_line); (* Home *)
> > ("\\e[8~", End_of_line) (* End *)
> > ::
>
> martin
>
> --
> Caml-list mailing list. Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
--
Daniel de Rauglaudre
http://pauillac.inria.fr/~ddr/
next prev parent reply other threads:[~2013-10-02 8:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-02 8:20 Martin DeMello
2013-10-02 8:39 ` Sébastien Dailly
2013-10-02 8:48 ` Daniel de Rauglaudre [this message]
2013-10-02 19:51 ` Martin DeMello
2013-10-08 9:41 ` Daniel de Rauglaudre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131002084808.GA19450@yquem.inria.fr \
--to=daniel.de_rauglaudre@inria.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox