summaryrefslogtreecommitdiff
path: root/gramscii.1
diff options
context:
space:
mode:
Diffstat (limited to 'gramscii.1')
-rw-r--r--gramscii.125
1 files changed, 20 insertions, 5 deletions
diff --git a/gramscii.1 b/gramscii.1
index 036ccf5..575a2fc 100644
--- a/gramscii.1
+++ b/gramscii.1
@@ -26,6 +26,26 @@ available for further processing.
.TP
.BI -h
Print short usage unstructions and exit.
+.PP
+If one or more files are provided after the last option, gramscii will
+consider them command files and will read them one after the other
+(i.e., as if the characters in the file were typed while gramscii was
+running), before accepting commands from stdin. This allows to use
+gramscii scripts. For instance, if you start gramscii as:
+.EX
+
+ gramscii file.txt
+
+.EE
+and "file.txt" contains the lines:
+.EX
+
+ gg10lbLLJJb
+ gg10l15jbLLJJ
+
+.EE
+then gramscii will show two boxes and then will start accepting
+commands as usual.
.SH COMMANDS
gramscii is a visual modal editor. Commands are associated to
keystrokes, and keystrokes have different meaning in different modes.
@@ -537,11 +557,6 @@ would automatically save the screen into "filename".
gramscii currently manages only a fixed screen of the same size of the
screen where it starts from. This will be changed in a future release to
support scrolling and "virtual" screens of any (reasonable) size.
-.PP
-Undo commands are only available in box, visual (cut, fill), arrow, and
-text mode, and for copy/paste operations. gramscii currently does
-.B not
-support undo commands for erase mode. This will be fixed soon.
.SH AUTHORS
gramscii is written and maintained by Vincenzo "KatolaZ" Nicosia
<katolaz@freaknet.org>. You can use, copy, modify, and redistribute