File: mode.rc

package info (click to toggle)
ae 962-21.1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 248 kB
  • ctags: 324
  • sloc: ansic: 2,628; makefile: 118; sh: 22
file content (106 lines) | stat: -rw-r--r-- 2,270 bytes parent folder | download | duplicates (3)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Modual Interface Sample Configuration File
Anthony's Editor July 93
Copyright 1993, 1993 by Anthony Howe.  All rights reserved.  No warranty.

1:\
Left, down, up, right	h  j  k  l	Insert on, off, erase	i  ESC  ERASE\n\
Word left and right	H  L		Literal escape		\^V\n\
Page down and up	J  K		Delete left and right	X  x\n\
Start and end of line	[  ]		Block, cut, paste	SPACE  C  P\n\
Top and bottom of file	T  B		Invert case		~\n\
Macros			M		File read and write	R  W\n\
Redraw			r		Undo			u\n\
Help on and off		?		Version, quit		V  q  Q\n

#.help_off
.stty_erase
.show_version	V
.show_version	:ver
.macro		M
.macro		:map
.macro_define
.macro_define
.macro_define
.macro_define
.macro_define	D	\s]C
.macro_define	dd	[\sjC
.macro_define	A	]i
.macro_define	a	li
.macro_define	dw	\swC
.macro_define	cw	dwi
.macro_define	o	[ji\n^[ki
.macro_define	O	[i\n^[ki
.macro_define	y	CP
.cursor_up	k
.cursor_down	j
.cursor_left	h
.cursor_right	l
.page_up	K
.page_down	J
.page_up	^B
.page_down	^F
.word_left	H
.word_right	L
.word_left	b
.word_right	w
.line_left	[
.line_right	]
.line_left	0
.line_right	\$
.file_top	T
.file_bottom	B
.delete_left	X
.delete_right	x
.insert_enter	i
.insert_exit	^[
.literal	^V
.block		\s
.cut		C
.paste		P
.flip_case	~
.undo		u
.help		?
.file_write	W
.file_read	R
.redraw		r
.quit_ask	q
.quit		Q

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.