🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #35905

Re: Wish List for SLRN

#35905
From: Clint Olsen
Date: Wed, 27 Aug 1997 00:00
24 lines
1359 bytes
I tried this in my .slrn.sl file:

% Function definitions

define article_pagedn ()
{
  if (is_article_visible ())
    call ("scroll_dn");
  else  call ("pagedn");
}

definekey ("article_pagedn", " ", "article");     % use nifty slang function

I want the space bar to go to the next page of articles (kind of like trn)
when no article is showing, but I cannot seem to get it to work.  Any ideas
what I might be doing wrong?  I tried to use a binding to something that
wasn't being used by setkey since I wasn't sure what would happen if you
attempted to overload a setkey with a definekey.  I also found it rather
annoying that you can't put slang code in your .slrnrc.

-Clint

Technical Details
Message-ID: <slrn608pgm.i3r.olsenc@misha.ee.washington.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: <5tngmu$c8c$1@news.one.net> <slrn5vuros.k3s.lahvak+n@math.mps.ohio-state.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn608pgm.i3r.olsenc@misha.ee.washington.edu>
Subject: Re: Wish List for SLRN
Date: Wed, 27 Aug 1997 00:00:00 +0000
From: olsenc@kodiak.ee.washington.edu (Clint Olsen)
References: <5tngmu$c8c$1@news.one.net> <slrn5vuros.k3s.lahvak+n@math.mps.ohio-state.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
X-Deja-AN: 268621186
Organization: University of Washington, Seattle, WA
NNTP-Posting-User: olsenc
Newsgroups: news.software.readers