Thread View: news.software.readers
2 messages
2 total messages
Started by usenet
Sun, 09 Nov 2003 08:18
[trn] Select My Postings
Author: usenet
Date: Sun, 09 Nov 2003 08:18
Date: Sun, 09 Nov 2003 08:18
9 lines
1372 bytes
1372 bytes
When posting, often I use a "From:" different from the default username@hostname of the server I'm logged into. Is there any way to set environment variables or configs so that the "Select My Posting" feature of trn works? I'm no C coder, but I did have a look through the code and believe it's dependent on LOGNAME and the hostname trn gets from the server. I tried resetting those 2 environment variables, but no luck.
Re: [trn] Select My Postings
Author: Lars J. Aas
Date: Mon, 10 Nov 2003 16:41
Date: Mon, 10 Nov 2003 16:41
23 lines
2337 bytes
2337 bytes
In article <bokt8f$1vtk$1@shell.inch.com>, <usenet@blst.org> wrote: > When posting, often I use a "From:" different from the default > username@hostname of the server I'm logged into. You can put entries like the one below in your global kill-file (that would usually be ~/News/KILL) for all addresses you post from: /username@domain/f:T. The username@domain string is a regular expression, so you should quote your domain-dots (e.g. larsa@sim\.no) to be correct, although no backslashing will work too (but "." matches _any_ character). > I'm no C coder, but I did have a look through the code and believe > it's dependent on LOGNAME and the hostname trn gets from the server. > I tried resetting those 2 environment variables, but no luck. Both $USER and $LOGNAME seems to be in use - don't know which has priority if both exists - probably $USER. Anyways, there are a lot of ways to configure how trn picks up the domain-part to use in postings so it's probably easiest to go for the kill-file approach. Lars J
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