DOKK / manpages / debian 12 / libreply-perl / Reply::Plugin::ReadLine.3pm.en
Reply::Plugin::ReadLine(3pm) User Contributed Perl Documentation Reply::Plugin::ReadLine(3pm)

Reply::Plugin::ReadLine - use Term::ReadLine for user input

version 0.42

  ; .replyrc
  [ReadLine]
  history_file = .hist
  history_length = 100

This plugin uses Term::ReadLine to read lines from the user. This enables useful features such as line editing and command history. The history will be persisted between runs, by default in ".reply_history" in your application data directory, although this is changeable with the "history_file" option. To limit the number of lines written to this file, you can use the "history_length" option. Setting a "history_length" of 0 will disable writing history to a file entirely.

NOTE: you probably want to install a reasonable Term::ReadLine backend in order for this plugin to be very useful. Term::ReadLine::Gnu is highly recommended if possible.

Jesse Luehrs <doy@tozt.net>

This software is Copyright (c) 2016 by Jesse Luehrs.

This is free software, licensed under:

  The MIT (X11) License
2022-06-17 perl v5.34.0