pjh@mccc.UUCP (Pete Holsberg) (02/07/89)
I'm using mailx on a SysV R3.1 3B2/400. 90% of my email has addresses that begin: njsmu!princeton!njin!rutgers! Is there any way to assign that string to a key or alias or ??? so that I don't have to type it every time? I tried an alias in .mailrc but that didn't work. I can assign the string to a function key on my console, but then I can't get to it from my remote login sites. Thanks. Pete -- Pete Holsberg UUCP: {...!rutgers!}princeton!mccc!pjh Mercer College CompuServe: 70240,334 1200 Old Trenton Road GEnie: PJHOLSBERG Trenton, NJ 08690 Voice: 1-609-586-4800
ln63wzb@sdcc13.ucsd.EDU (Mike Sanford [TA]) (02/08/89)
In article <599@mccc.UUCP> pjh@mccc.UUCP (Pete Holsberg) writes: >I'm using mailx on a SysV R3.1 3B2/400. 90% of my email has addresses that >begin: > njsmu!princeton!njin!rutgers! >Is there any way to assign that string to a key or alias or ??? so that >I don't have to type it every time? >Thanks. >Pete Holsberg UUCP: {...!rutgers!}princeton!mccc!pjh >Mercer College CompuServe: 70240,334 >1200 Old Trenton Road GEnie: PJHOLSBERG >Trenton, NJ 08690 Voice: 1-609-586-4800 I have found that you can create a shell variable that will do this: $ NETPATH=njsmu!princeton!njin!rutgers ; export NETPATH Then to use this: $ mailx $NETPATH!root Good Luck, Mike ______________________________________________________________________________ Mike Sanford (619) 534-4870 |Internet: sanford@ssurf.ucsd.edu Scripps Inst. of Oceanography, U.C.S.D.|BITnet: msanford@ucsd.bitnet A-030-SSURF |UUCP: ...!ucsd!ssurf!sanford La Jolla, CA 92093 USA |SPAN/DECnet: SSURF::SANFORD _______________________________________|______________________________________ Why do you park on a driveway and drive on a parkway?