🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #26008

Re: Slrn 0.9.0.0 & slang questions

#26008
From: da... John E. Davis
Date: Mon, 16 Sep 1996 00:00
29 lines
1656 bytes

On 16 Sep 1996 07:53:35 GMT, Heikki Kantola <hkan...@cc.Helsinki.FI>
wrote:
 : I've playing with Slrn 0.9.0.0's slang support again, and found couple
 : problems. First I'm wondering how one can check some env variable's
 : value within slang (as I'd want to check the hostname and select few

     Use the 'getenv' intrinsic function, e.g.,
     
          variable host = getenv ("HOSTNAME");
	  !if (strlen (host))
	     error ("HOSTNAME environment variable not set.");
	     
     
 : things based on that). Secondly I'm wondering if there's any hope to
 : get somehow value of some header of the currently selected article
 : into some variable (I would want to create a function to grab From:-
 : field in order to get a author profile from Deja News).

    An intrinsic to grab headers of the current article will be
    available in 0.9.1.

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis

Technical Details
Message-ID: <slrn53qfd2.cu.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
References: <51j11v$r4s@oravannahka.Helsinki.FI>

Show Full Headers
Complete Article Headers
Message-ID: <slrn53qfd2.cu.davis@aluche.mit.edu>
Subject: Re: Slrn 0.9.0.0 & slang questions
Date: Mon, 16 Sep 1996 00:00:00 +0000
From: da...@space.mit.edu (John E. Davis)
References: <51j11v$r4s@oravannahka.Helsinki.FI>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail
X-Deja-AN: 180904512
Organization: Center for Space Research
Reply-to: da...@space.mit.edu
Newsgroups: news.software.readers,alt.lang.s-lang