SLRN(1) 이름 slrn - 사용하기 쉬운 NNTP 기반의 뉴스리더 공지 이 문서는 오래된 것이다. 최근의 정보를 얻으려면 slrn 배포본에 있는 slrn/changes.txt와 slrn/doc/slrn.rc를 읽어 보기를 권하는 바이다. http://space.mit.edu/~davis/slrn.html도 참조하기 바란다. 개요 slrn [ -n ] [ -h nntp-server-name ] [ -f newsrc-file ] [ -create ] [ -C ] [ -help ] 설명 slrn은 쓰기 쉽고 강력한 NNTP 기반의 뉴스리더이다. 이 프로그램의 기능 중 많은 부분은 S-Lang이라는 프로그래밍 라이브러리에 의존한다. 명령행에서 -h 옵션으로 서버를 지정하지 않았다면, NNTPSERVER 환경변수에서 지정한 서버를 사용할 것이다. -f 옵션은 어떠한 newsrc 파일을 쓸 것인지 지정한다. 지정되지 않았다면, 기본값으로 .jnewsrc를 쓰게 된다. 그 값은 .slrnrc 초기화 파일에서 지정할 수 있다. -create 옵션은 slrn을 처음 사용할 때 사용해야 하는 옵션으로 특정한 서버를 지정하는데 쓰인다. 이로써 slrn은 서버에서 이용 가능한 모든 뉴스그룹을 읽어서 선택된 newsrc 파일에 써넣는다. NNTP 연결이 느리다면, 이 과정은 몇분 정도 걸릴 것이다. 다행히도, 이는 -create 플래그를 사용했을 때만 일어난다. 명령행에서 -C가 지정 되었다면, 터미널에 컬러가 지원된다는 것을 가정한다. 색상은 초기화 파일을 사용하여 지정되기도 한다. -n 옵션을 주면, 새로운 뉴스그룹이 있는지 점검하지 않을 것이다. 이로써 더 빨리 시작할 수 있다. 기초적인 조작 slrn을 사용하는 것은 간단하다. 보통, slrn이라 입력하는 것 만으로써 뉴스 서버에 연결할 것이다. 시작한 후에, slrn은 새로운 뉴스그룹이 있는지 점검하고 자동으로 구독을 한다. 새로운 뉴스가 있는지 점검하고 나면, slrn은 ``전화면'' 모드로 들어가 사용자는 여러 개의 뉴스그룹을 구독 또는 취소할 수 있다. slrn은 뉴스그룹 리스트를 다음과 같이 나열한다. -> 3 sci.research.postdoc 689-705 1 comp.databases.olap 1-1 4 rec.antiques.radio+phono 1-4 1 comp.emulators.ms-windows.win 339-349 113 comp.unix.questions 74401-74513 11 gnu.ghostscript.bug 4874-4884 100 alt.music.pink-floyd 7941-8040 11 rec.sport.baseball.analysis 239-249 3 rec.sport.baseball.data 267-269 13 sci.physics.electromag 1159-1171 65 comp.sys.ibm.pc.hardware.systems 4754-4818 5 sci.physics.particle 1069-1073 2 comp.sources.x 2362-2363 2 comp.unix.user-friendly 2603-2604 여기에서 가운데 칸은 뉴스그룹의 이름을 보여 주고 왼쪽 칸은 그 그룹에서 읽지 않은 글의 번호를 보여 준다. 오른쪽 칸은 뉴스서버에서 볼 수 있는 글의 범위를 보여 준다. 첫번째 줄 ci.research.postdoc'의 첫번째 칸에 ->가 있다는 것에 주의 한다. 커서키를 눌러서 화살표를 위아래로 이동할 수 있다. 엔터 키 또는 스페이스바를 누르면 화살표가 가리키는 ci.research.postdoc' 그룹이 선택될 것이다. 새로운 화면에서는 다음과 같이 나타난다: ->- 703 (P) Lecturer in Comp. dumontet@nuri.inria.fr (dumo - 704 Research & Development dumontet@nuri.inria.fr (dumo - 705 Re: Example of proposal shinbrot@bart.chem-eng.nwu.e 여기에서, 각 라인은 네 개의 필드로 구성되어 있고 화살표 -> 커서가 있다. 첫번째 필드는 글을 읽었는지 읽지 않았는지를 표시한다. 첫번째 필드의 하이픈은 글을 읽지 않았음을 나타낸다. 세 줄 모두 첫번째 필드에 하이픈이 나타나 있으므로, 어떠한 글도 읽지 않았음을 표시한다. 이 필드에 d가 표시되어 있으면 글을 읽었음을 나타낸다. 현재 선택한 글은 u 키를 눌러서 읽은 글을 읽지 않은 상태로 바꿀 수 있다. d 키를 눌러 글을 읽지 않고 읽었음을 표시 할 수 있다. c 키는 모든 글을 읽었음을 표시할 때 쓰일 수 있다. (사실 이 뉴스리더를 사용하면서 더 좋은 방법이 있다: 관심 있는 글을 찾아 읽어 보고 다른 뉴스그룹으로 넘어가기 전에 'c'를 눌러 모든 글을 읽었다고 표시한다.) 두 번째 필드는 서버가 저장하고 있는 글의 개수를 나타낸다. 세 번째와 네 번째 필드는 각각 제목과 글쓴이를 나타낸다. 스페이스바 또는 리턴키를 누르면 두 번째 창을 생성하고 선택한 글의 내용을 보여 준다. 스크린은 두개의 창- 커다란 창과 작은 창-으로 구성되어 있다. 커다란 창은 글 창으로써, 현재 선택된 글을 담고 있고 작은 창은 제목 창으로써 위에서 보는 것과 같이 글의 리스트를 담고 있다. 스페이스바는 글을 다음 장으로 넘기는데 쓰이고, DELETE키나 'B' 키는 앞장으로 넘기는데 쓰인다. 위쪽/아래쪽 화살표는 요약 창에서 -> 커서를 이동하는데 쓰인다. 글 창을 숨기려면, h 키를 누르면 된다. 따라서 제목 창을 전체 화면으로 넓혀 보여 주게 된다. f 키는 현재 선택한 글의 댓글(followup)을 올리는데 사용된다. 뉴스그룹 리스트로 돌아오려면 Q 키를 눌러 빠져 나온다. 기본값 키바인딩 다음의 키바인딩은 항상 사용할 수 있다: ? 도움말 PageUp Ctrl-U 앞장으로 넘기기 PageDn Ctrl-D 뒷장으로 넘기기 Ctrl-Z 프로그램 잠시 중단 뉴스그룹에서 다음과 같은 키바인딩을 사용할 수 있다: SPACE 현재 그룹의 글을 선택 UP P 이전 그룹으로 이동 DOWN 다음 그룹으로 이동 q 프로그램을 끝내기 p 글 올리기 l 읽지 않은 글이 없는 그룹 표시를 켜고 끔 L 구독하지 않는 그룹 표시를 켜고 끔 (구독도 가능) u 현재 그룹을 구독하지 않음 s 현재 그룹을 구독 c 현재 그룹의 모든 글을 읽은 것으로 표시 a 특정한 그룹을 구독 / 구독하고 있는 그룹 중 문자열을 찾기 G 뉴스 서버의 그룹을 다시 읽기 X .newsrc 저장 ESC > 마지막 그룹으로 이동 ESC < 첫 그룹으로 이동 다음의 키바인딩은 뉴스그룹이 선택되었을 때만 효과가 있다: SPACE 글을 선택하거나 선택된 글의 다음 장 보기 DELETE, b 현재 글의 이전 장을 보기 d 현재 선택된 글을 읽은 것으로 표시하고 읽지 않은 다음 글로 이동 u 현재 선택된 글을 읽지 않은 것으로 표시 # 여러 글을 저장할 때 순서대로 표식을 붙임 (o 명령을 보라) g 다음 글로 건너뜀 h 현재 글 창을 숨기고 제목 창을 전체 화면으로 늘림 Ctrl-^ 제목 창의 길이를 한 줄씩 줄임 ^ 제목 창의 길이를 한 줄씩 늘임 f 현재 선택된 글의 댓글을 올림 F 선택된 글을 누군가에게 그대로 넘겨준다 r 글쓴이에게 바로 답장해 준다 o 선택된 글을 유닉스의 편지형태로 바꾸어 파일로 저장 만약 특수한 형태의 편지라면 uudecode나 unshar을 이용하여 풀어내는 것도 가능한데, 단 그것은 순서대로 저장되어 있어야 한다. #를 이용하여 여래 글을 선택할 때 유의해야 한다. q 뉴스그룹 리스트 화면으로 돌아감 T 글의 인용부 표시를 켜고 끔 K 순위 표시를 켜고 끔 TAB 글의 인용부를 지나친다 t 현재 글의 자세한 머리글 표시기능을 켜고 끔. 기본값으로 보이지 않도록 되어 있다. UP 이전 글로 옮김 DOWN 다음 글로 옮김 ESC DOWN, RETURN 글에서 다음 줄로 한 줄씩 이동 < 글의 맨 처음으로 이동 ESC UP 글을 한 줄씩 위쪽으로 이동 ESC > 맨 뒤의 글로 이동 ESC < 맨 앞의 글로 이동 RIGHT 글 창을 오른쪽으로 이동 LEFT 글 창을 왼쪽으로 이동 n 읽지 않은 다음 글로 이동 o 글을 파일에 추가, uudecode나 shar로 디코드할 수도 있다 p 읽지 않은 이전 글로 이동 PageUp, PageDn 제목 리스트를 따라 위아래쪽으로 이동한다 / 글에서 앞방향으로 문자열 찾기 ? 글에서 뒷방향으로 문자열 찾기 a 앞방향으로 쓴사람 찾기 A 뒷방향으로 쓴사람 찾기 s 앞방향으로 제목 찾기 S 뒷방향으로 제목 찾기 H 글 숨기기 (창에서 보이지 않게 한다) N 다음 뉴스그룹으로 건너뜀 j 글의 위치를 바꿈 P 글 쓰기 (댓글 쓰기는 f를 참조) ; 현재 글에 표시하기 , 이전에 표시된 것을 처음 상태로 되돌린다 * 특정 글에 '중요' 표시를 한다 (읽은 글로 표시(c) 를 해도 지워지지 않는다 | 글을 외부 명령으로 파이프 처리한다 ESC Ctrl-C 현재 글을 취소한다 c 모든 글을 읽은 것으로 표시 ESC C 현재 글을 읽은 것으로 표시 ESC U 현재 글을 읽지 않은 것으로 표시 Ctrl-R, Ctrl-L 화면 다시 그리기 ESC R ROT 13 암호화를 켜고 끔 ESC S 제목 스레딩을 켜고 끔 ESC T 머리글의 스레드 표시를 켜고 끔 ESC A 제목 표시 방법을 바꿈 ESC p 부모 머리글 찾기 ESC Ctrl-P 자식 머리글 찾기 ? 도움말 보기 Ctrl-Z 뉴스리더를 잠시 중단시킴 E 이 글을 템플릿으로 사용하여 순위 파일을 편집 환경 변수 slrn은 다음과 같은 환경 변수 리스트를 사용한다: NNTPSERVER slrn을 시작할 때 서버가 지정되지 않았을 때 연결하는 NNTP 서버 EDITOR SLANG_EDITOR 메세지를 작성할 때 쓰는 편집기. '%s'와 '%d' 형식 지정자는 파일 이름과 줄 수를 각각 지정하는데 쓰인다. 예를 들어, 'jed'가 여러분이 쓰는 편집기라면, 다음과 같이 사용할 수 있다: 쉘 시작 파일에 setenv SLANG_EDITOR 'jed %s -g %d' 라고 써준다. bash 쉘을 쓰고 있다면, 대신 다음과 같은 명령을 쓸 수 있다: export SLANG_EDITOR 'jed %s -g %d' SLANG_EDITOR 가 더 나은 환경 변수인데, 이는 모든 S-Lang 응용 프로그램이 이 변수를 찾고 문법을 이해하기 때문이다 REPLYTO `Reply-To'난에 삽입될 주소 ORGANIZATION `Organization'난에 쓰일 문자열 slrn 초기화 파일 .slrnrc라 불리는 파일이 여러분의 홈 디렉토리에 존재한다면, slrn은 이를 초기화 파일로 사용할 것이다. 이 파일은 개인적으로 바꾼 키바인딩은 물론 서버 리스트 -- newsrc 맵핑 -- 을 담고 있다. 바인딩 키 키를 특정한 함수와 연관 지으려면 다음과 같은 문법을 사용한다. setkey keymap function key-sequence setkey 함수는 세 개의 인자를 필요로 한다. 첫번째 인자는 연관짓는데 쓰이는 키맵을 지정한다. 유효한 키맵으로는 그룹과 글이 있다. 이 함수 인자는 마지막 인자에 있는 키를 누를 때 실행되는 함수를 지정한다. 예를 들면, setkey group quit "x" 는 그룹 단계에서 x를 눌렀을 때, quit 함수가 실행된다. 보통 필요하지는 않지만 기억할 것으로써, 마지막 인자는 빈칸 문자를 포함할지도 모르기 때문에 쌍 따옴표로 묶어야 한다. 키-순서 인자는 여러 개의 문자로 구성되어 있다. 예를 들어, 많은 터미널에서 오른쪽 화살표는 ESC, `['와 `C'를 터미널에 보낸다. 오른쪽 화살표키를 `select_group' 함수와 연결 지으려면: 다음과 같이 사용한다: setkey group select_group "\e[C" 때때로, 키를 연결짓기 전에 키맵에서 키의 연결을 해제할 필요가 있다. 예를 들어, 다음과 같이는 할 수 없다: setkey group quit "\e" 먼저 ESC 키를 해제하지 않고는 quit 함수로 연결할 수 없다. 이는 기본 바인딩이 특정한 키맵에서 ESC 문자를 접두 문자로 사용하기 때문이다. 가능하게 하려면, 다음과 같이 키 정의를 해제하는 unsetkey 함수를 사용한다. unsetkey group "\e" setkey group quit "\e" 여기에서 unsetkey 함수는 ESC 문자를 `quit' 함수에 연결하기 전에 기본값으로 연결된 함수를 제거하는데 쓰인다. ESC 키를 해제한다는 것은 ESC로 시작하는 모든 키 시퀀스를 해제한다는 것에 주의한다. 이는 대부분의 함수 키에 해당된다. 함수와 그 기능을 알기 위해서는 초기화 예제 파일을 보면 된다. 여러 대의 서버 쓰기 여러 대의 서버를 쓰는 가장 쉬운 방법은 .slrn파일의 server 명령을 사용하는 것이다. 이 명령은 서버 이름과 newsrc 파일의 이름을 연관짓는다. server nntp-server newsrc-file 예를 들어, 여러분이 다음과 같은 세대의 서버를 사용한다고 가정해 보자. `red.news.edu', `blue.news.edu', `green.news.edu'. 다음과 같이 쓴다: server red.news.edu .jnewsrc-red server blue.news.edu .jnewsrc-blue server green.news.edu .jnewsrc-green .jnewsrc-red 파일은 red.news.edu 서버에 연결하였을 때 사용한다는 것을 지정한다. 그 외에... 색상 지정하기 `-C' 명령행 스위치를 사용하면 색상을 지원한다. 색상은 `.slrnrc' 파일의 `color' 단어를 사용함으로써 정의할 수 있다. 문법은 다음과 같다: 명령행 스위치 `-C'를 주어 색상을 지원하도록 할 수 있다. 컬러는 `.slrnrc' 파일의 `color' 키워드를 사용하여 정의한다. 문법은: color 객체이름 전경색상 배경색상 여기에, 객체이름은 다음 중 하나가 올 수 있다: menu -- 화면의 맨 윗줄 (메뉴바) menu_press -- 선택된 메뉴 바 엔트리 status -- 창에 있는 상태 줄 cursor -- --> 위치 가리키는 화살표 error -- 에러 메세지 group -- 뉴스그룹 이름 (그룹 모드) description -- 뉴스그룹 설명 (그룹 모드) article -- 글 본문 (헤더가 아닌) headers -- 글의 헤더로 이루어진 줄 author -- 글쓴이 이름 subject -- 제목 signature -- 글쓴이의 서명 quotes -- 인용된 부분 high_score -- 높은 순위의 글 tree -- 글 트리 tilde -- 틸다 문자 (tilde mode) thread_number -- 스레드 번호 normal -- 나머지 모든 것 전경/배경 색상 이름은 다음 중 하나가 될 수 있다: black gray red brightred green brightgreen brown yellow blue brightblue magenta brightmagenta cyan brightcyan lightgray white 대부분의 터미널은 배경색에서 두 번째 그룹의 색상을 지원하지 않는다. 인용된 글 숨기기 때때로 글은 이전 글의 인용문을 담고 있다. slrn은 정규 표현식에 맞추어 글에서 이러한 줄이 보이지 않게 할 수 있다. 정규 표현식은 폼에서 다음과 .slrnrc 시작 파일 안에 같이 넣어 주어 지정할 수 있다. ignore_quotes REGULAR-EXPRESSION 기존 정규 표현식은 .slrnrc 시작 파일에 있다. 정규 표현식의 기본값은 다음과 같은데, "^ ?[:>=]" 이는 콜론, 크거나 같음을 표시하는 부등호, 등호에 따라오는 공백문자로 시작하는 줄과 일치한다. 다음과 같은 줄의 표시를 켜고 끄는 것을 바꾸기 위해서는, 글 모드에서 `T' 키를 누른다. 글 분류 (slrn 순위파일 시스템의 융통성에 대한 완전한 설명은, slrn 배포본에 있는 KILL_FAQ와 score.txt 파일을 보라.) slrn은 글을 분류하는 정교한 시스템이 통합되어 있다. 다른 뉴스 읽기 프로그램에서, slrn의 분류 기능 중 하나는 " killfile " 이라 불려야 할 것이라고 한다. 몇몇 다른 뉴스리더에서 글을 단순히 지우는 것과는 달리, slrn은 글에 순위를 표시하는 데 있어 광범위한 융통성과 기능을 제공한다. 다음과 같은 단계의 순위를 지원한다: -9999 이 순위의 글은 (보통 killfile과 함께) 지워지고 머리글 창에서 볼 수 없다 -1 부터 -9998 까지 이 순위의 글은 " D "라는 "지워짐(Deleted)" 표시가 머리글 창에 표시된다. 0 보통 글 1 부터 9999 까지 이 순위인 글의 머리글에는 " ! "로 중요도가 표시된다 순위파일 설정하기 순위파일 시스템은 여러분이 slrn에서 순위 매개변수를 저장하는 파일의 경로명을 지정해야 쓸 수 있다. 한번 지정하면, 머리글 창에서 E 명령으로 순위파일을 읽고 쓸 수 있다. 또는 수동으로 편집할 수도 있다. E 명령으로 읽고 쓸 때, slrn은 그 글에서 가져온 여러 매개변수와 함께 현재 선택된 글을 기반으로 하여 템플릿을 추가하고 그리고 편집기를 띄운다. 순위를 활성화하려면 여러분이 순위를 지정하고자 하는 머리글 줄 첫번째 칸의 % 기호를 지운다. 순위파일을 설정하는 또다른 방법은, 파일을 직접 편집기에서 편집하는 것이다. 여기에 순위파일의 예제가 있다. (순위 시스템에서 최종적으로 KILL_FAQ와 score.txt 파일을 참조한다는 것을 기억한다): [news.software.readers] Score: 9999 % All slrn articles are good Subject: slrn Score: 9999 % This is someone I want to hear from From: davis@space.mit.edu Score = -9999 Subject: [comp.os.linux.*] Score: -10 Expires: 1/1/1996 Subject: swap Score: 20 Subject: SunOS Score: 50 From: Linus % Kill all articles cross posted to an advocacy group Score: -9999 Xref: advocacy ~From: Linus % This person I want nothing to do with unless he posts about % `gizmos' but only in comp.os.linux.development.* Score: -9999 From: someone@who.knows.where ~Subject: gizmo ~Newsgroup: development % These stooges post massive .sigs all the time. I like % to track them [alt.fan.warlord] Score:: 20 Subject: larry Subject: curly 이 파일은 두개의 단락으로 나뉘어져 있다. 첫번째 단락은 news.software.readers 그룹에 적용될 규칙을 정의한다. 두 번째 단락은 comp.os.linux 뉴스그룹에 적용된다. 첫번째 단락은 세 개의 규칙으로 구성되어 있다. 첫번째 규칙은 slrn이라는 문자열을 포함하는 주제의 모든 글에 순위를 9999로 적용하는 것이다. 두 번째 규칙은 From에서 적용된다. 이는 davis@space.mit.edu씨가 쓴 글의 순위 를 9999로 적용한다는 것을 의미한다. e 의 주제에는 `agent'라는 단어를 담고 있다. 이 규칙은 순서에 따라 적용되므로 `slrn'과 `agent'단어 모두를 담고 있다면, 9999가 특수한 값이므로 순위를 9999로 지정한다. 두 번째 단락은 더 복잡하다. 여기서는 comp.os.linux에 적용되고 다섯 개의 규칙이 있다. 첫번째 세 경우는 간단하다. `swap'을 담고 있는 주제라면 -10점이 주어지고, SunOS를 담고 있는 경우 20점이 되고, `Linus'라는 사람이 쓴 글은 50점이 된다. `Swap, Swap, Swap', 글은 -10점이 된다. 그러나 Linus씨가 Swap이란 주제로 글을 썼다면 순위는 -10 + 50 = 40점이 된다. 첫번째 규칙은 1996년 초에 유효기간이 끝난다는 것에 주의한다. 네 번째 규칙은 advocacy 뉴스그룹에 교차투고 된 글을 모두 삭제한다. 단, Linus의 글은 예외이다. `~'로 시작하는 단어의 경우 정규 표현식의 효과가 뒤집어진다는 것에 주의한다. 네 번째 규칙은 someone@who.knows.where이란 사람이 그가 comp.os.development 뉴스그룹에 `gizmos'에 대하여 쓰지 않는 한 그 글을 걸러 버린다. 마지막 규칙은 Mor 또는 Curly씨가 alt.fan.warlord 뉴스그룹에 투고한 메세지를 중요한 순위로 표시한다. 이는 순위파일에서 "OR"조건을 사용하는 방법을 선보이고 있다. 댓글 정중히 보내기 여러분이 원래 글의 저자에게 댓글을 보내려면, 글의 "Cc:" 헤더에 저자를 추가함으로써 쉽게 이루어진다. 여기에는 (slrn의 제작자인) John Davis씨의 새 slrn 버전 공개에 대한 글에 댓글을 보내는 방법을 예로 들고 있다. Newsgroups: news.software.readers Subject: Re: slrn 0.8.0 Released! References: <46c6b8$e2@news.mit.edu> Organization: a clean well lit place Reply-To: hg@n2wx.ampr.org Followup-To: Cc: davis@space.mit.edu On 22 Oct 1995 01:26:45 GMT, John Davis wrote: ... John은 댓글을 메일로 받게 될 것이다. 메일의 앞부분에 [이 기사는 이미 뉴스그룹에 올려졌다.] 는 줄이 붙게 된다. (대괄호 안에 있는 글은 .slrnrc의 cc_folwup_string 매개변수로 바꾸어 줄 수 있다.) 여러가지 설정 .slrn 초기화 파일에서는 다음과 같은 명령도 지원한다. signature <서명 파일 이름> organization <직장 이름> replyto <답장 받을 전자우편 주소> quote_string <글에 인용하는데 쓰이는 문자열> editor_command <편집기를 띄우는데 쓰이는 문자열> scorefile <순위 파일 이름> For example, signature .news-signature organization "Society of Famous Outlaws" signature "Billy the Kid" quote_string ">" editor_command "jed %s -g %d -tmp" scorefile "News/Score" 파일 $HOME/.slrnrc - slrn의 초기화 파일 $HOME/.jnewsrc - slrn에서 쓰이는 newsrc 파일 이름 기본값 초기화 파일 예제 % This is a sample startup file for the slrn news reader. The percent % character is used for comments. % SERVER to NEWSRC mapping %server hsdndev.harvard.edu .jnewrc-hsdndev %server news.uni-stuttgart.de .jnewsrc-stuttgart % The next line is for those servers that require a password. %nnrpaccess HOSTNAME USERNAME PASSWORD %hostname "YOUR.HOSTNAME" %set username "jdoe" %set realname "John Doe" %set replyto "jd@somthing.com" % Name of signature file to use %set signature ".signature" The quote string will be used when following up/replying quote_string ">" % This regular expression defines lines that are consider to be quoted lines. % It says that any lines beginning with 0-2 spaces followed by a either % a >, <, :, |, or = character is a quoted line. ignore_quotes "^ ? ?[><:=|]" % This sets the follow-up string. Here, the following format specifiers are % recognized: %d:date, %r:real name, %f:email address, %s:subject, % %m:msgid, %n:newsgroups, %%: percent followup "On %d, %r <%f> wrote:" %Custom headers to add to post/followup %set custom_headers "X-Whatever: bla0-Misc: bla bla" % WWW browser to use. The 'U' key in article mode searches the current article % for a URL and then calls X browser if slrn appears to be run in X windows % and non_Xbrowser otherwise. set Xbrowser "netscape %s &" set non_Xbrowser "lynx %s" % If autobaud is present, output rate will be synced to baud rate %autobaud % if non-zero, display first article when entering article-mode. set show_article 0 % if non-zero, show description of newsgroup if available set show_descriptions 1 % column where group descriptions start set group_dsc_start_column 40 % If non-zero, backups of the newsrc file are not performed. set no_backups 0 % If 0, do not beep terminal. If 1, send audible beep. If 2, send only % visible bell. If 3, send both. set beep 1 % If non-zero, slrn will automatically subscribe new groups. The default is 0. set unsubscribe_new_groups 0 % If non-zero, all subject titles will be displayed even though many are % duplicated. A zero value makes the screen look less busy. set show_thread_subject 0 % Enable xterm mouse support: 1 to enable, 0 to disable set mouse 0 % Setting either of these to 0 will enable you to move directly to the % next article/group without confirmation set query_next_group 1 set query_next_article 1 % if zero, you will not see the "next group:" prompt. This is NOT the same % as the 'query_next_group' variable. set prompt_next_group 1 % Set this to 0 for no-confirmation on follow, reply, quit, etc... set confirm_actions 1 % If 0, do not display the name of the author. % If 1, display subject then name. If 2, display name then subject. set author_display 2 % If 0, save all groups when writing newsrc file % if 1, do not save any unsubscribed groups % if 2, do not save any unread-unsubscribed groups set write_newsrc_flags 1 % If greater than 0, a Cc: header to poster will automatically be generated on % followups. If -1, prompt first. set cc_followup 0 cc_followup_string "[This message has also been posted.]" % The sendmail command allows you to substitute another mailer. Be sure that % it implements the same interface as sendmail! %set sendmail_command "/usr/lib/sendmail -oi -t -oem -odb" % Name of score file (relative to HOME directory) scorefile "News/Score" % Name of directory where decoded files are placed (relative to HOME) set decode_directory "News" % Directory where all other files are saved. set save_directory "News" % Command used to invoke editor. In the following example, %s represents % the file name and %d represents the starting line number %editor_command "jed %s -g %d -tmp" % If non-zero, files used for posting, followup and reply will be regarded as % temporary files in the directory specified by the TMPDIR environment % variable or /tmp. set use_tmpdir 0 % If 0, do not sort. If 1, perform threading. If 2, sort by subject % If 3, thread then sort result by subject % If 4, sort by score. If 5, thread then sort by score. set sorting_method 3 set display_score 0 % If non-zero, threads will be uncollapsed when a group is entered set uncollapse_threads 0 % If non-zero, slrn will read the active file when starting. This may lead to % faster startup times IF your network connection is fast. If it slow, % DO NOT USE IT. If you can, I recommend setting it to 1. set read_active 0 % If non-zero and read_active is zero, slrn will attempt to use the NNTP % XGTITLE command when listing unsubscribed groups. set use_xgtitle 0 % What to wrap when wrapping an article: % 0 or 4 ==> wrap body % 1 or 5 ==> wrap headers, body % 2 or 6 ==> wrap quoted text, body % 3 or 7 ==> wrap headers, quoted text, body % The higher number indicates that every article will be automatically % wrapped. set wrap_flags 4 % Maximum number of articles to read before slrn will prompt. Default is 100. % Set this to zero to turn of prompting. set query_read_group_cutoff 100 % Numes of lines to read from the server between percentage counter updates % This number will vary with the speed of the connection to your server set lines_per_update 100 %--------------------------------------------------------------------------- % Mime support %--------------------------------------------------------------------------- set use_mime 1 set mime_charset "iso-8859-1" % If non-zero, call metamail for mime formats that slrn does not handle set use_metamail 1 % If non-zero, header numbers will be displayed in the left-margin of the % header window. These numbers may be used as ``thread selectors''. set use_header_numbers 1 % If non-zero, prompt for reconnection if the NNTP connection drops. If zero, % attempt reconnection without asking user. set query_reconnect 1 % Character to use to hide spoiler text: set spoiler_char '*' %--------------------------------------------------------------------------- % Local spool configuration %--------------------------------------------------------------------------- % set spool_inn_root "/export/opt/inn" % set spool_root "/export/news" % set spool_nov_root "/export/news" % %% -- The following filenames are relative to spool_root % % set spool_nov_file ".overview" % set spool_active_file "data/active" % set spool_activetimes_file "data/active.times" % set spool_newsgroups_file "data/newsgroups" %--------------------------------------------------------------------------- % GroupLens Support %--------------------------------------------------------------------------- %set use_grouplens 1 %color grouplens_display blue white %set grouplens_host "grouplens.cs.umn.edu" %set grouplens_port 9000 %set grouplens_pseudoname "YOUR_PSEUDONAME" %grouplens_add "rec.cooking.recipes" %grouplens_add "comp.os.linux.misc" %------------ % Colors %------------ color header_number green white color normal black white color error red white color status yellow blue color normal black white color error red white color status yellow blue color group blue white color article blue white color cursor brightgreen white color author magenta white color subject black white color headers brightcyan white color menu yellow blue color menu_press yellow blue color tree red white color quotes red white color thread_number blue white color high_score red white color signature red white color description blue white color tilde green white %----------------------------------------------------- % Monochrome attributes for monochrom terminals %----------------------------------------------------- mono normal none mono header_number none mono error blink bold mono status reverse mono group bold mono article none mono cursor bold reverse mono author none mono subject none mono headers bold mono menu reverse mono menu_press none mono tree bold mono quotes underline mono thread_number bold mono high_score bold mono signature none mono description none %------------------------ Group keymap------------------------------------ setkey group add_group "A" % add a new newsgroup setkey group bob "\<" % beg of buffer setkey group bob "^K\OA" setkey group bob "^K\[A" setkey group catch_up "C" % mark group as read setkey group down "\OB" % next group setkey group down "\[B" setkey group down "^N" setkey group eob "\>" % end of buffer setkey group eob "^K\OB" setkey group eob "^K\[B" setkey group group_search_forward "/" setkey group help "?" setkey group pagedown "^D" % next page of groups setkey group pagedown "\[6~" setkey group pagedown "^V" setkey group pageup "\V" % previous page of groups setkey group pageup "^U" setkey group pageup "\[5~" setkey group post "P" setkey group quit "Q" setkey group redraw "^L" setkey group redraw "^R" setkey group refresh_groups "G" setkey group save_newsrc """ % read articles from group setkey group select_group " setkey group select_group " " setkey group subscribe "S" % subscribe to group (See unsubscribe) setkey group suspend "^Z" setkey group toggle_group_display " 33A" setkey group toggle_score "K" setkey group toggle_hidden "l" setkey group toggle_list_all "L" setkey group unsubscribe "U" % unsubscribe setkey group up "\OA" % previous line setkey group up "\[A" setkey group up "^P" %---------------- Article mode keymap ------------------------------------- setkey article goto_article "j" setkey article pipe_article "|" setkey article skip_quotes "" setkey article pageup "^U" setkey article pageup "\[5~" setkey article pageup "\V" setkey article pagedn "\[6~" setkey article pagedn "^D" setkey article pagedn "^V" setkey article post "P" setkey article toggle_show_author "\a" setkey article get_parent_header "\p" setkey article catchup_all "c" setkey article catchup_all "\c" setkey article uncatchup_all "\u" setkey article catchup "\C" setkey article uncatchup "\U" setkey article scroll_dn " " % scroll to next page of article or select article setkey article scroll_up "^?" % scroll to next page of article setkey article scroll_up "b" % (scroll_up or article_pageup) setkey article article_lineup "\\[A" % Scroll article one line up setkey article article_lineup "\\OA" setkey article article_linedn "\\[B" % Scroll article one line down setkey article article_linedn ""\OB" setkey article article_linedn " setkey article article_search "/" % Search forward through article setkey article author_search_forward "a" % Search forward for an author setkey article author_search_backward "A" % Search backward for an author setkey article cancel "\^C" % Cancel the article setkey article delete "d" % Mark current article as read and move to the next unread one setkey article down "^N" % Move to the next article setkey article down "\[B" setkey article down "\OB" setkey article mark_spot ";" % Set mark at current article setkey article exchange_mark "," % Set the mark and return to the location of the previous mark. setkey article followup "f" % Followup on the article setkey article forward "F" % Forward the article to someone setkey article help "?" % Show help screen setkey article hide_article "H" % Hide the article window. setkey article art_eob ">" % goto end of article setkey article left "\OD" setkey article left "\[D" setkey article next "n" % next unread article setkey article skip_to_next_group "N" % next group setkey article prev "p" % previous unread article setkey article quit "q" % Quit back to group mode. setkey article redraw "^L" % Redraw the display setkey article redraw "^R" setkey article reply "r" % Reply to the author of the current article setkey article art_bob "<" % Goto beginning of article setkey article right "\[C" setkey article right "\OC" setkey article save "O" % append to a file in Unix mail format setkey article subject_search_forward "s" % Search forward/backward for an article with a specific subject setkey article subject_search_backward "S" setkey article suspend "^Z" % Suspend the newsreader setkey article toggle_rot13 "\R" setkey article toggle_sort "\S" setkey article toggle_headers "t" % Toggle the display of some headers on and off setkey article toggle_quotes "T" setkey article undelete "u" % Mark the current article as unread setkey article up "^P" % Move to the previous article setkey article up "\OA" setkey article up "\[A" setkey article header_bob "\<" % Move to first article in list setkey article header_eob "\>" % Move to last article in list setkey article shrink_window "^^" % Ctrl-6 or Ctrl-^ % Shrink header window setkey article enlarge_window "^" % Shift-6 or just ^ % Enlarge header window %setkey article skip_to_prev_group "" % No default binding %setkey article fast_quit "" % No default binding % This is a special hack for HP terminals to get the arrow keys working. % Are there any other terminals being used with non-ANSI arrow keys? #if$TERM hpterm setkey group up "\A" % "^(ku)" setkey group down "\B" % "^(kd)" setkey article down "\B" setkey article up "\A" setkey article left "\D" setkey article right "\C" #endif 참고 environ(5) slrn에 대한 질문은 news.software.readers 뉴스그룹에 투고하면 프로그램의 저자가 답변을 줄 것이다. 덧붙여서, 새 버전 발표도 여기서 이루어진다. slrn 최신버전은 ftp://space.mit.edu의 pub/davis/slrn에서 구할 수 있다. 제작자 John E. Davis 감사드릴 분들 (This list is still incomplete) Howard Goldstein for updating this man page. Andrew Greer for the VMS port. Jay Maynard for the OS/2 port. Michael Elkins for the MIME code. Lloyd Zusman performed some cosmetic improvements. J.B. Nicholson-Owens for extensive testing. Mark Olesen for suggestions and help with AIX version.