aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--gotrc-examples/readline14
2 files changed, 17 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9f4c112..9492997 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,9 @@ SH = bash
SH_SHEBANG = /usr/bin/env $(SH)
ECHO = /usr/bin/echo
-EXAMPLES = README lower-left-ponysay allow-uppercase issue-file commands no-empty-user baudrate cerberus hide-username
+EXAMPLES = README lower-left-ponysay allow-uppercase issue-file \
+ commands no-empty-user baudrate cerberus hide-username \
+ 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
+}
+