| Line | Revision | Contents |
| 1 | 1 | # FSP startup file (.fsprc) |
| 2 | ||
| 3 | # slightly easier to remember names for the various FSP sites | |
| 4 | ||
| 5 | # Notes: | |
| 6 | # * the first argument to `macro' is the macro name; the second is the | |
| 7 | # help text to be used with it -- this is so it is possible to label | |
| 8 | # macros and find out what it does with `help name' | |
| 9 | # * open takes 3 arguments -- host, port, and home directory | |
| 10 | # failure to specify the last 2 arguments gives defaults of 21 and / | |
| 11 | # * preceeding a command by `@' ensures that the builtin version is | |
| 12 | # used -- a macro `open' could be defined to be something completely | |
| 13 | # different and these macros would still work... | |
| 14 | # * macro's are terminated by a `.' at the start of a blank line | |
| 15 | ||
| 16 | 21 | macro decss "select decss.zoy.org FSP server" |
| 17 | @open decss.zoy.org 21 | |
| 18 | @echo "decss selected" | |
| 19 | 1 | . |
| 20 | ||
| 21 | macro fenriz "Select first new FSP server" | |
| 22 | @open fenriz.transilvanianhunger.org 2000 | |
| 23 | @echo "Transilvian hunger selected" | |
| 24 | . | |
| 25 | ||
| 26 | 37 | macro hsn "THE FSP MAN server" |
| 27 | 111 | @open 88.102.83.205 21 |
| 28 | 37 | @echo "THE FSP MAN selected" |
| 29 | 25 | |
| 30 | 1 | # the main FSP code repository |
| 31 | macro fsphome "the main FSP code repository" | |
| 32 | 28 | @open host hxt.homelinux.org 21 |
| 33 | 1 | @echo "FSP main repository selected" |
| 34 | . | |
| 35 | ||
| 36 | # I like being given loads of information about the transfers... | |
| 37 | trace all | |
| 38 | ||
| 39 | # retry twice in `quick' succession when idling on a slow connection | |
| 40 | burst 1 | |
| 41 | ||
| 42 | # don't ask questions about retry/continue; assume continue and add to | |
| 43 | # the end of existing files | |
| 44 | prompt off | |
| 45 | ||
| 46 | # set this if you want to datestamp the local file to the same date | |
| 47 | # as the remote file | |
| 48 | #datestamp true | |
| 49 | ||
| 50 | # choose how often you want to see README messages | |
| 51 | #readme never | |
| 52 | readme once | |
| 53 | #readme always | |
| 54 | ||
| 55 | # just an alias I like... doesn't save typing, of course... | |
| 56 | macro lpwd "print the local directory" | |
| 57 | @shell pwd | |
| 58 | . | |
| 59 | ||
| 60 | # if you want to set a pager, either do so in the environment variable | |
| 61 | # PAGER, or do so with a `pager' command; some suggestions are: | |
| 62 | #pager # turn off pager (act like `cat') | |
| 63 | #pager less # use `less' to page | |
| 64 | #pager more # use `more' to page | |
| 65 | #pager "tee .fspcat | less" # make a temporary copy of the file to | |
| 66 | # # the local file `.fspcat' as well as view it | |
| 67 | #pager "tee .$FSPFILE | less" # make a copy of the file to the local file | |
| 68 | # # `.name' where `name' is the file being | |
| 69 | # # cat'd | |
| 70 | ||
| 71 | # end of .fsprc |
Loggerhead is a web-based interface for Bazaar branches