about summary refs log tree commit diff stats
path: root/readme
diff options
context:
space:
mode:
Diffstat (limited to 'readme')
-rw-r--r--readme22
1 files changed, 12 insertions, 10 deletions
diff --git a/readme b/readme index a98c60b..5eaa9f6 100644 --- a/readme +++ b/readme
@@ -1,15 +1,16 @@
1YOLK --- ansi escapes for CHICKEN -*- text -*- 1YOLK --- ansi escapes for CHICKEN -*- text -*-
2 2
3yes there's already ansi-escape-sequences[1]. consider this NIH ;) 3yes there's already ansi-escape-sequences[1]. consider this NIH ;) this library
4this library is based on the information a gist by fnky[2]. 4is based on the information a gist by fnky[2]. at some point i should base it
5at some point i should base it instead on xterm's manual[3]. 5instead on xterm's manual[3].
6 6
7Unless otherwise stated, all procedures and variables in this library are 7Unless otherwise stated, all procedures and variables in this library are
8strings or return strings ready for `display'. 8strings or return strings ready for `display'.
9 9
10INSTALLATION. 10INSTALLATION.
11 11
12Run `chicken-install' in this directory or `make install', which will run it for you. You can also run `make clean' to clean the folder of build artifacts. 12Run `chicken-install' in this directory or `make install', which will run it for
13you. You can also run `make clean' to clean the folder of build artifacts.
13 14
14MODULES. 15MODULES.
15 16
@@ -43,9 +44,9 @@ Syntax.
43 44
44- (define-esc-alt-wrapper wrapper-proc-name param-name (default-proc args ...)) 45- (define-esc-alt-wrapper wrapper-proc-name param-name (default-proc args ...))
45 46
46Many terminal behaviors have multiple escape sequences that might work. This 47Many terminal behaviors have multiple escape sequences that might work. This
47macro defines a parameter named PARAM-NAME and a procedure named 48macro defines a parameter named PARAM-NAME and a procedure named
48WRAPPER-PROC-NAME that will call PARAM-NAME with ARGS ... . The user can change 49WRAPPER-PROC-NAME that will call PARAM-NAME with ARGS ... . The user can change
49which procedure to call by calling (PARAM-NAME new-proc). 50which procedure to call by calling (PARAM-NAME new-proc).
50 51
51(yolk colors) --- NOT FINISHED 52(yolk colors) --- NOT FINISHED
@@ -58,7 +59,7 @@ Variables.
58 59
59-- cursor-home 60-- cursor-home
60 61
61Move the cursor to the top-left corner (0,0). NOTE: This and the move commands 62Move the cursor to the top-left corner (0,0). NOTE: This and the move commands
62might be revised later. 63might be revised later.
63 64
64Procedures. 65Procedures.
@@ -87,8 +88,8 @@ Move cursor to column N.
87-- (cursor-save) 88-- (cursor-save)
88-- (cursor-restore) 89-- (cursor-restore)
89 90
90Save or restore the cursor's position on the screen. These variables are 91Save or restore the cursor's position on the screen. These variables are
91parameters defaulting to the DEC escapes. You can set them to the SCO escapes 92parameters defaulting to the DEC escapes. You can set them to the SCO escapes
92using (cursor-save cursor-save/sco), for example. 93using (cursor-save cursor-save/sco), for example.
93 94
94(yolk erase) --- erasing the screen 95(yolk erase) --- erasing the screen
@@ -110,7 +111,8 @@ These erase portions of the current line.
110 111
111-- erase-line-and-return 112-- erase-line-and-return
112 113
113Convenience function to return the cursor to the beginning of the line after erasing it. 114Convenience function to return the cursor to the beginning of the line after
115erasing it.
114 116
115(yolk xterm) --- xterm-specific escape sequences 117(yolk xterm) --- xterm-specific escape sequences
116 118