Add a generic \opt{HAVEREMOTEKEYMAP}{& } to button maps to allow all
[kugel-rb/myfork.git] / manual / plugins / text_viewer.tex
blob839f51793aa55c8bfddd0c33c4128a7f51dabf09
1 \subsection{Text Viewer}
2 This is a Viewer for text files with word wrap. Just open a .txt file to
3 display it. The text viewer features controls to handle various styles of text
4 formatting, has top{}-of{}-file and bottom{}-of{}-file buttons. You can view
5 files without a \fname{.txt} extension by using \emph{Open with} from the
6 \emph{Context Menu} (see \reference{ref:Contextmenu}).
9 \begin{table}
10 \begin{btnmap}{}{}
11 \opt{PLAYER_PAD}{\ButtonLeft}
12 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD%
13 ,SANSA_E200_PAD,GIGABEAT_PAD,MROBE100_PAD}{\ButtonUp}
14 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollBack}
15 \opt{IRIVER_H10_PAD}{\ButtonScrollUp}
16 \opt{SANSA_C200_PAD}{\ButtonVolUp}
17 \opt{GIGABEAT_S_PAD}{\ButtonPrev}
18 \opt{HAVEREMOTEKEYMAP}{& }
19 & Scroll{}-up\\
21 \opt{PLAYER_PAD}{\ButtonRight}
22 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD%
23 ,SANSA_E200_PAD,GIGABEAT_PAD,MROBE100_PAD}{\ButtonDown}
24 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollFwd}
25 \opt{IRIVER_H10_PAD}{\ButtonScrollDown}
26 \opt{SANSA_C200_PAD}{\ButtonVolDown}
27 \opt{GIGABEAT_S_PAD}{\ButtonNext}
28 \opt{HAVEREMOTEKEYMAP}{& }
29 & Scroll{}-down\\
31 \opt{PLAYER_PAD}{\ButtonMenu+\ButtonLeft}
32 \opt{GIGABEAT_S_PAD}{\ButtonPlay+\ButtonLeft}
33 \nopt{PLAYER_PAD,GIGABEAT_S_PAD}{\ButtonLeft}
34 \opt{HAVEREMOTEKEYMAP}{& }
35 & Top of file (Narrow mode) /
36 One screen left (Wide mode)\\
38 \opt{PLAYER_PAD}{\ButtonMenu+\ButtonRight}
39 \opt{GIGABEAT_S_PAD}{\ButtonPlay+\ButtonRight}
40 \nopt{PLAYER_PAD,GIGABEAT_S_PAD}{\ButtonRight}
41 \opt{HAVEREMOTEKEYMAP}{& }
42 & Bottom of file (Narrow mode) /
43 One screen right (Wide mode)\\
45 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,SANSA_E200_PAD%
46 ,SANSA_C200_PAD,GIGABEAT_S_PAD}{%
47 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonUp}
48 \opt{SANSA_E200_PAD}{\ButtonScrollBack}
49 \opt{SANSA_C200_PAD}{\ButtonUp}
50 \opt{GIGABEAT_S_PAD}{\ButtonUp}
51 \opt{HAVEREMOTEKEYMAP}{& }
52 & One line up\\
55 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,SANSA_E200_PAD%
56 ,SANSA_C200_PAD,GIGABEAT_S_PAD}{%
57 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonDown}
58 \opt{SANSA_E200_PAD}{\ButtonScrollFwd}
59 \opt{SANSA_C200_PAD}{\ButtonDown}
60 \opt{GIGABEAT_S_PAD}{\ButtonDown}
61 \opt{HAVEREMOTEKEYMAP}{& }
62 & One line down\\
65 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_S_PAD}{
66 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonLeft}
67 \opt{GIGABEAT_S_PAD}{\ButtonLeft}
68 \opt{HAVEREMOTEKEYMAP}{& }
69 & One column left\\
72 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_S_PAD}{
73 \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonRight}
74 \opt{GIGABEAT_S_PAD}{\ButtonRight}
75 \opt{HAVEREMOTEKEYMAP}{& }
76 & One column right\\
79 \opt{RECORDER_PAD,PLAYER_PAD,IPOD_4G_PAD,IPOD_3G_PAD,IAUDIO_X5_PAD%
80 ,IRIVER_H10_PAD,GIGABEAT_S_PAD}{\ButtonPlay}
81 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonSelect}
82 \opt{ONDIO_PAD}{\ButtonMenu}
83 \opt{GIGABEAT_PAD}{\ButtonA}
84 \opt{SANSA_C200_PAD,SANSA_E200_PAD}{\ButtonRec}
85 \opt{MROBE100_PAD}{\ButtonDisplay}
86 \opt{HAVEREMOTEKEYMAP}{& }
87 & Toggle autoscroll\\
89 \opt{RECORDER_PAD}{\ButtonFOne}
90 \opt{ONDIO_PAD}{Long \ButtonMenu}
91 \opt{PLAYER_PAD,IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD%
92 ,MROBE100_PAD}{\ButtonMenu}
93 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
94 \opt{IAUDIO_X5_PAD,SANSA_C200_PAD,SANSA_E200_PAD}{\ButtonSelect}
95 \opt{IRIVER_H10_PAD}{\ButtonRew}
96 \opt{HAVEREMOTEKEYMAP}{& }
97 & Enter menu\\
99 \opt{PLAYER_PAD}{\ButtonStop}
100 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
101 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu}
102 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD,GIGABEAT_PAD%
103 ,MROBE100_PAD}{\ButtonPower}
104 \opt{GIGABEAT_S_PAD}{\ButtonBack}
105 \opt{HAVEREMOTEKEYMAP}{& }
106 & Exit text viewer\\
108 \end{btnmap}
109 \end{table}
111 \subsubsection{The Viewer's Menu}
113 \begin{description}
114 \item[Quit] Exits the plugin.
115 \item[Viewer Options]
116 \begin{description}
117 \item[Encoding]
118 sets the codepage in the text viewer.
119 % ToDo: wrap some of the following settings into a \opt{lcd_bitmap} to exlude
120 % ones that don't work on charcell - as soon as the plugin itself does
121 Available settings:
122 \setting{UTF-8} (Unicode),
123 \setting{BIG5} (Traditional Chinese),
124 \setting{KSX-1001} (Korean),
125 \setting{GB-2312} (Simple Chinese),
126 \setting{SJIS} (Japanese),
127 \setting{CP1250} (Central European),
128 \setting{ISO-8859-2} (Latin Extended),
129 \setting{ISO-8859-9} (Turkish),
130 \setting{ISO-8859-6} (Arabic),
131 \setting{ISO-8859-11} (Thai),
132 \setting{CP1251} (Cyrillic),
133 \setting{ISO-8859-8} (Hebrew),
134 \setting{ISO-8859-7} (Greek),
135 \setting{ISO-8859-1} (Latin 1).
136 This setting only applies to the plugin and is independent from the
137 \setting{Default Codepage} setting (see \reference{ref:Defaultcodepage}).
138 \item[Word Wrap] toggles between Wrap and Chop.
139 \begin{description}
140 \item[Off (Chop Words)] breaks lines at white space or hyphen.
141 \item[On] breaks lines at the maximum column limit.
142 \end{description}
143 \item[Line Mode] cycles through Normal, Join and Expand and Reflow Lines.
144 \begin{description}
145 \opt{lcd_bitmap}{
146 \item[Reflow Lines] justifies the text fully.
148 \item[Expand] adds a blank line. Useful for making the paragraphs
149 clearer in some book style text files.
150 \item[Join] joins lines. Useful for adopting the orphans that
151 occur with e{}-mail style (i.e. pre{}-wrapped) text files.
152 \item[Normal] breaks lines at newline characters.
153 \end{description}
154 \item[Wide View] toggles between Narrow and Wide.
155 \begin{description}
156 \item[Yes] sets maximum column to 114. Useful for navigating large files.
157 (Currently, Wide and Join cannot be selected together.)
158 \item[No (Narrow)] sets maximum column to the screen width.
159 \end{description}
160 \opt{lcd_bitmap}{
161 \item[Show Scrollbar] toggles scrollbar for the current View mode. If the
162 file fits on one screen, there is no scrollbar and toggling this setting
163 has no effect.
164 \begin{description}
165 \item[On] has a scrollbar by default, until toggled.
166 \item[Off] has no scrollbar by default, until toggled.
167 \end{description}
168 \item[Overlap Pages] toggles between Normal and Overlap.
169 \begin{description}
170 \item[Yes] tells page{}-down/page{}-up to retain one line from previous screen.
171 \item[No] sets page{}-down/page{}-up to one full screen.
172 \end{description}
174 \item[Scroll Mode] controls the function of the ``Scroll-up'' and
175 ``Scroll-down'' buttons.
176 \begin{description}
177 \item[Scroll by Line]
178 \item[Scroll by Page]
179 \end{description}
180 \item[Auto-scroll Speed]
181 controls the speed of auto-scrolling in number of lines per scroll step,
182 available options are \setting{1} to \setting{10} lines. As an example,
183 a setting of \setting{4} will scroll up the text four lines per second.
184 \end{description}
186 \item[Show Playback Menu] controls the playback of the currently loaded playlist
187 and change the volume of your \dap without leaving the plugin.
188 \item[Return] to the text view.
189 \end{description}
191 \note{The text viewer automatically saves its settings and also stores the
192 current position in the viewed text files (up to the last 46 files).}
194 \subsubsection{Compatibility}
196 \begin{itemize}
197 \item Currently messages are in English
198 \item Does not currently support right{}-to{}-left languages.
199 \end{itemize}