aboutsummaryrefslogtreecommitdiffstats
path: root/gotrc-examples/readline
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-12-15 19:47:33 +0100
committerMattias Andrée <maandree@operamail.com>2013-12-15 19:48:03 +0100
commit2de695994b7802c40a19975faf78c138d2a6ccb4 (patch)
treef87fd764368c4abbe534b4a25fc3dfa05aa96cd5 /gotrc-examples/readline
parentsyntaxo (diff)
downloadgates-of-tartaros-2de695994b7802c40a19975faf78c138d2a6ccb4.tar.gz
gates-of-tartaros-2de695994b7802c40a19975faf78c138d2a6ccb4.tar.bz2
gates-of-tartaros-2de695994b7802c40a19975faf78c138d2a6ccb4.tar.xz
add readline extension1387741088
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'gotrc-examples/readline')
-rw-r--r--gotrc-examples/readline14
1 files changed, 14 insertions, 0 deletions
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
+}
+