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 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652
|
@c This file is automatically created from ``fntable.fn''; don't change
@c this file, change ``fntable.fn'' instead.
@c *********************************************************************
@node Functions
@chapter Functions
@menu
* Basic Functions::
* Scrolling Functions::
* Selection Functions::
* Tagging Functions::
All Functions Alphabetically
* bind:: bind key
* cd:: change directory
* clear-tags:: clear all tags
* colon:: execute cftp command
* deidle:: deidle connection
* down:: move cursor N lines down (default: 1)
* enter:: enter directory
* enter/get:: enter directory or get file
* enter/view:: enter directory or view file
* exit:: exit cftp
* get:: get file
* get-tags:: get tagged files
* goto:: goto line N (default: last)
* help:: display help
* isearch:: incremental search
* lcd:: change directory on local host
* leave:: leave current directory
* leave-tag:: leave @code{<tag>} state
* load-tags:: load tag list from file
* page-down:: move N screens down (default: 1)
* page-up:: move N screens up (default: 1)
* pipe:: pipe file to command
* prefix:: prefix digit
* put:: put file
* reconnect:: reconnect to server
* redraw:: redraw screen
* reload:: reload current directory
* response:: display dialog with server
* save-tags:: save tag list to file
* save-urls:: save tags as url list
* set:: set option
* shell:: shell escape
* show-name:: show name of file under cursor
* state:: change binding state
* tag:: tag/untag file for later download
* up:: move cursor N lines up (default: 1)
* version:: display version number
* view:: view file
@end menu
@c =====================================================================
@node Basic Functions
@section Basic Functions
@cindex Basic Functions
@menu
* exit:: exit cftp
* version:: display version number
* redraw:: redraw screen
* show-name:: show name of file under cursor
* help:: display help
* lcd:: change directory on local host
* shell:: shell escape
* colon:: execute cftp command
* deidle:: deidle connection
* reconnect:: reconnect to server
* response:: display dialog with server
* prefix:: prefix digit
* bind:: bind key
* set:: set option
@end menu
@c ---------------------------------------------------------------------
@node exit
@subsection exit -- exit cftp
@cindex exit
@itemize @bullet
@item
Synopsis: exit [-f]
@end itemize
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).
@c ---------------------------------------------------------------------
@node version
@subsection version -- display version number
@cindex version
@itemize @bullet
@item
Synopsis: version
@end itemize
Display the @sc{cftp} version string.
@c ---------------------------------------------------------------------
@node redraw
@subsection redraw -- redraw screen
@cindex redraw
@itemize @bullet
@item
Synopsis: redraw [-c]
@end itemize
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.
@c ---------------------------------------------------------------------
@node show-name
@subsection show-name -- show name of file under cursor
@cindex show-name
@itemize @bullet
@item
Synopsis: show-name
@end itemize
Display the name of the file under the cursor in the message area.
@c ---------------------------------------------------------------------
@node help
@subsection help -- display help
@cindex help
@itemize @bullet
@item
Synopsis: help
@end itemize
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.
@c ---------------------------------------------------------------------
@node lcd
@subsection lcd -- change directory on local host
@cindex lcd
@itemize @bullet
@item
Synopsis: lcd [dir]
@end itemize
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.
@c ---------------------------------------------------------------------
@node shell
@subsection shell -- shell escape
@cindex shell
@itemize @bullet
@item
Synopsis: shell [cmd arg @dots{}]
@end itemize
Execute shell command; if no command is given, you are prompted for
it. Enter empty string to get an interactive shell.
@c ---------------------------------------------------------------------
@node colon
@subsection colon -- execute cftp command
@cindex colon
@itemize @bullet
@item
Synopsis: colon [args @dots{}]
@end itemize
Execute an arbitrary @sc{cftp} command.
Allows you to execute functions not bound to a key.
@c ---------------------------------------------------------------------
@node deidle
@subsection deidle -- deidle connection
@cindex deidle
@itemize @bullet
@item
Synopsis: deidle
@end itemize
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}.
@c ---------------------------------------------------------------------
@node reconnect
@subsection reconnect -- reconnect to server
@cindex reconnect
@itemize @bullet
@item
Synopsis: reconnect
@end itemize
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}.
@c ---------------------------------------------------------------------
@node response
@subsection response -- display dialog with server
@cindex response
@itemize @bullet
@item
Synopsis: response
@end itemize
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}.
@c ---------------------------------------------------------------------
@node prefix
@subsection prefix -- prefix digit
@cindex prefix
@itemize @bullet
@item
Synopsis: prefix
@end itemize
Enter a digit of the prefix argument for another command.
@c XXX: ref to the prefix chapter
@c ---------------------------------------------------------------------
@node bind
@subsection bind -- bind key
@cindex bind
@itemize @bullet
@item
Synopsis: bind [<state>]key [cmd [args @dots{}]]
@end itemize
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}.
@c ---------------------------------------------------------------------
@node set
@subsection set -- set option
@cindex set
@itemize @bullet
@item
Synopsis: set [option [value]]
@end itemize
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.
@c =====================================================================
@node Scrolling Functions
@section Scrolling Functions
@cindex Scrolling Functions
@menu
* down:: move cursor N lines down (default: 1)
* up:: move cursor N lines up (default: 1)
* page-down:: move N screens down (default: 1)
* page-up:: move N screens up (default: 1)
* goto:: goto line N (default: last)
* isearch:: incremental search
@end menu
@c ---------------------------------------------------------------------
@node down
@subsection down -- move cursor N lines down (default: 1)
@cindex down
@itemize @bullet
@item
Synopsis: down [@var{n}]
@end itemize
Move cursor down @var{n} lines, wrapping around at the bottom.
@var{n} can be a prefix argument.
@c ---------------------------------------------------------------------
@node up
@subsection up -- move cursor N lines up (default: 1)
@cindex up
@itemize @bullet
@item
Synopsis: up [@var{n}]
@end itemize
Move cursor up @var{n} lines, wrapping around at the top.
@var{n} can be a prefix argument.
@c ---------------------------------------------------------------------
@node page-down
@subsection page-down -- move N screens down (default: 1)
@cindex page-down
@itemize @bullet
@item
Synopsis: page-down [@var{n}]
@end itemize
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.
@c ---------------------------------------------------------------------
@node page-up
@subsection page-up -- move N screens up (default: 1)
@cindex page-up
@itemize @bullet
@item
Synopsis: page-up [@var{n}]
@end itemize
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.
@c ---------------------------------------------------------------------
@node goto
@subsection goto -- goto line N (default: last)
@cindex goto
@itemize @bullet
@item
Synopsis: goto [@var{n}]
@end itemize
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.
@c ---------------------------------------------------------------------
@node isearch
@subsection isearch -- incremental search
@cindex isearch
@itemize @bullet
@item
Synopsis: isearch
@end itemize
Search directory listing incrementally.
@c XXX: genau beschreiben :-)
@c =====================================================================
@node Selection Functions
@section Selection Functions
@cindex Selection Functions
@menu
* enter/get:: enter directory or get file
* enter/view:: enter directory or view file
* enter:: enter directory
* reload:: reload current directory
* get:: get file
* view:: view file
* pipe:: pipe file to command
* put:: put file
* leave:: leave current directory
* cd:: change directory
* state:: change binding state
* leave-tag:: leave @code{<tag>} state
@end menu
@c ---------------------------------------------------------------------
@node enter/get
@subsection enter/get -- enter directory or get file
@cindex enter/get
@itemize @bullet
@item
Synopsis: enter/get [file]
@end itemize
Enter directory or get file; default is file/directory at cursor.
@c ---------------------------------------------------------------------
@node enter/view
@subsection enter/view -- enter directory or view file
@cindex enter/view
@itemize @bullet
@item
Synopsis: enter/view [file]
@end itemize
Enter directory or view file; default is file under cursor.
@c ---------------------------------------------------------------------
@node enter
@subsection enter -- enter directory
@cindex enter
@itemize @bullet
@item
Synopsis: enter [file]
@end itemize
Enter directory; default is directory under cursor.
@c ---------------------------------------------------------------------
@node reload
@subsection reload -- reload current directory
@cindex reload
@itemize @bullet
@item
Synopsis: reload
@end itemize
Reload listing of current directory from server, disregarding cache.
@c ---------------------------------------------------------------------
@node get
@subsection get -- get file
@cindex get
@itemize @bullet
@item
Synopsis: get [file]
@end itemize
Get file; default is file under cursor.
@c ---------------------------------------------------------------------
@node view
@subsection view -- view file
@cindex view
@itemize @bullet
@item
Synopsis: view [file]
@end itemize
View file; default is file under cursor.
@c ---------------------------------------------------------------------
@node pipe
@subsection pipe -- pipe file to command
@cindex pipe
@itemize @bullet
@item
Synopsis: pipe [-q] file cmd [arg ...]
@end itemize
Pipe file to command @var{cmd}. If @code{-q} is given, display is not escaped (thus, @var{cmd} should not produce any output).
@c ---------------------------------------------------------------------
@node put
@subsection put -- put file
@cindex put
@itemize @bullet
@item
Synopsis: put [file]
@end itemize
Put file; if no file name given, you will be prompted for it.
@c ---------------------------------------------------------------------
@node leave
@subsection leave -- leave current directory
@cindex leave
@itemize @bullet
@item
Synopsis: leave
@end itemize
Leave current directory, positioning cursor over it.
@c ---------------------------------------------------------------------
@node cd
@subsection cd -- change directory
@cindex cd
@itemize @bullet
@item
Synopsis: cd [dir]
@end itemize
Change remote directory; default is to directory under cursor.
@c ---------------------------------------------------------------------
@node state
@subsection state -- change binding state
@cindex state
@itemize @bullet
@item
Synopsis: state [state]
@end itemize
Change binding state to @var{state}. @xref{Binding States}.
@c ---------------------------------------------------------------------
@node leave-tag
@subsection leave-tag -- leave @code{<tag>} state
@cindex leave-tag
@itemize @bullet
@item
Synopsis: leave-tag
@end itemize
Leave @code{<tag>} state, entering whatever state was active before
entering @code{<tag>} state.
@c =====================================================================
@node Tagging Functions
@section Tagging Functions
@cindex Tagging Functions
@menu
* tag:: tag/untag file for later download
* clear-tags:: clear all tags
* get-tags:: get tagged files
* save-tags:: save tag list to file
* load-tags:: load tag list from file
* save-urls:: save tags as url list
@end menu
@c ---------------------------------------------------------------------
@node tag
@subsection tag -- tag/untag file for later download
@cindex tag
@itemize @bullet
@item
Synopsis: tag [file]
@end itemize
Tag file; default is file under cursor.
@c ---------------------------------------------------------------------
@node clear-tags
@subsection clear-tags -- clear all tags
@cindex clear-tags
@itemize @bullet
@item
Synopsis: clear-tags
@end itemize
Clear all tags.
@c ---------------------------------------------------------------------
@node get-tags
@subsection get-tags -- get tagged files
@cindex get-tags
@itemize @bullet
@item
Synopsis: get-tags download tagged files
@end itemize
Download tagged files.
@c ---------------------------------------------------------------------
@node save-tags
@subsection save-tags -- save tag list to file
@cindex save-tags
@itemize @bullet
@item
Synopsis: save-tags [file]
@end itemize
Save tag list to file, in the same format as the listing in
@code{<tag>} state.
@c ---------------------------------------------------------------------
@node load-tags
@subsection load-tags -- load tag list from file
@cindex load-tags
@itemize @bullet
@item
Synopsis: load-tags [file]
@end itemize
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).
@c ---------------------------------------------------------------------
@node save-urls
@subsection save-urls -- save tags as url list
@cindex save-urls
@itemize @bullet
@item
Synopsis: save-urls [file]
@end itemize
Save tag list to file, in URL notation.
|