Mercurial > noffle
diff debian/slrn.sl @ 301:3b5b7f3fd71f noffle
[svn] initial debian/ upload
author | godisch |
---|---|
date | Fri, 14 Feb 2003 13:54:32 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/slrn.sl Fri Feb 14 13:54:32 2003 +0000 @@ -0,0 +1,26 @@ +% SLRN script for better interplay with NOFFLE news server. +% Redefines some keys for opening articles without modifying flags. +define my_article_linedn() +{ + call ( "article_linedn" ); + if (is_substr(extract_article_header("X-NOFFLE-Status"), "NOT_DOWNLOADED")) + set_header_flags( ( get_header_flags() | HEADER_READ ) xor HEADER_READ ); + return; +} +define my_scroll_dn() +{ + call ( "scroll_dn" ); + if (is_substr(extract_article_header("X-NOFFLE-Status"), "NOT_DOWNLOADED")) + set_header_flags( ( get_header_flags() | HEADER_READ ) xor HEADER_READ ); + return; +} +define my_hide_article() +{ + call ( "hide_article" ); + if (is_substr(extract_article_header("X-NOFFLE-Status"), "NOT_DOWNLOADED")) + set_header_flags( ( get_header_flags() | HEADER_READ ) xor HEADER_READ ); + return; +} +definekey( "my_article_linedn", "\r", "article" ); +definekey( "my_scroll_dn", " ", "article" ); +definekey( "my_hide_article", "h", "article" );