1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
|
Sample Configuration File
Modeless Interface with ANSI Function Keys
Anthony's Editor July 93
Copyright 1993, 1993 by Anthony Howe. All rights reserved. No warranty.
1:\
File read and write\t\^R \^W\t\tLeft, down, up, right\tarrow keys\n\
Version, quit\t\t\^K\^V \^C \^K\^C\tWord left and right\t\^A \^D\n\
Macros\t\t\t\^KM\t\tPage down and up\t\^N \^P\n\
Help on and off\t\tF1\t\tFront and end of line\t\^F \^E\n\
Redraw\t\t\t\^L\t\tTop and bottom of file\t\^T \^B\n\
Insert \t\t\ttyped keys\tDelete left and right\tBACKSPACE \^X\n\
Literal escape\t\t\^V\t\tBlock, cut, paste\tF2 F3 F4\n\
Undo\t\t\t\^U\t\tInvert case\t\tF5\n
#.help_off
.literal ^V
.cursor_up ^[[A
.cursor_down ^[[B
.cursor_left ^[[D
.cursor_right ^[[C
.page_up ^P
.page_down ^N
.word_left ^A
.word_right ^D
.line_left ^F
.line_right ^E
.file_top ^T
.file_bottom ^B
.delete_left ^H
.delete_right ^X
.help ^[f1
.block ^[f2
.cut ^[f3
.paste ^[f4
.flip_case ^[f5
.undo ^U
.file_read ^R
.file_write ^W
.redraw ^L
.quit_ask ^C
.quit ^K^C
.quit ^K^X
.show_version ^K^V
.macro ^KM
.macro_define
.macro_define
.macro_define
.macro_define
.macro_define
2:Terminated successfully.\n
3:Unspecified error.\n
4:usage: %s [-f <config>] [file]\n
5:Failed to initialize the screen.\n
6:Problem with configuration file, line %lu.\n
7:Failed to allocate required memory.\n
8:Ok.
9:An error occured.
10:No more memory available.
11:File \"%s\" is too big to load.
12:Scrap is empty. Nothing to paste.
13:Failed to find file \"%s\".
14:Failed to open file \"%s\".
15:Failed to close file \"%s\".
16:Failed to read file \"%s\".
17:Failed to write file \"%s\".
18:Not a portable POSIX file name.
19:File \"%s\" %ld bytes.
20:File \"%s\" %ld bytes saved.
21:File \"%s\" %ld bytes read.
22:File \"%s\" modified.
23:Invalid control character or \\number not 0..255.
24:No such macro defined.
25:No more macro space.
26:Interrupt.
27:<< EOF >>
28:Macro :
29:File not saved. Quit (y/n) ?
30:[ Press a key to continue. ]
31:Read file :
32:Write file :
33:Write block :
34:\smore\s
35:\sy\b
36:\sn\b
37:\sq\b
38:Nothing to undo.
|