wdstarr@athena.mit.edu (William December Starr) (01/01/90)
For reasons which defy human comprehension, I'm trying to rig
something for RN (running under vanilla UNIX, I think) which will
allow me to toggle between two states while in RN. The states are:
(1) Most of my "h" switches are set to a negative state, such that
entering an "&" gets me:
Current switch settings:
+/ +c -C20 -d/afs/sipb.mit.edu/user/wdstarr/News -e -F"> " -g0
+hunrecognized -harticle-i.d. -happroved -hdistribution +hdate
+hdate-received -hexpires -hfollowup-to +hfrom +hkeywords
+hlines -hmessage-id -hnf-from -hnf-id -hnewsgroups
-horganization -hpath -hposted -hposting-version -hreply-to
-hreferences -hrelay-version -hsender +hsummary +hsubject
-hxref -i8 +l +L -mu -M +N +r -s +S +t +T +v
This is the default state, generated by my issuing the following
setenv before calling RN:
setenv RNINIT '-e -2400-EPAGESTOP="^-- $" -F"> " -M -m=u -hfoll -hrep -hin -hsend -hwarn -hdist -href -horg -hmess -2400-i=0'
The other state is:
(2) Every "h" switch in my universe is set to a positive state, such
that entering a "&" gets me:
Current switch settings:
+/ +c -C20 -d/afs/sipb.mit.edu/user/wdstarr/News -e -F"> " -g0
+hunrecognized +harticle-i.d. +happroved +hdistribution +hdate
+hdate-received +hexpires +hfollowup-to +hfrom +hkeywords
+hlines +hmessage-id +hnf-from +hnf-id +hnewsgroups
+horganization +hpath +hposted +hposting-version +hreply-to
+hreferences +hrelay-version +hsender +hsummary +hsubject
+hxref -i8 +l +L -mu -M +N +r -s +S +t +T +v
I've tried tying a lot of "&switch" commands to an rn macro:
# { -- "{" causes all hiding to be disabled.
# Active only in article and pager modes.
{ %(%m=[ap]?&switch +harticle-i.d. &switch +happroved &switch +hdistribution &switch +hexpires &switch +hfollowup-to &switch +hmessage-id &switch +hnf-from &switch +hnf-id &switch +hnewsgroups &switch +horganization &switch +hpath &switch +hposted &switch +hposting-version &switch +hreply-to &switch +hreferences &switch +hrelay-version &switch +hsender &switch +hxref:{)
but all that gets me is a nice little crash:
% interp buffer overflow!
Caught an internal error--.newsrc restored
Can anybody help me out on this?