Xref: utzoo comp.unix.questions:27882 comp.unix.misc:784 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!julius.cs.uiuc.edu!rpi!uupsi!ncs.dnd.ca!ncs.dnd.ca!rpburry From: rpburry@ncs.dnd.ca (Paul Burry) Newsgroups: comp.unix.questions,comp.unix.misc Subject: How do you define macros in a .netrc file? Message-ID: <1991Jan6.140100.6356@ncs.dnd.ca> Date: 6 Jan 91 14:01:00 GMT Sender: rpburry@ncs.dnd.ca (Paul Burry) Organization: Dept of National Defence Lines: 25 I am trying to define the 'init' macro in the .netrc ftp startup file, but I cannot seem to get it to work. I was able to define the macro interactively, but I can't get it to work in the netrc file. Can anyone tell me how to do it? I was trying: machine themachine login thelogin password thepassword macdef init bin prompt cd pub Thanks, Paul -- ---------------------------------------------------------------------- Paul Burry Voice: (613)-991-7325 Internet: rpburry@ncs.dnd.ca Fax: (613)-991-7323 UUCP: ..!{uunet,cunews}!ncs.dnd.ca!rpburry