summaryrefslogtreecommitdiff
path: root/sys/crypto/spr.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2003-05-12 19:01:59 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2003-05-12 19:01:59 +0000
commit133a9e1f61a57c0b8c2b055ffc29e15820eaeead (patch)
tree3a3050b51e54e29b5a7277f84249e94d84c994fa /sys/crypto/spr.h
parent3466355dad79d9e5119cb618e457ee864ddadd81 (diff)
More cleanup and fixes in url installs.
1) Filter appropriate lines (ftp or http) from ftplist once when it is downloaded rather than everytime the lines are needed. 2) Don't display the 'ftp://' or 'http://' part of the listed url's as all displayed url's are of the same type. Partially compensates for the last increase in the width of the 'cat -n' line number field. 3) Store filtered lines in /tmp/serverlist instead of /tmp/ftplist, since it can be a list of http servers too. Makes it more obvious that it is not a copy of ftplist. 4) Avoid 'ftplist: No such file' message, but add more informative 'Getting...done.' or 'Getting...FAILED.' message. Display the actual ftp error that caused the FAILED status. 5) Add 'done' to the list of available options when asking for a server location, allowing the user to return to set location selection without having to enter a server. 6) Mention the '?' option in the prompt. It re-displays the list of servers. 7) Eliminate unneeded variables 'host' and 'maxlines'. Make global tline a local (_line). Change _ftp_get_list global to more generic _get_server_list. 8) General logic cleanup.
Diffstat (limited to 'sys/crypto/spr.h')
0 files changed, 0 insertions, 0 deletions