From 2de695994b7802c40a19975faf78c138d2a6ccb4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 15 Dec 2013 19:47:33 +0100 Subject: add readline extension MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- gotrc-examples/readline | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 gotrc-examples/readline (limited to 'gotrc-examples/readline') diff --git a/gotrc-examples/readline b/gotrc-examples/readline new file mode 100644 index 0000000..3401221 --- /dev/null +++ b/gotrc-examples/readline @@ -0,0 +1,14 @@ +# -*- shell-script -*- + +# This module requires Bash as the gates-of-tartaros interpreters. +# +# This module uses readline when reading, for example the username, +# from the terminal. This allows the user to flexibly change the +# line instead of erasing in order to get to the wanted possition. + + +_read () +{ + read -e user +} + -- cgit v1.2.3-70-g09d2