Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84 chuqui version 1.7 9/23/84; site nsc.UUCP Path: utzoo!watmath!clyde!burl!ulysses!cbosgd!ihnp4!nsc!chuqui From: chuqui@nsc.UUCP (Cheshire Chuqui) Newsgroups: net.news Subject: FYI: underlining/highlighting in news articles Message-ID: <1988@nsc.UUCP> Date: Thu, 6-Dec-84 15:30:56 EST Article-I.D.: nsc.1988 Posted: Thu Dec 6 15:30:56 1984 Date-Received: Fri, 7-Dec-84 02:29:57 EST Organization: Plaid Heaven Lines: 53 References <3@osu-eddie.UUCP> <20980012@cmu-cs-k.ARPA> <682@amdahl.UUCP> Reply-To: chuqui@nsc.UUCP (Cheshire Chuqui) Distribution: Organization: Plaid Heaven Keywords: Summary: >Because of this problem, I've implimented a check in readnews(1) for >and environment variable PAGESIZE, which determines how big an article >needs to be before it is sent to PAGER, rather than having it hard- >coded as `16'. (Obviously it is set to '0' to assure continuous >filtering). This is fairly easy to impliment. > >A drawback to this is that if PAGER also contains a program line 'pg' >or 'more', EVERY article would go thru the PAGER -- icky. > >Perhaps there should be a PAGER (use if article is > PAGESIZE) and >FILTER (use always)? > > >A work-around can be done for this: write a script that does the filtering >of stdin to a file, and call the editor on that file (removing the >file afterwards). Make this your PAGER (but -- see disadvantage >above). > > >You can filter them before they get to more: > > PAGER="sed -e 's/_^H//' | more" > >The editor is still a problem, though. > >PS -- my PAGER is "hp | pg" (system V). Considering the speed with which sites upgrade their software for significant enhancements trying to get people to hack in changes to make a questionable feature useful is silly. I'd rather hack in changes that make a questionable feature safe-- eat _^H, for example, to keep it from messing up downstream sites... I promised to be nice and quiet about backspaces in articles, but if people are going to have to start hacking around to make them useful on their sites, you need to realize that most people aren't going to bother-- hence it is simply going to create problems. chuq -- From the center of a Plaid pentagram: Chuq Von Rospach {cbosgd,decwrl,fortune,hplabs,ihnp4,seismo}!nsc!chuqui nsc!chuqui@decwrl.ARPA ~But you know, monsieur, that as long as she wears the claw of the dragon upon her breast you can do nothing-- her soul belongs to me!~