From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,57335b0ba8dfa43f X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-27 17:19:16 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!ihnp4.ucsd.edu!munnari.oz.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!andrewr From: andrewr@itd.adelaide.edu.au (Andrew Rutherford) Newsgroups: comp.unix.osf.osf1 Subject: Re: telnet prompts for root Date: 28 Jun 1994 00:02:06 GMT Organization: The University of Adelaide Message-ID: <2unp9v$kdn@quandong.itd.adelaide.edu.au> References: <2t5upe$t13@janus.cqu.edu.au> NNTP-Posting-Host: iagu.itd.adelaide.edu X-Newsreader: TIN [version 1.2 PL2] Dr Marco Luchini (luchini@ic.ac.uk) wrote: : > |Handy feature if you ask me. Weren't we nice to include it in OSF/1? : > : > It's a pain in the arse. If I want something to act like rlogin I'll use : > rlogin - when I use telnet I want it act like telnet. : Seconded. This new "feature" of telnet is a complete pain. rlogin is : rlogin, telnet is telnet. It would be nice if 3.0 removed this : "feature". Try this sometime: = cat > ~/.telnetrc = default = environ unexport USER = ^D I like the feature. I use telnet to get my display variable copied around, I don't like .rhosts files all over the place, so I am prepared to type my password but don't want to have to type in too many things. If your view that it is a pain in the arse because you have different account names on different machines, then go ahead and make entries for that host. Or only have entries for the hosts you do want it for - but note that you'll have to re-export USER since the defaults get rid of it, eg: = cat > ~/.telnetrc = default = environ unexport USER = xxx.yyy.zzz = environ define USER username = environ export USER = ^D I like it. If you don't, there are documented ways around it. (Although DEC documentation doesn't refer to "default" in one's .telnetrc file, it's pretty obvious when everything else of similar vein does, such as .netrc for ftp. :-( ) I don't use a .telnetrc file myself. Hope this helps, Andrew. -- Andrew Rutherford andrewr@iagu.itd.adelaide.edu Phone: +61 8 303 5669 Plaza 1060, Adelaide Uni Fax: +61 8 303 4400 Real Programmers always confuse Christmas and Mobile: +61 414 313 767 Halloween because OCT 31 == DEC 25 !