|
The following archie commands are available for
telnet archie search:
Telnet Archie command |
It does |
exit, quit, bye |
exits archie. |
help <command-name> |
invokes the on-line help. If a command-name is given, the
help request is restricted to that command. Pressing the RETURN key
exits from the on-line help. |
list
<pattern> |
provides a list of the FTP servers in the database and the time at
which they were last updated. The result is a list of site names, with
the site IP address and date of the last update in the database. The
optional parameter limits the list to sites matching
pattern:
the command list with no
pattern will list all
sites in the database (more than 1000 sites!). E.g.
list \.kr$
will list all Korean anonymous ftp sites
archie> list \.kr$
# Your queue position: 1
# Estimated time for completion: 13 seconds.
working... =
cbubbs.chungbuk.ac.kr 203.255.72.254 14:47 23 Feb 2001
ftp.kigam.re.kr 134.75.144.10 15:11 16 Jul 2001
ftp.kornet.nm.kr 168.126.63.7 02:27 4 Mar 2001
uniboy.dwt.co.kr 165.133.1.2 15:11 16 Jul 2001
...............
archie> | |
|
site(*) site-name |
lists the directories and subdirectories held in the database from
a particular site-name. The result may be very long. |
whatis string |
searches the database of software package descriptions for
string. The search is case-insensitive.
If you send the command whatis sparse
(=sparse matrix solver)
in a Telnet session, then you will get the following results:
archie> whatis sparse
harwell MA28 sparse linear system (argonne)
laso Scott's Lanczos program for eigenvalues of sparse
matrices (argonne)
sparse Kundert + Sangiovanni-Vincentelli, C sparse linear
algebra (argonne)
sparspak George + Liu, sparse linear algebra core (argonne)
y12m Sparse linear system (Aarhus) (argonne)
archie>
| |
|
prog string | pattern
find(+) string | pattern |
searches the database for string or pattern.
Searches may be performed in a number of different ways specified in the
variable search, which also determines whether the parameter
is treated as a string or as a pattern.
The search produces a list of
FTP site addresses which contain filenames matching the pattern or
containing the string, the size of the file, its last modification date
and its directory path. The number of matches is limited by the
maxhits variable.
The list can be sorted in different ways,
depending on the value of the sortby variable. By default,
the variables search, maxhits and sortby
are set to, respectively, exact match search on string, 1000
hits and unsorted resulting list.
A search can be aborted by typing the
keyboard interrupt character (Control-C); the list produced at that point will be
displayed. |
mail <email> <,email2...> |
places the result of the last command in a mail message and
dispatches specified e-mail address(es). If no mail address is specified
as a parameter, the result is sent to the address specified in the
variable mailto. |
show <variable> |
displays the value of the given variable. If issued with no argument,
it displays all variables. The archie variables are shown below with the
details of the set command. |
set variable value |
changes the value of the specified archie variable.
The variables specify how other archie commands should operate. |
|
Variables and
values of telnet archie command are:
Archie command Variable/Value |
It means |
compress(+) compress-method |
specifies the compression method (none or
compress) to be used
before mailing a result with the mail command. The default is none. |
encode(+) encode-method |
specifies the encoding method (none or
uuencode) to be used before mailing a result with the mail
command. This variable is ignored if compress is not set. The default is
none. |
mailto email <,email2 ...> |
specifies the e-mail address(es) to be used when the
mail
command is issued with no arguments. |
maxhits number |
specifies the maximum number of matches
prog will
generate (within the range 0 to 1000). The default value is 1000. |
search search-value |
determines the kind of search performed on the database by the
command: prog string | pattern. search-values are:
- sub
- a partial and case insensitive search is performed
with string on the database, e.g.:
"is" will match "islington" and "this" and "poison"
- subcase
- as above but the search is case sensitive, e.g.
"TeX" will match "LaTeX" but not "Latex"
- exact
- the parameter of
prog (string) must EXACTLY match
the string in the database (including case). The fastest search method
of all, and the default.
- regex
- pattern is used as a Unix regular expression to
match filenames during the database search.
- sortby sort-value
- describes how to sort the result of
prog.
sort-values are:
- hostname
- on the FTP site address in lexical order.
- time
- by the modification date, most recent first.
- size
- by the size of the files or directories in the list,
largest first.
- filename
- on file or directory name in lexical order.
- none
- unsorted (default) -- Reverse sorts can be carried out
by prepending r to the sortby value given (e.g.
rhostname instead of hostname).
- set term terminal-type <number-of-rows <number-of-columns>
- tells the archie server what type of terminal you are using,
and optionally its size in rows and columns, e.g.
set term xterm 24 100
|
|
|