Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!cs.umn.edu!uc!shamash!timbuk!willow23!rice From: rice@willow23.cray.com (Jonathan Rice) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: tenex vs. binary (was: Re: GARBO.UWASA.FI) Summary: ftp defaults can be set for each site Keywords: ftp Message-ID: <092923.22511@timbuk.cray.com> Date: 21 Mar 91 15:38:54 GMT Article-I.D.: timbuk.092923.22511 References: <12011@uhccux.uhcc.Hawaii.Edu> <1991Mar19.110958.17619@uwasa.fi> <3067@bimacs.BITNET> <1991Mar19.203443.21165@agate.berkeley.edu> <6978@spdcc.SPDCC.COM> <1991Mar20.045439.11391@minyos.xx.rmit.oz.au> <5472@vela.acs.oakland.edu> Organization: Cray Research, Inc., Eagan, MN Lines: 33 In article valley@uchicago (Doug Dougherty) writes: >So, the net result of this is that you should never user tenex, right? >(I had noticed as well that binary seemed to work just fine. In fact, I >set binary everywhere, and I just wish it were the default for FTP) On UNIX systems, in your home directory, in a file called .netrc, place entries of the following format: machine wsmr-simtel20.army.mil login anonymous password me@here.com macdef init binary machine wuarchive.wustl.edu login anonymous password me@here.com macdef init binary cd /mirrors/msdos machine garbo.uwasa.fi login anonymous password me@here.com macdef init binary and so on. Replace "me@here.com" with your internet id. Ensure that there's a blank line after each entry. Ensure that .netrc is private (chmod 600). The "macdef init" is defining the following lines to be an automatically executed macro -- you can add whatever ftp commands you wish (note the cd in the wustl entry). Not quite a default to binary, but it gets the job done for the sites you commonly connect to. -- Jonathan C. Rice | Internet: rice@cray.com Cray Research, Inc. | UUCP: uunet!cray!rice 655F Lone Oak Drive | (612) 683 - 5370 Eagan, MN 55121 |