[7461] in Athena Bugs

home help back first fref pref prev next nref lref last post

decmips 7.2R: ftp

daemon@ATHENA.MIT.EDU (Tom Palka)
Mon Apr 22 17:14:09 1991

To: bugs@ATHENA.MIT.EDU
Date: Mon, 22 Apr 91 17:13:48 EDT
From: Tom Palka <tompalka@ATHENA.MIT.EDU>

System name:		tailgunner
Type and version:	KN01 7.2R
Display type:		PM-MONO

What were you trying to do?

I tried using the "macdef init" option in my .netrc file.

What's wrong:

> ftp athena-dist.mit.edu
Connected to AENEAS.MIT.EDU.
220 aeneas FTP server (Version 4.136 Mon Oct 31 23:18:38 EST 1988) ready.
Unknown .netrc option macdef
Unknown .netrc option init
Unknown .netrc option verbose
Unknown .netrc option hash
Unknown .netrc option binary
Unknown .netrc option dir
331 Guest login ok, send ident as password.
230 Guest login ok, access restrictions apply.

FTP doesn't seem to recognize the "macdef" or "init" or anything else
that's in the macro definition.

What should have happened:

It should have worked -- executed the commands in my macro.

Please describe any relevant documentation references:

man ftp:

          macdef name
                    Defines a macro.  This token functions like the ftp
                    macdef command.  A macro is defined with a specified
                    name; its contents begin with the next .netrc line and
                    continue until a null line (consecutive new-line char-
                    acters) is encountered.  If a macro named init is
                    defined, it is automatically executed as the last step
                    in the auto-login process.

my .netrc:

machine athena-dist.mit.edu     login anonymous  password palka@mit.edu
macdef init
verbose
hash
binary
dir




home help back first fref pref prev next nref lref last post