---
name: "Reply::Plugin::ReadLine"
section: "3pm"
platform: "linux"
package: "libreply-perl"
version: "0.42-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Reply::Plugin::ReadLine"
---

# Reply::Plugin::ReadLine(3pm)

use Term::ReadLine for user input

## NAME

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

## VERSION

version 0.42

## SYNOPSIS

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

## DESCRIPTION

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.

## AUTHOR

Jesse Luehrs \<doy@tozt.net\>

## COPYRIGHT AND LICENSE

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

This is free software, licensed under:

```
  The MIT (X11) License
```
