tech:pb_pas_d_historique_en_console_pour_certains_shells

Pb pas d'historique en console pour certains shells

ou pas d'historique en ligne de commande

Un exemple de la console ocaml

Source : http://stackoverflow.com/questions/11757239/how-to-repeat-last-command-in-ocaml-interpreter-shell

Avec la console (ici exemple avec ocaml) pas d'historique.

La flèche du haut me donne les caractères suivants :

$ ocaml
^[[A

La fléche du bas :

^[[B

Solution avec rlwrap (GNU Readline)

sudo apt-get install rlwrap
rlwrap ocaml

Ça marche aussi avec Netcat

rlwrap nc smtp.acme.com 25
tech/pb_pas_d_historique_en_console_pour_certains_shells.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki