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 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295
|
dnl -*- text -*-
dnl fntable.fn -- description of bindable functions
dnl Copyright (C) 1996, 1997 Dieter Baron
dnl
dnl This file is part of cftp, a fullscreen ftp client.
dnl The author can be contacted at <dillo@giga.or.at>.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2 of the License, or
dnl (at your option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
section(fn_basic, Basic Functions)
function(exit, [-f], 0, FN_EXIT,
{exit cftp},
{Close the connection to the remote server and exit @sc{cftp}; if you
have tagged files, @sc{cftp} asks for confirmation (unless the
-f option is given).})
function(version, , fn_version, 0,
{display version number},
{Display the @sc{cftp} version string.})
function(redraw, [-c], fn_redraw, FN_PRE,
{redraw screen},
{Clear and redraw the screen.
Use this function if something messed up your display. If @code{-c}
is given (as it is in the default bindings), the cursor is centered on
the screen.})
function(show-name, , fn_showname, 0,
{show name of file under cursor},
{Display the name of the file under the cursor in the message area.})
function(help, , fn_help, 0,
{display help},
{Display help on a function or option, or the binding of a key.
Asks if you want help on a function, option or key binding. For
functions, their help string is displayed. Help on an option shows
its short name (e. g., 'mo' for mode), its type (boolean, character,
integer, string, or enum), its current value and help string. For key
bindings, @code{help} displays the function with arguments (if any),
as it is executed when you press the key.
If you press the shifted letter for a category, a list of all
functions, options, or key bindings will be displayed.})
function(lcd, [dir], fn_lcd, FN_RC,
{change directory on local host},
{Change the current directory on your local host; if you don't supply
@var{dir}, you will be prompted for it. The new current directory is
printed.})
function(shell, {[cmd arg @dots{}]}, fn_shell, 0,
{shell escape},
{Execute shell command; if no command is given, you are prompted for
it. Enter empty string to get an interactive shell.})
function(colon, {[args @dots{}]}, fn_colon, 0,
{execute cftp command},
{Execute an arbitrary @sc{cftp} command.
Allows you to execute functions not bound to a key.
})
function(deidle, , fn_deidle, 0,
{deidle connection},
{Send a @code{noop} to ftp server, thus resetting idle time on server.
This prevents the server from logging you out due to timeouts. Since
@sc{cftp} caches directory listings, a timeout can occur even while
you're actively using @sc{cftp}.})
function(reconnect, , fn_reconnect, 0,
{reconnect to server},
{Reopen connection to server.
You can use this function when you were disconnected after a timeout
or network hickup. To prevent timeouts, use @ref{deidle}.})
function(response, , fn_response, 0,
{display dialog with server},
{Display a log of @sc{cftp}'s communication with the remote host.
Commands sent by @sc{cftp} and the responses from the remote host are
kept in a log, with commands prefixed with @samp{->}. You can change
the number of lines to keep in the log with the option
@ref{hist-size}.})
function(prefix, , fn_prefix, FN_PRE,
{prefix digit},
{Enter a digit of the prefix argument for another command.
@c XXX: ref to the prefix chapter
})
function(bind, {[<state>]key [cmd [args @dots{}]]}, fn_bind, FN_RC,
{bind key},
{Change binding for @var{key}.
If @var{cmd} (the command) is omitted, remove the key binding.
@var{<state>} specifies the binding state and defaults to
@c XXX: ref to binding state
@code{<global>}. This command is mainly used in the @ref{cftprc}.})
function(set, [option [value]], fn_set, FN_RC,
{set option},
{Set @var{option} to @var{value}.
If either @var{value} or @var{option} and @var{value} are omitted, you
will be asked for them. If you enter an empty string the command will
be cancelled.})
endsec()
section(fn_scroll, Scrolling Functions)
function(down, {[@var{n}]}, fn_down, 0,
{move cursor N lines down (default: 1)},
{Move cursor down @var{n} lines, wrapping around at the bottom.
@var{n} can be a prefix argument.})
function(up, {[@var{n}]}, fn_up, 0,
{move cursor N lines up (default: 1)},
{Move cursor up @var{n} lines, wrapping around at the top.
@var{n} can be a prefix argument.})
function(page-down, {[@var{n}]}, fn_pg_down, 0,
{move N screens down (default: 1)},
{Move down @var{n} screens, placing the cursor at the top of the
screen. Wrap around to the first line if at the last screen.
@var{n} can be a prefix argument.})
function(page-up, {[@var{n}]}, fn_pg_up, 0,
{move N screens up (default: 1)},
{Move up @var{n} screens, placing the cursor at the top of the
screen. Wrap around to the last screen if at the first line.
@var{n} can be a prefix argument.})
function(goto, {[@var{n}]}, fn_goto, 0,
{goto line N (default: last)},
{Move cursor to line @var{n}.
@var{n} can be a prefix argument. If line @var{n} doesn't exist or
@var{n} is zero, the cursor moves to the last line.})
function(isearch, , fn_isearch, 0,
{incremental search},
{Search directory listing incrementally.
@c XXX: genau beschreiben :-)
})
endsec()
section(fn_select, Selection Functions)
function(enter/get, [file], fn_enter_get, 0,
{enter directory or get file},
{Enter directory or get file; default is file/directory at cursor.})
function(enter/view, [file], fn_enter_view, 0,
{enter directory or view file},
{Enter directory or view file; default is file under cursor.})
function(enter, [file], fn_enter, 0,
{enter directory},
{Enter directory; default is directory under cursor.})
function(reload, , fn_reload, 0,
{reload current directory},
{Reload listing of current directory from server, disregarding cache.})
function(get, [file], fn_get, 0,
{get file},
{Get file; default is file under cursor.})
function(view, [file], fn_view, 0,
{view file},
{View file; default is file under cursor.})
function(pipe, {[-q] file cmd [arg ...]}, fn_pipe, 0,
{pipe file to command},
{Pipe file to command @var{cmd}. If @code{-q} is given, display is not escaped (thus, @var{cmd} should not produce any output).})
function(put, {[file]}, fn_put, 0,
{put file},
{Put file; if no file name given, you will be prompted for it.})
function(leave, , fn_cdup, 0,
{leave current directory},
{Leave current directory, positioning cursor over it.})
function(cd, [dir], fn_cd, 0,
{change directory},
{Change remote directory; default is to directory under cursor.})
function(state, [state], fn_state, 0,
{change binding state},
{Change binding state to @var{state}. @xref{Binding States}.})
function(leave-tag, , fn_leave_tag, 0,
{leave @code{<tag>} state},
{Leave @code{<tag>} state, entering whatever state was active before
entering @code{<tag>} state.})
endsec()
section(fn_tag, Tagging Functions)
function(tag, [file], fn_tag, 0,
{tag/untag file for later download},
{Tag file; default is file under cursor.})
function(clear-tags, , fn_cleartags, 0,
{clear all tags},
{Clear all tags.})
function(get-tags, {download tagged files}, fn_gettags, 0,
{get tagged files},
{Download tagged files.})
function(save-tags, [file], fn_savetags, 0,
{save tag list to file},
{Save tag list to file, in the same format as the listing in
@code{<tag>} state.})
function(load-tags, [file], fn_loadtag, 0,
{load tag list from file},
{Load tags from file and merge them with current tags. A tags file
contains one tag per line, each consisting of up to three whitespace
separated fields: size (integer, -1 for unknown; optional), type
(`d'irectory, palin `f'ile, `l'ink, or `x' for unknown; optional), and
name (mandatory).})
function(save-urls, [file], fn_saveurls, 0,
{save tags as url list},
{Save tag list to file, in URL notation.})
endsec()
endall
|