Article View: news.software.readers
Article #138243[slrn] alternative to redraw()?
From: Joe Koenig
Date: Wed, 26 Nov 2003 09:27
Date: Wed, 26 Nov 2003 09:27
22 lines
1616 bytes
1616 bytes
I wrote a short slang-function which enables me to keep the cursor in
the middle of the header display. I.e.: my header display shows 14
lines and the cursor never moves beyond line 7. The small drawback:
As I'm using call("redraw") the screen is flickering a little bit
each time I jump to a new article. Is there a better way to do this?
static define article_page_down ()
{
if (get_next_art_pgdn_action () == 2){
message(" -- That's All Folks --");
}else if (get_next_art_pgdn_action () == 0){
call ("article_page_down");
}else if(header_cursor_pos () >= 7){
header_down(7);
call("redraw");
header_up(7);
call("next");
}else{
call("next");
}
}
Technical Details
Message-ID:
<bq1oc3$1sne52$1@ID-105377.news.uni-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!b121127.adsl.hansenet.DE!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <bq1oc3$1sne52$1@ID-105377.news.uni-berlin.de> Subject: [slrn] alternative to redraw()? Date: Wed, 26 Nov 2003 10:27:28 +0100 From: Joe Koenig <jko@gmx.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!b121127.adsl.hansenet.DE!not-for-mail Newsgroups: news.software.readers Lines: 22 NNTP-Posting-Host: b121127.adsl.hansenet.de (62.109.121.127) X-Trace: news.uni-berlin.de 1069835459 63682722 62.109.121.127 ([105377]) User-Agent: slrn/0.9.8.0 (Linux)