[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -s flag is broken
- To: http://www.cas.org/~lvirden (Larry W. Virden, x2487)
- Subject: Re: -s flag is broken
- From: http://dummy.us.eu.org/robert (robert)
- Date: Tue, 29 Oct 1996 08:52:09 -0800
- In-Reply-To: <9610281212.http://www.cas.org/~AA6314>
- XX-from: http://dummy.us.eu.org/robert (Robert)
> From: http://www.cas.org/~lvirden (Larry W. Virden, x2487)
> Date: Mon Oct 28, 12:12pm
>
> Hmm - I see one problem - trn doesn't seem to be using the TRNMACRO variable.
> $ echo $TRNMACRO
> /tmp/trnkill
> csa21s4m (97) $ trn +A -q -s -T -t -x +X ++
> trn 4!
> Connecting to news.cas.org...Done.
> control: 1 article
> comp.lang.tcl: 37 articles
> comp.lang.perl.tk: 1 article
> news.announce.newusers: 1 article
> cmh.jobs: 33 articles
> etc.
>
> ==== 1 in oh.newsadmin -- read? [ynq] &&
>
> Macros:
> ^U %(%m=t?+u:u)
> ^[OM+3 ^C
> ^[[M+3 ^C
> *I $/%"^JMessage id? "/rHmessage-id:^J
> *L w|do-format|less\n
> U %(%m=[aenp]?U+:U)
> ` %(%m=[aept]?^M:`)
> u %(%m=[aenp]?U:u)
>
> See that 1) the trnkill macros are not appearing in the list of defined macros,
> 2) the default macros ARE appearing, even though I indicated a +A to tell trn not
> to do this. Interestingly enough, these macros ARE defined in a $HOME/.trnmac
> file.
>
> When I use a -ETRNMACRO=/tmp/trnkill, that works a bit:
> ==== 1 in oh.newsadmin -- read? [ynq] &&
>
> Macros:
> ^J ^(z^)
> ^M ^(z^)
> ^[OM+3 ^C
> ^[[M+3 ^C
> p %`echo %m`
> z %(%m=[nf]?.q^J:n)^(z^)
>
> however, there is still the two escape sequences being created.
>
> It looks like with that -E flag, things are working better. Is
> this a bug in trn 4.0?
> --
> Larry W. Virden INET: http://www.cas.org/~lvirden
> <URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
> Unless explicitly stated to the contrary, nothing in this posting should
> be construed as representing my employer's opinions.
>
Why is my trnkill working? I am using trn 4.0 patchlevel 42, I believe. So,
I'm a little out of date. I haven't checked which macros are actually getting
to be defined. Also, do you set DOTDIR at all? Just curious...