Commit Graph

877 Commits

Author SHA1 Message Date
sperber 0cbe13d177 Work correctly if port specification is #t (for (CURRENT-OUTPUT-PORT)). 2002-02-21 14:03:18 +00:00
sperber 5d19ffbb31 Make regexps explicit for infix splitters.
Remove superfluous note about scsh 0.4.4.
2002-02-21 14:02:07 +00:00
sperber 0bdfbca902 Make regexps explicit for infix splitters. 2002-02-21 14:01:22 +00:00
sperber f097c07cbf Use STDPORTS. 2002-02-21 14:00:42 +00:00
interp d5dcfe983d added list of files to ignore 2002-02-20 14:19:20 +00:00
interp c787fd814a make it work 2002-02-20 14:16:26 +00:00
interp 7d8cae20fa Added forgotten package 2002-02-20 14:16:07 +00:00
sperber dcdb7e4371 Remove superfluous display of condition. 2002-02-20 13:55:19 +00:00
sperber 40e026a889 Terminate directory output by CRLF. 2002-02-20 13:40:27 +00:00
sperber 8c04b1b95e New LS-CRLF? fluid controls whether LS terminates lines with CRLF. 2002-02-20 13:40:09 +00:00
interp d79f2cb360 removing byte file from repository 2002-02-12 13:06:36 +00:00
interp 7e78d0f8a8 * Created LaTeX style documentation. All documentation in plain text files
were now moved to this LaTeX doc (man.tex).
  Currently, not everything is documented.
2002-02-12 11:50:54 +00:00
interp 216c0d124d * minor changes in comments 2002-02-12 11:47:54 +00:00
interp 2b75e4feee * minor changes in the comments
* transfer mode: 'ascii and 'text denote the same
* readding date->string call to the log-call in ftp:connect
* changed calls to netrc:lookup-{login, password} in ftp:login as the
  netrc module works now properly
* correcting minor bug in ftp:build-command-string
2002-02-12 11:47:13 +00:00
interp 5be3a20f9b Really minor format changes. Unimportant. 2002-02-12 11:37:28 +00:00
sperber ebbbe7192f First stab at DNS client, based on the code from PLT.
Note it does at least one thing wrong (besides what's noted in PLT's
documentation):

> (dns-get-address "macon" "ftp.uni-tuebingen.de")
"8.115.111.102"

