From 08485aacd8d561f2650175b7a16211262396b2ce Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Thu, 1 Aug 2019 11:26:12 +0100 Subject: add undo in erase mode --- gramscii.1 | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'gramscii.1') 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 . You can use, copy, modify, and redistribute -- cgit v1.2.3