bash/slrn: add netrc usage

This commit is contained in:
Paul Walker
2021-02-11 11:09:58 +00:00
parent 7e567144bc
commit eaf22f4e85
4 changed files with 30 additions and 4 deletions

9
slrnrc
View File

@@ -16,6 +16,7 @@
%nnrpaccess "HOSTNAME" "USERNAME" "" % Prompt for password
%nnrpaccess "HOSTNAME" "" "" % Prompt for username and password
%nnrpaccess news.xcski.com blacksun2 vD82QRK6
set hostname "blacksun.org.uk"
set username "paul"
@@ -187,8 +188,8 @@ set abort_unmodified_edits 1
% Command used to invoke editor. In the following example, %s represents
% the file name and %d represents the starting line number
%set editor_command "jed '%s' -g %d -tmp"
%set editor_command "joe '%s'"
set editor_command "~/.edit.sh '%s'"
set editor_command "joe '%s'"
%set editor_command "~/.edit.sh '%s'"
% Editor command for editing posts, mail, and score files. Note the use of
% single quotes around %s. This is only necessary if you use filenames
@@ -307,7 +308,7 @@ set spoiler_display_mode 2
%almost redundant, whereas with others which don't expire entries from
%overview files regularly, it's almost vital. If the users sees a lot of
%"article not available" errors, they should probably try turning it on.
set spool_check_up_on_nov 0
% set spool_check_up_on_nov 0
%---------------------------------------------------------------------------
% GroupLens Support
@@ -520,4 +521,4 @@ setkey readline trim "\e/" % Trim whitespace
setkey readline quoted_insert "^Q" % Quoted insert
%interpret /usr/local/share/slrn/search.sl
interpret /home/paul/.slrn/approved.sl
%interpret /home/paul/.slrn/approved.sl