caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Martin DeMello <martindemello@gmail.com>
To: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] ledit not handling home/end sequences properly
Date: Wed, 2 Oct 2013 12:51:55 -0700	[thread overview]
Message-ID: <CAFrFfuFPfFXwM+Xar2f33okeJYz4TDm610x8WfocMJ+YuFwe4w@mail.gmail.com> (raw)
In-Reply-To: <20131002084808.GA19450@yquem.inria.fr>

Great :) Could you also add a META file for ledit_lib in the next
release? (I'm currently maintaining my own at
https://github.com/martindemello/varix/blob/master/META.ledit_lib)

martin

On Wed, Oct 2, 2013 at 1:48 AM, Daniel de Rauglaudre
<daniel.de_rauglaudre@inria.fr> wrote:
> 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/
>
> --
> 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

  reply	other threads:[~2013-10-02 19:51 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
2013-10-02 19:51   ` Martin DeMello [this message]
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=CAFrFfuFPfFXwM+Xar2f33okeJYz4TDm610x8WfocMJ+YuFwe4w@mail.gmail.com \
    --to=martindemello@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=daniel.de_rauglaudre@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;
as well as URLs for NNTP newsgroup(s).