Commit Graph

3 Commits

Author SHA1 Message Date
interp 89bb20c63e * in netrc.scm:
- changes to make Eric's code fit our desires:
    . functional concept (netrc:parse returns a record that has to be carried with)
    . usual errors (no such file, no such machine) are caught and handled adequately
      (nevertheless the user can get the errors, if he wants to)
    . netrc:parse works when no ~/.netrc file exists
    . default-values (file-name, login, password) can be set while
      calling netrc:parse
    . netrc:lookup, netrc:lookup-password, netrc:lookup-login return
      default-values by default (can be switched off)
  - removed bug in netrc:lookup

* in modules.scm:
  new export in netrc-interface: netrc:try-parse (returns error if
   file does not exist)

* in ecm-utilities:
  rewrote nslookup-fqdn: uses host-info now
2001-12-18 18:08:08 +00:00
mainzelm 29161884e9 Changed the Copyright for Eric's files to BSD style. 2001-11-15 11:12:24 +00:00
interp 4063467f96 * Files made fit for scsh 0.6
* Added further features from Eric Marsden:

   * ftp.scm -- a module for transfering files using the FTP protocol

   * pop3.scm -- a module for accessing a maildrop using the POP3
     protocol

   * netrc.scm -- a module for parsing users' ~/.netrc files to
     obtain authentication information

   * nettime.scm -- a module for obtaining the time from remote
     machines, using either the Time (rfc868) or the NetTime (rfc867)
     protocols.

Unfortunetaly,
pop3.scm needs further revision because of undefined procedures and
netrc.scm needs further revision.

Nevertheless they were added because, beside the problems, they fit
scsh 0.6.
2001-09-12 18:53:50 +00:00