From: michel levy <michel.levy@imag.fr>
To: David MENTRE <dmentre@linux-france.org>
Cc: thibaut deslandes <tdeslandes@gmail.com>, caml-list@inria.fr
Subject: Re: [Caml-list] question a propos du terminal
Date: Sun, 19 Nov 2006 22:48:24 +0100 [thread overview]
Message-ID: <4560D128.7030601@imag.fr> (raw)
In-Reply-To: <87velbqj2u.fsf@linux-france.org>
David MENTRE wrote:
> [ English summary: use "ledit" command. ]
>
> Bonjour,
>
> "thibaut deslandes" <tdeslandes@gmail.com> writes:
>
>
>>Quand j'écris une commande et que je vais a la ligne, il m'est strictement
>>impossible de modifier la ligne précédente. Existe il une solution pour y
>>remédier, (a chaque faute d'orthographe dans le paragraphe, je dois
>>copier-coller le texte ! )
>>J'ai également installé ocaml mais rien n'y fait
>
>
> Installer le paquet « ledit » et utiliser la commande ledit :
>
> $ ledit ocaml
>
>
> LEDIT(1) LEDIT(1)
>
> NAME
> ledit - line editor, version 1.11
>
> SYNOPSIS
> ledit [-h file] [-x] [-l length] [command options]
>
> DESCRIPTION
> The command ledit allows to edit lines one by one when running an
> interactive command. When typing a line, some keys with control or meta
> are interpreted: it is possible to insert characters in the middle of
> the line, go to the beginning or the end of the line, get a previous
> line, search for a line with a pattern, etc.
>
>
> Amicalement,
> d.
Another good solution, rlwrap
rlwrap runs the specified command, intercepting user input in order to
supply readline’s line editing, persistent history and completion.
rlwrap tries to be as transparent as possible, keeping track of com-
mand’s terminal settings, so that it can do the right thing when com-
mand asks for single keypresses or for a password.
Try "rlwrap ocaml"
and install first rlwrap , see at
http://utopia.knoware.nl/~hlub/uck/rlwrap/
--
Michel Levy
36 rue George Sand
38400 Saint Martin d'Heres
next prev parent reply other threads:[~2006-11-19 21:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-19 20:12 thibaut deslandes
2006-11-19 20:26 ` [Caml-list] " David MENTRE
2006-11-19 21:48 ` michel levy [this message]
2006-11-19 21:47 ` micha
2006-11-23 13:46 ` Yoann Padioleau
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=4560D128.7030601@imag.fr \
--to=michel.levy@imag.fr \
--cc=caml-list@inria.fr \
--cc=dmentre@linux-france.org \
--cc=tdeslandes@gmail.com \
/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