gale client

root / ginsu.config.sample

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
#---------------------------------------------------
# this file should be placed in ~/.gale/ginsu.config
#---------------------------------------------------

#the setting in this sample file coorespond to the defaults

######################
# Definately set these
######################

# set to your gale domain (usually taken from enviornment, MUST be set somewhere)
#GALE_DOMAIN gale.org


# GALE_SUBSCRIBE is a list of all categories you wish to subscribe too.
# the default is some common public categories and your private puffs.

GALE_SUBSCRIBE pub@ofb.net local@ofb.net test.ginsu@ofb.net $GALE_ID

# GALE_NAME should be set to your real name.
GALE_NAME Ginsu User $LOGNAME

PUFF_DATE_FORMAT %a %H:%M:%S

###################
# perhaps set these
###################

#GALE_ID should be set to your GALE_ID. the default is to append your login to your GALE_DOMAIN.
#GALE_ID user@gale.org


# editor to use for puff composition (else $VISUAL then $EDITOR used)
#EDITOR vim

# when editing a puff, run the editor in the background, so you can still
# interact with ginsu while editing
#BACKGROUND_EDIT true

# if BACKGROUND_EDIT is enabled, prefix commands with this (something like
# "xterm -e"; if your editor is graphical, don't specify it)
#BACKGROUND_COMMAND urxvt -e

# GALE_PROXY
#  gale server to use in preference to all others, you should not need to set
#  this unless you are behind a firewall or your own GALE_DOMAIN servers are not
#  suitable for some reason.
#GALE_PROXY gale.org


# MARK_[123..] sets the initial filter for a given marked screen. use the
# number keys to quickly switch to a mark.
#
# the default has '7' show puffs to or from you,
# '8' shows traffic about gale and '9' filters spoilers away.

MARK_7 ~c:$GALE_ID ; ~a:$GALE_ID
MARK_8 ~c:pub.gale@ofb.net ; ~c:pub.rfc
MARK_9 !~k:spoil


# beep on any puffs matching the following filters
BEEP ~c:$GALE_ID


# number of puffs to store in pufflog on exit.
PUFFLOG_SIZE 500

# maximum number of puffs to keep in memory
SCROLLBACK_SIZE 0

# charset, one of utf8, latin1, or ascii. if not set, will try to determine it from $LANG
# this only affects what format it assumes you are editing puffs in. locale settings are
# always used for the UI
#CHARSET latin1

# when replying to a puff, keep these keywords
PRESERVED_KEYWORDS ketchup catchup tangent spoiler spoilers nolog

# on startup, run this macro
ON_STARTUP <End>

# uncomment this if you are having trouble with terminal resizing.
#DISABLE_SIGWINCH True

#dispose of blank lines at the begining or end of puffs
TRIM_BLANKLINES true

BROWSER links

apphook WikiWord
        '([[:space:]]|^)(([[:upper:]][[:lower:]]+){2,})([[:space:]]|$)'
        '$BROWSER http://wiki.ofb.net/?$2'
        '$2'

apphook Url
        '(http|ftp)s?://(%[[:digit:]A-Fa-f][[:digit:]A-Fa-f]|[-_.!~*'';/?:@&=+$,[:alnum:]])+'
        '$BROWSER ''$0'''

#default key bindings

bind <F1> show_help_screen
bind ? show_help_screen
#bind <F2> show_main_index
bind <F3> show_presence_status

bind j next_puff
bind k previous_puff
bind <Down> next_puff
bind <Up> previous_puff

bind <Home> first_puff
bind <End> last_puff
bind G last_puff

bind <Enter> next_line
bind <C-E> next_line

bind <BackSpace> previous_line
bind <C-Y> previous_line

bind <C-F> next_page
bind <PageDown> next_page
bind <C-B> previous_page
bind <PageUp> previous_page

bind <C-D> forward_half_page
bind <C-U> backward_half_page

bind d show_puff_details

bind c prompt_new_filter
bind / prompt_new_filter_slash
bind ~ prompt_new_filter_twiddle
bind u pop_one_filter
bind U pop_all_filters
bind ! invert_filter
bind x swap_filters

bind a filter_current_author
bind t filter_current_thread
bind T filter_current_thread

bind <C-o> toggle_rot13

# marks
bind m set_mark
bind <SingleQuote> recall_mark
bind M set_filter_mark
bind <DoubleQuote> recall_filter_mark
bind C recall_combine_mark

bind f follow_up
bind p new_puff
bind r reply_to_author
bind g group_reply
bind R resend_puff

bind N modify_presence_string

bind <C-r> reconnect_to_servers
bind E edit_config_file
bind q ask_quit
bind Q fast_quit
bind <C-l> redraw_screen
bind v goto_match
bind S show_status_screen