(The original version also does this.  I assume it has something to do
with recursive queries.)
2002-01-25 16:50:23 +00:00
sperber 49de023eb7 Typo fix in log message. 2002-01-11 13:18:34 +00:00
sperber f5cd1798d3 THREAD-FORK doesn't take an additional second argument (yet). 2002-01-08 15:02:39 +00:00
mainzelm 0c7e75a2b5 + Use fork-thread
+ Replaced host-name-or-empty by host-name-of-ip
2002-01-08 14:02:39 +00:00
mainzelm f6d210ea86 Fixes for the reader. 2002-01-08 12:53:27 +00:00
interp f9dc21c767 netrc:parse handles following conditions correctly by returning
a default netrc-record:
* the specified file does not exist
* the file does exist but does not have the correct permissions
In both cases a warning is printed on (current-error-port)
So, netrc:parse always returns a usable record.
If you want to catch the errors use netrc:try-parse
2001-12-27 16:45:32 +00:00
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 75633864c3 Changes from V200-alpha3 of PLT. 2001-12-14 14:09:35 +00:00
mainzelm 29161884e9 Changed the Copyright for Eric's files to BSD style. 2001-11-15 11:12:24 +00:00
interp 20a12efc6d * beautifying modules.scm by ...
* ... creating sunet-utilities.scm
2001-11-13 18:37:05 +00:00
interp a76848a6c6 * let ftpd generate more useful output on error conditions
* include format-net package in ftpd package
2001-11-13 13:50:24 +00:00
mainzelm 70306ad10e Added port from PLT's xml library. 2001-10-29 08:48:42 +00:00
mainzelm e90c8b14c3 Don't loose if the remote host has no DNS entry. 2001-10-29 08:39:15 +00:00
mainzelm aa2f04195e + Moved http-error from the forked process into the server process.
+ Set stdin and stdout to the current-in/output-port after forking.
2001-10-24 11:02:46 +00:00
mainzelm 612ca1e0ad Moved to new package layout. 2001-10-08 17:37:30 +00:00
mainzelm c4778aa49c Fixed broken usage of string-join. 2001-10-08 17:33:13 +00:00
mainzelm af7288f535 Revert to old bufpol name. 2001-10-08 17:32:49 +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
interp 66907428e0 Minor change in ls-path. 2001-09-10 12:26:40 +00:00
interp 3c200d4db9 even less STAT-calls
(removed STAT-calls when called with RECURSIVE)
2001-09-07 16:38:38 +00:00
interp 5973322619 RECURSIVE - flag works now (removed bug from previous revision). 2001-09-07 15:23:08 +00:00
interp 69271875a9 COLUMNS - flag works now (removed bug from previous revision). 2001-09-07 15:22:02 +00:00
interp a9a269043f changes made to
* avoid too many STAT-calls
* show executable-flag (*) for regular files
2001-09-07 15:08:37 +00:00
interp 669e5ab4a8 contents of CONDITIONALS.SCM are not used any more
contents of TOOTHLESS.SCM can be found in modules.scm
2001-08-20 11:33:04 +00:00
interp 6c702e9a03 sunet can be used with scsh 0.6 now (hopefully).
explicitly named every interface
moved TOOTHLESS.SCM to MODULES.SCM
removed macros from CONDITIONALS.SCM (UNLESS, WHEN, ?, SWITCH, SWITCHQ)
  thereby removed conditionals.scm and the modules SWITCH-SYNTAX and CONDHAX.
2001-08-20 11:31:03 +00:00
interp a741498c59 ftpd.scm: corrected typo; ftpd.scm.doc: doc for ftpd.scm 2001-08-09 10:55:08 +00:00
interp 3cc5d8c837 Changed syslog-levels for following facilities:
changes concerning CONNECTIONS and the PUT (STOR) command are logged as NOTICE
GET (RETR) command and all other commands are logged as INFO
every thing else is logged as DEBUG

internal errors, unix errors and the reaching of unreachable case-branches are logged as NOTICE
success (as long as interesting) and failure of commands are logged as INFO

the debug messages are to used in cooperation with the other levels, so if you want to do debugging, let all messages be put in one file.
2001-07-24 17:11:42 +00:00
interp cd5e03ec9a PARSE-URI modified: search-part is now correctly recognized, no matter frag is given or not 2001-07-16 11:31:41 +00:00
interp a90dfae496 * finished adding syslogs to ftpd
* trim-spaces doesn't throw exception on emtpy strings any more
* spawn-thunk in FTPD moved to new procedure
* always catching SOCKET->STRING errors
* log-calls don't produce extra calculations anymore
* consequently logging reply codes
: ----------------------------------------------------------------------
2001-07-13 17:21:39 +00:00
sperber f4db620dd9 Free SYSLOG parameters so we can set them from the outside. 2001-07-10 12:06:59 +00:00
sperber 2c6d19ef63 Simplify and debugify NORMALIZE-PATH.
Catch ERRNO/NOTCONN out of SOCKET->STRING.
2001-07-07 19:37:53 +00:00
interp dbebe4e8ef even more syslogs inserted 2001-07-07 15:19:52 +00:00
uid35759 e63ed67403 Open THREADS-INTERNAL into FTPD. 2001-07-04 11:34:20 +00:00
interp 747f3cb054 added more syslog messages 2001-06-29 15:10:28 +00:00
interp 5b666fb2e4 using WITH-SYSLOG-DESTINATION 2001-06-26 13:15:56 +00:00