🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Chun-Kuen Kwong Mon, 09 Dec 1996 00:00
tin and the USER variable
#28237
Author: Chun-Kuen Kwong
Date: Mon, 09 Dec 1996 00:00
12 lines
1029 bytes
I need tin to send a user name to my remote NNTP server.  But the problem
is, it automatically send my USER (or LOGNAME) as default.

Since my login name (kwong) is not what my NNTP server uses (ckwong), I
can't access it from NNTP.  And since I can't change the USER/LOGNAME
variable, I need a work-around...(no, I can't change the login name on
either my host machine, nor the NNTP machine..)

   

Re: tin and the USER variable
#28250
Author: Greg Berigan
Date: Mon, 09 Dec 1996 00:00
22 lines
1467 bytes
kwong@ecf.toronto.edu (Chun-Kuen Kwong) wrote:

>(no, I can't change the login name on
>either my host machine, nor the NNTP machine..)

Can you ask someone who _can_ change the login name on your host machine
and/or the NNTP machine to change it for you?  Perhaps both of them to
ckkwong?

Or upgrade to tin 1.3 unoff which can specify the user name to use on the
server independently of the username on your host.  See
<http://cse.unl.edu/~gberigan/usenet/tin-ftp.html> for a list of FTP sites.

-- 
         _-<#)-=# http://cse.unl.edu/~gberigan/War-of-the-Worlds.html
     ___/___
  _-~_--<###)    "Imagine having one of them lovely things with its Heat
<~c>' __--<       Ray wide and free!  We'd turn it on Martians, we'd turn
 \_--=____#)      it on men!  We'd bring everybody down to their knees!"

Re: tin and the USER variable
#28265
Author: Johnny Liang
Date: Tue, 10 Dec 1996 00:00
12 lines
883 bytes
On 10 Dec 1996 18:07:15 GMT, Tad McClellan (mcclellantj@harrier13) writes:

: I made an alias to modify USER, run tin, then change it back:
: alias news 'setenv USER mcclellantj; tin; setenv USER tad'

	Hmm.. okay how about this one.. How do you change the the part
	with your real name? 

	-John

Re: tin and the USER variable
#28272
Author: Tad McClellan
Date: Tue, 10 Dec 1996 00:00
22 lines
1310 bytes
Chun-Kuen Kwong (kwong@ecf.toronto.edu) wrote:
: I need tin to send a user name to my remote NNTP server.  But the problem
: is, it automatically send my USER (or LOGNAME) as default.

: Since my login name (kwong) is not what my NNTP server uses (ckwong), I
: can't access it from NNTP.  And since I can't change the USER/LOGNAME
: variable, I need a work-around...(no, I can't change the login name on
: either my host machine, nor the NNTP machine..)


I made an alias to modify USER, run tin, then change it back:


alias news 'setenv USER mcclellantj; tin; setenv USER tad'


--
  Tad McClellan,      Logistics Specialist (IETMs and SGML guy)
                      email: mcclellantj@lmtas.lmco.com

Re: tin and the USER variable
#28337
Author: Carey
Date: Thu, 12 Dec 1996 00:00
20 lines
1289 bytes
On 10 Dec 1996 18:07:15 GMT, Tad McClellan <mcclellantj@harrier13> wrote:
                                                        ^^^^^^^^^ ?
>I made an alias to modify USER, run tin, then change it back:
>
>alias news 'setenv USER mcclellantj; tin; setenv USER tad'

You could write this a bit easier, and have it work properly with ^Z, as
    alias news 'env USER=mcclellantj tin'

Or use bash, zsh or ksh (?) and
    alias news='USER=mcclellantj tin'

-- 
	  Carey Evans  <*>  c.evans@student.canterbury.ac.nz

"The liberty of the individual must be thus far limited; he must not make a
 nuisance of himself to other people."        - John Stuart Mill, _On Liberty_

Re: tin and the USER variable
#28343
Author: David Mears
Date: Thu, 12 Dec 1996 00:00
19 lines
1062 bytes
On 10 Dec 1996 18:07:15 GMT, Tad McClellan <mcclellantj@harrier13> wrote:

>I made an alias to modify USER, run tin, then change it back:
>
>
>alias news 'setenv USER mcclellantj; tin; setenv USER tad'

The env command allows you to change the settings for ENVariables for
a single command.  You can therefore accomplish the same thing with

	env USER=mcclellantj tin

David B. Mears
Hewlett-Packard
Cupertino CA
mears@cup.hp.com

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads