🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by bomr Fri, 26 Sep 1997 00:00
Tin configuration questions
#36275
Author: bomr
Date: Fri, 26 Sep 1997 00:00
31 lines
1510 bytes
So, I've just installed and tested for a week,

      tin 1.3 unoff BETA release 970922 [UNIX]

and I'm pretty much satisfied that it works fine.

I have done the installation as a normal user, and not
completed the installation as root, since it is on a
system that I am not a privelaged user of.  When I've
satisfied myself that it works, I will request the system
manager to perform a complete install, for the masses.

A couple of questions, though.  I seem to get new groups
showing up at the top of the group list whenever I start up
tin.  I'd prefer the old method of prompting for what to do about
new groups.  Is there a configuration item somewhere that I have
overlooked to fix this?

Also, when I am reading a thread, I would prefer it to disallow
skipping to articles beyond the end of the thread as I read them.
This was the behavior of the previous version that I got used to.
Can I configure to this behavior in my un-off version?

Thanks for your advice.

	---   rod.



Re: Tin configuration questions
#36324
Author: bomr
Date: Mon, 29 Sep 1997 00:00
19 lines
1160 bytes
Thanks for your reply on my earlier questions, even though I didn't
get the answers I was hoping for.

Now, another question.  Where does tin get my full name to
put in the From: field in the header.  I have set NAME in the
environment, and I can't see anyplace else where it could
be coming from.  

Oh, and one more question.  Now that I've built the program and
started testing it, does the system manager need to re-do the build,
or can he just continue with 'make install' from the existing 
binaries in my file-space?

Thanks,
	---   rod.


Re: Tin configuration questions
#36337
Author: bomr
Date: Mon, 29 Sep 1997 00:00
32 lines
1736 bytes
Urs Jan�en <urs@akk.uni-karlsruhe.de> wrote:

>> I'd prefer the old method of prompting for what to do about
>> new groups.  Is there a configuration item somewhere that I have
>> overlooked to fix this?

>no

Okay.  How about being able configure to add new groups to the *end*
of the group list, then?  The two benefits I perceive this way are:

	1.  The numbering of the groups remains constant, so I can
	    use scripting more easily, to skip to groups of 
	    particular interest.

	2.  I don't have to even look at the fact that there is some
	    new group like 'alt.anal.sex.with.car.parts'

Oh, and BTW, thanks to all the folks who make the fine TIN newsreader
available.  It is an excellent tool, and I appreciate having it.

	---   rod.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Rod Nussbaumer, Programmer/Technologist     Internet: bomr@triumf.ca  
 TRIUMF --- University of British Columbia,     Phone: (604)222-7449
 Vancouver, BC, Canada.                           FAX: (604)222-7307
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: Tin configuration questions
#36341
Author: bomr
Date: Tue, 30 Sep 1997 00:00
46 lines
2493 bytes
Urs Jan�en <urs@tin.org> wrote:
>In <60oq6r$4c4$1@nntp.ucs.ubc.ca>,
>    bomr@triumf.ca wrote:
>> Now, another question.  Where does tin get my full name to
>> put in the From: field in the header.  I have set NAME in the
>> environment, and I can't see anyplace else where it could
>> be coming from.  

>/etc/passwd
>$NAME
>~/.tin/tinrc#mail_address

Okay, I've got my real full name in /etc/password, I've got
an environment variable called NAME set to my full name, and
I've got a shell variable called NAME set to my full name.  The
version 1.2PL2 version on this computer seems to find my full 
name okay, from somewhere.  What gives?

Some facts that may or not be pertinent:

My mail_address is not on the machine that tin is running on.

TIN seems to think I am using sh for my shell, when in fact
it is tcsh.  I find this out by escaping to the shell and doing 
a 'setenv'.  It says "sh: setenv: command not found".  Why might
it think I am using this shell? There is an environment variable 
called SHELL with the value "/etc/tshrc".

I seem to be able to use the tinrc#mail_address method to set my
full name, but I would prefer to have a less syntax-fussy
method.  Ultimately this setup is to be released for general
consumption by people who don't want to hand-edit tinrc.

