| 1 |
$MirOS: contrib/code/jupp/LIST,v 1.14 2018/02/01 02:33:43 tg Exp $ |
| 2 |
------------------------------------------------------------------ |
| 3 |
|
| 4 |
Joe commands grouped by function |
| 5 |
|
| 6 |
Background programs |
| 7 |
------------------- |
| 8 |
bknd Run a shell in a window |
| 9 |
killproc Kill program in current window |
| 10 |
run Run a unix command in a window |
| 11 |
|
| 12 |
Blocks |
| 13 |
------ |
| 14 |
blkcpy Copy marked block to cursor |
| 15 |
blkdel Delete marked block |
| 16 |
blkmove Move marked block to cursor |
| 17 |
blksave Save marked block into a file |
| 18 |
copy Copy block to kill-ring |
| 19 |
drop Set markb. If it was already set, eliminate it. |
| 20 |
|
| 21 |
toggle_marking If we're in a block: clear markb and markk. |
| 22 |
If marking is off: set markb and turn on marking. |
| 23 |
If marking is on: set markk (swap if necessary with markb) |
| 24 |
and turn marking off. |
| 25 |
|
| 26 |
begin_marking If we're on an edge of a block: set markb to other edge and |
| 27 |
turn on marking mode. Otherwise set markb to cursor and |
| 28 |
turn on marking mode. |
| 29 |
|
| 30 |
select Set markb. If it was already set, do nothing. |
| 31 |
filt Filter block or file through a unix command |
| 32 |
markb Set beginning of block mark |
| 33 |
markk Set end of block mark |
| 34 |
markl Mark current line |
| 35 |
nmark Eliminate markb and markk |
| 36 |
picokill Delete line or block |
| 37 |
pop Restore markb and markk values from stack |
| 38 |
psh Push markb and markk values onto a stack |
| 39 |
swap Switch cursor with markb |
| 40 |
tomarkb Move cursor to markb |
| 41 |
tomarkbk Move cursor to markb or markk |
| 42 |
tomarkk Move cursor to markk |
| 43 |
yank Insert top of kill ring |
| 44 |
yankpop Scroll through kill ring |
| 45 |
yapp Append next kill to top of kill ring |
| 46 |
upper Convert everything in block to uppercase |
| 47 |
lower Convert everything in block to lowercase |
| 48 |
|
| 49 |
Buffers |
| 50 |
------- |
| 51 |
bufed Buffer menu |
| 52 |
edit Load file into window: asks to reload if buffer exists |
| 53 |
switch Load file into window: always uses buffer if it exists |
| 54 |
scratch Load a scratch buffer into current window |
| 55 |
nbuf Load next buffer into current window |
| 56 |
pbuf Load previous buffer into current window |
| 57 |
|
| 58 |
Cursor Motion |
| 59 |
------------- |
| 60 |
bof Move cursor to beginning of file |
| 61 |
bol Move cursor to beginning of line (always) |
| 62 |
bop Move to beginning of a paragraph |
| 63 |
bos Move to beginning of screen |
| 64 |
bkwdc Search backwards for a character |
| 65 |
byte Move cursor to specific byte offset into the file. |
| 66 |
col Move cursor to specific column number. |
| 67 |
dnarw Move cursor down one line |
| 68 |
eof Move cursor to end of file |
| 69 |
eol Move cursor to end of line |
| 70 |
eop Move cursor to end of paragraph |
| 71 |
fwrdc Search forward for matching character |
| 72 |
gomark Move cursor to a bookmark |
| 73 |
home Move cursor to beginning of line ("smart") |
| 74 |
line Move cursor to specified line |
| 75 |
ltarw Move cursor left |
| 76 |
nedge Move cursor to next edge |
| 77 |
nextpos Move cursor to next position in cursor position history |
| 78 |
nextword Move cursor to end of next word |
| 79 |
pedge Move cursor to previous edge |
| 80 |
prevpos Move cursor to previous position in cursor position history |
| 81 |
prevword Move cursor to beginning of previous word |
| 82 |
rtarw Move cursor right |
| 83 |
rvmatch Move cursor to matching delimiter, ambiguous to the left |
| 84 |
setmark Set a bookmark |
| 85 |
tomatch Move cursor to matching delimiter |
| 86 |
tos Move cursor to top of screen |
| 87 |
uparw Move cursor up |
| 88 |
|
| 89 |
Deletion |
| 90 |
-------- |
| 91 |
backs Backspace |
| 92 |
backw Backspace a word |
| 93 |
delbol Delete to beginning of line |
| 94 |
delch Delete character under cursor |
| 95 |
deleol Delete to end of line |
| 96 |
dellin Delete entire line |
| 97 |
delw Delete word to right |
| 98 |
|
| 99 |
Error parsing |
| 100 |
------------- |
| 101 |
nxterr Goto next parsed error |
| 102 |
parserr Parse errors in current file |
| 103 |
prverr Go to previous parsed error |
| 104 |
|
| 105 |
Exit |
| 106 |
---- |
| 107 |
cancel Like abort, but doesn't return failure: useful in macros |
| 108 |
to escape out of a prompt. |
| 109 |
|
| 110 |
abort Abort current buffer/window. Prompt if it is changed. |
| 111 |
|
| 112 |
abortbuf Like above, but just fail if it would have to prompt because |
| 113 |
it's the last window on a modified buffer. |
| 114 |
|
| 115 |
ask Prompt to save current file: user says yes return, user says |
| 116 |
no: run 'abort'. Use in a macro: "ask,query,exsave" |
| 117 |
|
| 118 |
exsave Save file and exit |
| 119 |
|
| 120 |
lose emacs kill buffer. The buffer is deleted- any windows with |
| 121 |
it get a replacement scratch buffer. |
| 122 |
|
| 123 |
querysave Prompt to save each modified buffer |
| 124 |
Use in a macro: "querysave,query,killjoe" |
| 125 |
|
| 126 |
killjoe Exit joe immediately without checking for modified buffers |
| 127 |
abendjoe Same, but with errorlevel 1 |
| 128 |
|
| 129 |
Files |
| 130 |
----- |
| 131 |
save Save file |
| 132 |
insf Insert a file |
| 133 |
|
| 134 |
Formatting |
| 135 |
---------- |
| 136 |
center Center line |
| 137 |
fmtblk Format all paragraphs in a block |
| 138 |
format Format current paragraph |
| 139 |
lindent Indent to the left |
| 140 |
rindent Indent to the right |
| 141 |
|
| 142 |
Help |
| 143 |
---- |
| 144 |
help Turn help on or off |
| 145 |
helpcard Turn help on at selected screen |
| 146 |
hnext Switch to next help screen |
| 147 |
hprev Switch to previous help screen |
| 148 |
|
| 149 |
Inserting |
| 150 |
--------- |
| 151 |
ctrl Type next key |
| 152 |
finish Complete word in text window |
| 153 |
insc Insert a space |
| 154 |
open Insert newline |
| 155 |
quote Insert a control character |
| 156 |
quote8 Insert a meta character |
| 157 |
rtn Return key |
| 158 |
type Insert typed character |
| 159 |
|
| 160 |
Macros |
| 161 |
------ |
| 162 |
macros Insert keyboard macros into current file |
| 163 |
play Execute a macro |
| 164 |
query Macro query |
| 165 |
record Record a macro |
| 166 |
stop Stop recording macro |
| 167 |
|
| 168 |
Menu |
| 169 |
---- |
| 170 |
backsmenu Undo in file completion menu |
| 171 |
bofmenu Move to beginning of menu |
| 172 |
bolmenu Move to beginning of line in a menu |
| 173 |
dnarwmenu Move down one line in a menu |
| 174 |
eolmenu Move cursor to end of line in a menu |
| 175 |
eofmenu Move cursor to end of menu |
| 176 |
ltarwmenu Move cursor left in a menu |
| 177 |
rtarwmenu Move cursor right in menu |
| 178 |
uparwmenu Move cursor up in menu |
| 179 |
|
| 180 |
Misc |
| 181 |
---- |
| 182 |
beep Beep |
| 183 |
execmd Execute a joe command |
| 184 |
keymap Switch keymap |
| 185 |
math Calculator |
| 186 |
mathins Insert last math expression |
| 187 |
mathres Insert last math result |
| 188 |
mode Mode prompt |
| 189 |
msg Display a message (clear message if empty) |
| 190 |
nop Do nothing |
| 191 |
notmod Clear the modified flag |
| 192 |
retype Refresh screen |
| 193 |
shell Suspend process or execute a sub-shell |
| 194 |
stat Display cursor position |
| 195 |
sync Call sync(2) |
| 196 |
tag Tags file search |
| 197 |
txt Insert text |
| 198 |
|
| 199 |
Prompts |
| 200 |
------- |
| 201 |
complete Complete a file-name in a prompt |
| 202 |
|
| 203 |
Repeat |
| 204 |
------ |
| 205 |
arg Prompt for repeat argument |
| 206 |
uarg Universal argument |
| 207 |
|
| 208 |
Scrolling |
| 209 |
--------- |
| 210 |
crawll Pan screen left |
| 211 |
crawlr Pan screen right |
| 212 |
dnslide Scroll screen down 1 line |
| 213 |
pgdn Scroll screen down |
| 214 |
pgup Scroll screen up |
| 215 |
upslide Scroll up one line |
| 216 |
|
| 217 |
Search and replace |
| 218 |
------------------ |
| 219 |
ffirst Find text |
| 220 |
fnext Repeat previous search |
| 221 |
isrch Incremental search forward |
| 222 |
qrepl Search and replace |
| 223 |
rfirst Search backwards for text |
| 224 |
rsrch Reverse incremental search |
| 225 |
|
| 226 |
Windows |
| 227 |
------- |
| 228 |
explode Display one window or display all windows |
| 229 |
dupw Duplicate current window |
| 230 |
groww Increase size of window |
| 231 |
nextw Move cursor to next window |
| 232 |
prevw Go to previous window |
| 233 |
shrinkw Shrink window |
| 234 |
splitw Split window into two |
| 235 |
tw0 Eliminate this window |
| 236 |
tw1 Show only one window |
| 237 |
|
| 238 |
Undo |
| 239 |
---- |
| 240 |
redo Re-execute the latest undone change |
| 241 |
undo Undo last change |