🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #56568

Re: [slrn] howto update counter in hook?

#56568
From: John E. Davis
Date: Sat, 08 Jan 2000 00:00
12 lines
1188 bytes
On 7 Jan 2000 16:58:27 GMT, Thomas Schultz <tststs@gmx.de>
wrote:
>This cache-file is not really necessary -- if you have a recent
>version of slang, you can open a pipe to "date" (using the popen()
>command) and read from it instead.

Using the _time () intrinsic function is better.  Other alternatives
include gmtime() and localtime().

--John

Technical Details
Message-ID: <slrn87di3e.qtm.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn87a8om.16h.rejo.f0001nim@sisterray.xs4all.nl> <slrn87aa5f.nas.davis@aluche.mit.edu> <slrn87bbp0.15s.rejo@sisterray.xs4all.nl> <slrn87c6pj.1bn.tststs@starflower.tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn87di3e.qtm.davis@aluche.mit.edu>
Subject: Re: [slrn] howto update counter in hook?
Date: Sat, 08 Jan 2000 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn87a8om.16h.rejo.f0001nim@sisterray.xs4all.nl> <slrn87aa5f.nas.davis@aluche.mit.edu> <slrn87bbp0.15s.rejo@sisterray.xs4all.nl> <slrn87c6pj.1bn.tststs@starflower.tststs.ddns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 569866474
X-Trace: dreaderd 947308657 22859 18.75.2.45
Organization: Center for Space Research
User-Agent: slrn/0.9.6.2 (Linux)
Reply-To: davis@space.mit.edu
Newsgroups: news.software.readers