I realize this may be more of a UNIX question than a TIN question,
but then again, maybe not.  Thanks for your assistance.

	---   rod.
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Rod Nussbaumer, Programmer/Technologist     Internet: bomr@triumf.ca  
 TRIUMF --- University of British Columbia,     Phone: (604)222-7449
 Vancouver, BC, Canada.                           FAX: (604)222-7307
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: Tin configuration questions
#36355
Author: bomr
Date: Tue, 30 Sep 1997 00:00
109 lines
4587 bytes
Urs Jan�en <urs@tin.org> wrote:
>In <60q0j5$u2$1@nntp.ucs.ubc.ca>,
>    bomr@triumf.ca wrote:
>> Okay, I've got my real full name in /etc/password, I've got
>> an environment variable called NAME set to my full name, and
>> I've got a shell variable called NAME set to my full name.  The
>> version 1.2PL2 version on this computer seems to find my full 
>> name okay, from somewhere.  What gives?

>*shrug*

>if mail_address is unset $NAME is taken for the fullname part of
>From:, if $NAME is unset $REALNAME is taken, if $REALNAME is unset
>gecos-filed of the passwd is taken. (see get_from_name()/
>get_full_name() in header.c)

>> TIN seems to think I am using sh for my shell, when in fact
>> it is tcsh.

>set default_shell_command (tinrc) to tcsh

Okay, this is contrary to my understanding of what goes
on when I use the '!' shell command.  Tell me if this
is what actually occurs:

1. User presses the '!' key.
2. Prompt appears, requesting a command, 
   with default from 'default_shell_command'
3. A shell, sh by default, is loaded, and given
   the command line supplied by the user.
4. The shell executes the command, and supplies
   stdout for the user to see, while tin waits
   for user to press RETURN.

Where my question comes from is how it decides whether
to use sh, or if there is another shell (tcsh in
my case) which it should load to execute the command.
Or have I got the scheme totally wrong?

>>  I find this out by escaping to the shell and doing 
>> a 'setenv'.  It says "sh: setenv: command not found".

>which says that you are using sh

Is it saying that *I* am using sh as my default shell
(I'm not), or that *it* wants to use sh?  If *it* wants to
use sh, how can I change it's mind?


>> Why might
>> it think I am using this shell?

>cause it's the default; sh is available on all unixe systems, tcsh is
>not.

>> There is an environment variable 
>> called SHELL with the value "/etc/tshrc".
>                               ^^^^^^^^^^
>are you shure that's what you want? $SHELL should point to a shell,
>not to a rcfile.

Oops, my mistake.  It actually says has the value "/bin/tcsh", not what
wrote the first time.

So, here is what I did find out:

The tcsh variable 'NAME' can hold the Full Name, and tin finds it.
In the 'NAME' environment variable, tin will not find it.  In the 
'NNTPSERVER' enviroment variable, I can put the i.p. of the (NNTP) news
server.

It seems to me, that using a different shell than it expects may
be causing some of my problems.  No?


>> I seem to be able to use the tinrc#mail_address method to set my
>> full name, but I would prefer to have a less syntax-fussy
>> method.  Ultimately this setup is to be released for general
>> consumption by people who don't want to hand-edit tinrc.

>ever tried the options 'M'enu?

True.  Point taken.


>> I realize this may be more of a UNIX question than a TIN question,
>> but then again, maybe not.  Thanks for your assistance.

>looks like it's a "how (mis)-configured is my system" question ,-)

I don't see any mis-configuration in the system (given that 
the only obvious error was my typo, here), unless the use of
an alternative shell is considered a mis-configuration.  I'm trying
understand how things are supposed to work, so I can make them work,
and there are cases where it isn't making a whole lot of sense.

Thank you for your patience.

	---   rod.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Rod Nussbaumer, Programmer/Technologist     Internet: bomr@triumf.ca  
 TRIUMF --- University of British Columbia,     Phone: (604)222-7449
 Vancouver, BC, Canada.                           FAX: (604)222-7307
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: Tin configuration questions
#36490
Author: Jason
Date: Mon, 06 Oct 1997 00:00
17 lines
1387 bytes
bomr@triumf.ca wrote:

> Where my question comes from is how it decides whether
> to use sh, or if there is another shell (tcsh in
> my case) which it should load to execute the command.
> Or have I got the scheme totally wrong?

> Is it saying that *I* am using sh as my default shell
> (I'm not), or that *it* wants to use sh?  If *it* wants to
> use sh, how can I change it's mind?

Use the #! /bin/tcsh  convention in the script you wish to call ?

Jason.

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