caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* question a propos du terminal
@ 2006-11-19 20:12 thibaut deslandes
  2006-11-19 20:26 ` [Caml-list] " David MENTRE
  2006-11-19 21:47 ` micha
  0 siblings, 2 replies; 5+ messages in thread
From: thibaut deslandes @ 2006-11-19 20:12 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

Bonjour,
J'ai recemment installé caml light sur mon ordinateur qui tourne sous
ubuntu, version 6.10
Je démarre l'application ( par le terminal "camllight" ), un message
s'affiche: caml light 0.74
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
Merci

[-- Attachment #2: Type: text/html, Size: 527 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] question a propos du terminal
  2006-11-19 20:12 question a propos du terminal thibaut deslandes
@ 2006-11-19 20:26 ` David MENTRE
  2006-11-19 21:48   ` michel levy
  2006-11-19 21:47 ` micha
  1 sibling, 1 reply; 5+ messages in thread
From: David MENTRE @ 2006-11-19 20:26 UTC (permalink / raw)
  To: thibaut deslandes; +Cc: caml-list

[ 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.
-- 
GPG/PGP key: A3AD7A2A David MENTRE <dmentre@linux-france.org>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] question a propos du terminal
  2006-11-19 20:12 question a propos du terminal thibaut deslandes
  2006-11-19 20:26 ` [Caml-list] " David MENTRE
@ 2006-11-19 21:47 ` micha
  2006-11-23 13:46   ` Yoann Padioleau
  1 sibling, 1 reply; 5+ messages in thread
From: micha @ 2006-11-19 21:47 UTC (permalink / raw)
  To: thibaut deslandes; +Cc: caml-list

thibaut deslandes schrieb:
> 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
> Merci
>

"rlwrap" est bien aussi


 Michael


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] question a propos du terminal
  2006-11-19 20:26 ` [Caml-list] " David MENTRE
@ 2006-11-19 21:48   ` michel levy
  0 siblings, 0 replies; 5+ messages in thread
From: michel levy @ 2006-11-19 21:48 UTC (permalink / raw)
  To: David MENTRE; +Cc: thibaut deslandes, caml-list

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] question a propos du terminal
  2006-11-19 21:47 ` micha
@ 2006-11-23 13:46   ` Yoann Padioleau
  0 siblings, 0 replies; 5+ messages in thread
From: Yoann Padioleau @ 2006-11-23 13:46 UTC (permalink / raw)
  To: micha; +Cc: thibaut deslandes, caml-list

micha <micha-1@fantasymail.de> writes:

> thibaut deslandes schrieb:
>> 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
>> Merci
>>
>
> "rlwrap" est bien aussi

Il y'a aussi ... Emacs. 
M-x run-caml 


>
>
> Michael
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-11-23 13:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-19 20:12 question a propos du terminal thibaut deslandes
2006-11-19 20:26 ` [Caml-list] " David MENTRE
2006-11-19 21:48   ` michel levy
2006-11-19 21:47 ` micha
2006-11-23 13:46   ` Yoann Padioleau

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).