Date:2010-10-20 09:54:02 (9 years 8 months ago)
Author:Xiangfu Liu
Commit:25d68f84d2786c420818b048fa15153efc0cd3c0
Message:[joe-full] renmae qijoe to joe-full

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
Files: joe-full/Makefile (1 diff)
joe-full/patches/001-mathaway.patch (1 diff)
joe-full/patches/002-builtinrc.patch (1 diff)
qijoe/Makefile (1 diff)
qijoe/patches/001-mathaway.patch (1 diff)
qijoe/patches/002-builtinrc.patch (1 diff)

Change Details

joe-full/Makefile
1#
2# Copyright (C) 2007 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8# changes by David Kuehling <dvdkhlng TA gmx TOD de>:
9#
10# - include support for all emulation modes jmacs jpico etc.
11# - see patches/002-builtinrc.patch
12
13include $(TOPDIR)/rules.mk
14
15PKG_NAME:=joe-full
16PKG_VERSION:=3.7
17PKG_RELEASE:=3
18
19PKG_SOURCE:=joe-$(PKG_VERSION).tar.gz
20PKG_SOURCE_URL:=@SF/joe-editor
21PKG_MD5SUM:=66de1b073e869ba12abbfcde3885c577
22
23PKG_BUILD_DIR=$(BUILD_DIR)/joe-$(PKG_VERSION)
24
25include $(INCLUDE_DIR)/package.mk
26
27define Package/joe-full
28  SECTION:=utils
29  CATEGORY:=Utilities
30  DEPENDS:=+libncurses
31  TITLE:=JOE - Joes own editor
32  URL:=http://sourceforge.net/projects/joe-editor/
33  SUBMENU:=Editors
34endef
35
36define Package/joe-full/description
37Joe is world-famous Wordstar like text editor, that also features
38Emacs and Pico emulation
39endef
40
41define Package/joe-full/install
42    $(INSTALL_DIR) $(1)/usr/bin
43    $(INSTALL_BIN) $(PKG_BUILD_DIR)/joe $(1)/usr/bin/
44    for i in jmacs jstar rjoe jpico; do \
45      ln -sf joe $(1)/usr/bin/$$$$i; \
46    done
47endef
48
49$(eval $(call BuildPackage,joe-full))
joe-full/patches/001-mathaway.patch
1--- a/umath.c
2@@ -378,7 +378,6 @@ double m_cos(double n) { return cos(n);
3 double m_tan(double n) { return tan(n); }
4 double m_exp(double n) { return exp(n); }
5 double m_sqrt(double n) { return sqrt(n); }
6-double m_cbrt(double n) { return cbrt(n); }
7 double m_log(double n) { return log(n); }
8 double m_log10(double n) { return log10(n); }
9 double m_asin(double n) { return asin(n); }
10@@ -387,19 +386,10 @@ double m_atan(double n) { return atan(n)
11 double m_sinh(double n) { return sinh(n); }
12 double m_cosh(double n) { return cosh(n); }
13 double m_tanh(double n) { return tanh(n); }
14-double m_asinh(double n) { return asinh(n); }
15-double m_acosh(double n) { return acosh(n); }
16-double m_atanh(double n) { return atanh(n); }
17 double m_int(double n) { return (int)(n); }
18 double m_floor(double n) { return floor(n); }
19 double m_ceil(double n) { return ceil(n); }
20 double m_fabs(double n) { return fabs(n); }
21-double m_erf(double n) { return erf(n); }
22-double m_erfc(double n) { return erfc(n); }
23-double m_j0(double n) { return j0(n); }
24-double m_j1(double n) { return j1(n); }
25-double m_y0(double n) { return y0(n); }
26-double m_y1(double n) { return y1(n); }
27
28 double calc(BW *bw, unsigned char *s)
29 {
30@@ -414,7 +404,6 @@ double calc(BW *bw, unsigned char *s)
31         v = get(USTR "tan"); v->func = m_tan;
32         v = get(USTR "exp"); v->func = m_exp;
33         v = get(USTR "sqrt"); v->func = m_sqrt;
34- v = get(USTR "cbrt"); v->func = m_cbrt;
35         v = get(USTR "ln"); v->func = m_log;
36         v = get(USTR "log"); v->func = m_log10;
37         v = get(USTR "asin"); v->func = m_asin;
38@@ -425,19 +414,10 @@ double calc(BW *bw, unsigned char *s)
39         v = get(USTR "sinh"); v->func = m_sinh;
40         v = get(USTR "cosh"); v->func = m_cosh;
41         v = get(USTR "tanh"); v->func = m_tanh;
42- v = get(USTR "asinh"); v->func = m_asinh;
43- v = get(USTR "acosh"); v->func = m_acosh;
44- v = get(USTR "atanh"); v->func = m_atanh;
45         v = get(USTR "int"); v->func = m_int;
46         v = get(USTR "floor"); v->func = m_floor;
47         v = get(USTR "ceil"); v->func = m_ceil;
48         v = get(USTR "abs"); v->func = m_fabs;
49- v = get(USTR "erf"); v->func = m_erf;
50- v = get(USTR "erfc"); v->func = m_erfc;
51- v = get(USTR "j0"); v->func = m_j0;
52- v = get(USTR "j1"); v->func = m_j1;
53- v = get(USTR "y0"); v->func = m_y0;
54- v = get(USTR "y1"); v->func = m_y1;
55     }
56
57     v = get(USTR "top");
joe-full/patches/002-builtinrc.patch
1Index: joe-embedded/builtins.c
2===================================================================
3--- joe-embedded/builtins.c (revision 227)
4@@ -1,843 +0,0 @@
5-/* Built-in files */
6-
7-#include "types.h"
8-
9-unsigned char *builtins[]=
10-{
11- USTR "joerc",
12- USTR "-notite\n"
13- "-assume_color\n"
14- "-assume_256color\n"
15- "-guess_non_utf8\n"
16- "-guess_crlf\n"
17- "-guess_indent\n"
18- "-menu_above\n"
19- "-transpose\n"
20- "-joe_state\n"
21- "-restore\n"
22- "-search_prompting\n"
23- "-lmsg \\i%k%T%W%I%X %n %m%y%R %M %x\n"
24- "-rmsg %S Row %r Col %c %t Ctrl-K H for help\n"
25- "-highlight\n"
26- "-istep 2\n"
27- ":defmenu root\n"
28- "mode,\"overwrite\",rtn T Overtype %Zoverwrite%\n"
29- "mode,\"hex\",rtn % % Hex edit mode\n"
30- "mode,\"autoindent\",rtn I Autoindent %Zautoindent%\n"
31- "mode,\"wordwrap\",rtn W Word wrap %Zwordwrap%\n"
32- "mode,\"tab\",rtn D Tab width %Ztab%\n"
33- "mode,\"lmargin\",rtn L Left margin %Zlmargin%\n"
34- "mode,\"rmargin\",rtn R Right margin %Zrmargin%\n"
35- "mode,\"square\",rtn X Rectangle mode %Zsquare%\n"
36- "mode,\"indentc\",rtn % % Indent char %Zindentc%\n"
37- "mode,\"istep\",rtn % % Indent step %Zistep%\n"
38- "mode,\"highlight\",rtn H Highlighting %Zhighlight%\n"
39- "mode,\"crlf\",rtn Z CR-LF (MS-DOS) %Zcrlf%\n"
40- "mode,\"linums\",rtn N Line numbers %Zlinums%\n"
41- "mode,\"beep\",rtn B Beep %Zbeep%\n"
42- "mode,\"rdonly\",rtn O Read only %Zrdonly%\n"
43- "mode,\"syntax\",rtn Y Syntax\n"
44- "mode,\"encoding\",rtn E Encoding\n"
45- "mode,\"asis\",rtn % % Meta chars as-is\n"
46- "mode,\"language\",rtn V Language\n"
47- "mode,\"picture\",rtn P picture %Zpicture%\n"
48- "menu,\"more-options\",rtn % % More options...\n"
49- ":defmenu more-options\n"
50- "menu,\"^G\",rtn % % ^G options\n"
51- "menu,\"search\",rtn % % search options\n"
52- "menu,\"paragraph\",rtn % % paragraph options\n"
53- "menu,\"file\",rtn % % file options\n"
54- "menu,\"menu\",rtn % % menu options\n"
55- "menu,\"global\",rtn % % global options\n"
56- "menu,\"cursor\",rtn % % cursor options\n"
57- "menu,\"marking\",rtn % % marking options\n"
58- "menu,\"tab\",rtn % % tab/indent options\n"
59- ":defmenu menu\n"
60- "mode,\"menu_explorer\",rtn % % Menu explorer %Zmenu_explorer%\n"
61- "mode,\"menu_above\",rtn % % Menu position %Zmenu_above%\n"
62- "mode,\"menu_jump\",rtn % % Jump into menu %Zmenu_jump%\n"
63- "mode,\"transpose\",rtn % % Transpose menus %Ztranspose%\n"
64- ":defmenu ^G\n"
65- "mode,\"single_quoted\",rtn % % ^G ignores '...' %Zsingle_quoted%\n"
66- "mode,\"no_double_quoted\",rtn % % ^G no ignore \"...\" %Zno_double_quoted%\n"
67- "mode,\"c_comment\",rtn % % ^G ignores /*...*/ %Zc_comment%\n"
68- "mode,\"cpp_comment\",rtn % % ^G ignores //... %Zcpp_comment%\n"
69- "mode,\"pound_comment\",rtn % % ^G ignores #... %Zpound_comment%\n"
70- "mode,\"vhdl_comment\",rtn % % ^G ignores --... %Zvhdl_comment%\n"
71- "mode,\"semi_comment\",rtn % % ^G ignores ;... %Zsemi_comment%\n"
72- "mode,\"tex_comment\",rtn % % ^G ignores %... %Ztex_comment%\n"
73- "mode,\"text_delimiters\",rtn % % Text delimiters %Ztext_delimiters%\n"
74- ":defmenu search\n"
75- "mode,\"icase\",rtn % % Case insensitivity %Zicase%\n"
76- "mode,\"wrap\",rtn % % Search wraps %Zwrap%\n"
77- "mode,\"search_prompting\",rtn % % Search prompting %Zsearch_prompting%\n"
78- "mode,\"csmode\",rtn % % Continued search %Zcsmode%\n"
79- ":defmenu paragraph\n"
80- "mode,\"french\",rtn % % French spacing %Zfrench%\n"
81- "mode,\"flowed\",rtn % % Flowed text %Zflowed%\n"
82- "mode,\"cpara\",rtn % % Paragraph indent chars %Zcpara%\n"
83- ":defmenu file\n"
84- "mode,\"restore\",rtn % % Restore cursor %Zrestore%\n"
85- "mode,\"guess_crlf\",rtn % % Auto detect CR-LF %Zguess_crlf%\n"
86- "mode,\"guess_indent\",rtn % % Guess indent %Zguess_indent%\n"
87- "mode,\"guess_non_utf8\",rtn % % Guess non-UTF-8 %Zguess_non_utf8%\n"
88- "mode,\"guess_utf8\",rtn % % Guess UTF-8 %Zguess_utf8%\n"
89- "mode,\"force\",rtn % % Force last NL %Zforce%\n"
90- "mode,\"nobackup\",rtn % % No backup %Znobackup%\n"
91- ":defmenu global\n"
92- "mode,\"nolocks\",rtn % % Disable locks %Znolocks%\n"
93- "mode,\"nobackups\",rtn % % Disable backups %Znobackups%\n"
94- "mode,\"nomodcheck\",rtn % % Disable mtime check %Znomodcheck%\n"
95- "mode,\"nocurdir\",rtn % % Disable current dir %Znocurdir%\n"
96- "mode,\"exask\",rtn % % Exit ask %Zexask%\n"
97- "mode,\"nosta\",rtn % % Disable status line %Znosta%\n"
98- "mode,\"keepup\",rtn % % Fast status line %Zkeepup%\n"
99- "mode,\"break_hardlinks\",rtn % % Break hard links %Zbreak_hardlinks%\n"
100- "mode,\"break_links\",rtn % % Break links %Zbreak_links%\n"
101- "mode,\"joe_state\",rtn % % Joe_state file %Zjoe_state%\n"
102- "mode,\"undo_keep\",rtn % % No. undo records %Zundo_keep%\n"
103- "mode,\"backpath\",rtn % % Path to backup files %Zbackpath%\n"
104- ":defmenu cursor\n"
105- "mode,\"pg\",rtn % % No. PgUp/PgDn lines %Zpg%\n"
106- "mode,\"mid\",rtn C Center on scroll %Zmid%\n"
107- "mode,\"floatmouse\",rtn % % Click past end %Zfloatmouse%\n"
108- "mode,\"rtbutton\",rtn % % Right button %Zrtbutton%\n"
109- ":defmenu marking\n"
110- "mode,\"autoswap\",rtn % % Autoswap mode %Zautoswap%\n"
111- "mode,\"marking\",rtn % % Marking %Zmarking%\n"
112- "mode,\"lightoff\",rtn % % Auto unmask %Zlightoff%\n"
113- ":defmenu tab\n"
114- "mode,\"smarthome\",rtn % % Smart home key %Zsmarthome%\n"
115- "mode,\"smartbacks\",rtn % % Smart backspace %Zsmartbacks%\n"
116- "mode,\"indentfirst\",rtn % % To indent first %Zindentfirst%\n"
117- "mode,\"purify\",rtn % % Clean up indents %Zpurify%\n"
118- "mode,\"spaces\",rtn % % No tabs %Zspaces%\n"
119- "{Basic\n"
120- "\\i Help Screen \\|turn off with ^KH more help with ESC . (^[.) \\i\n"
121- "\\i \\i\\|\\uCURSOR\\u \\|\\uGO TO\\u \\|\\uBLOCK\\u \\|\\uDELETE\\u \\|\\uMISC\\u \\|\\uEXIT\\u \\|\\i \\i\n"
122- "\\i \\i\\|^B left ^F right \\|^U prev. screen \\|^KB begin \\|^D char. \\|^KJ reformat \\|^KX save \\|\\i \\i\n"
123- "\\i \\i\\|^P up ^N down \\|^V next screen \\|^KK end \\|^Y line \\|^KA center \\|^C abort \\|\\i \\i\n"
124- "\\i \\i\\|^Z previous word \\|^A beg. of line \\|^KM move \\|^W >word \\|^T options \\|^KZ shell \\|\\i \\i\n"
125- "\\i \\i\\|^X next word \\|^E end of line \\|^KC copy \\|^O word< \\|^R refresh \\|\\uFILE\\u \\|\\i \\i\n"
126- "\\i \\i\\|\\uSEARCH\\u \\|^KU top of file \\|^KW file \\|^J >line \\|\\uSPELL\\u \\|^KE edit \\|\\i \\i\n"
127- "\\i \\i\\|^KF find text \\|^KV end of file \\|^KY delete \\|^_ undo \\|^[N word \\|^KR insert\\|\\i \\i\n"
128- "\\i \\i\\|^L find next \\|^KL to line No. \\|^K/ filter \\|^^ redo \\|^[L file \\|^KD save \\|\\i \\i\n"
129- "}\n"
130- "{Windows\n"
131- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
132- "\\i \\i\\|^KO Split the window in half \\|^KE Load file into window \\|\\i \\i\n"
133- "\\i \\i\\|^KG Make current window bigger \\|^KT Make current window smaller \\|\\i \\i\n"
134- "\\i \\i\\|^KN Go to the window below \\|^KP Go to the window above \\|\\i \\i\n"
135- "\\i \\i\\|^[V Switch to next buffer \\|^[U Switch to previous buffer \\|\\i \\i\n"
136- "\\i \\i\\|^C Eliminate the current window \\|^KI Show all windows / Show one window\\|\\i \\i\n"
137- "}\n"
138- "{Advanced\n"
139- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
140- "\\i \\i\\|\\uMACROS\\u \\|\\uMISC\\u \\|\\uSCROLL\\u \\|\\uSHELL\\u \\|\\uGOTO\\u \\|\\uI-SEARCH\\u \\|\\i \\i\n"
141- "\\i \\i\\|^K[ 0-9 Record \\|^K SPACE status \\|^[W Up \\|^K' Window \\|^[B To ^KB \\|^[R Backwards\\|\\i \\i\n"
142- "\\i \\i\\|^K] Stop \\|^K\\\\ Repeat \\|^[Z Down \\|^[! Command \\|^[K To ^KK \\|^[S Forwards \\|\\i \\i\n"
143- "\\i \\i\\|^K 0-9 Play \\|\\uINSERT\\u \\|^K< Left \\|\\uQUOTE\\u \\|\\uDELETE\\u \\|\\uBOOKMARKS\\u \\|\\i \\i\n"
144- "\\i \\i\\|^K? Query \\|^] split line \\|^K> Right \\|^[' Ctrl- \\|^[Y yank \\|^[ 0-9 Goto \\|\\i \\i\n"
145- "\\i \\i\\|^[D Dump \\|^SPACE ins space\\| \\|^\\\\ Meta- \\|^[O line< \\|^[^[ Set \\|\\i \\i\n"
146- "}\n"
147- "{Programs\n"
148- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
149- "\\i \\i\\|\\uGOTO\\u \\|\\uINDENT\\u \\|\\uCOMPILING\\u \\uQUICK\\u \\|\\i \\i\n"
150- "\\i \\i\\|^G Matching ( [ { \\|^K, less \\|^[C Compile & parse ^G find word under cursor \\|\\i \\i\n"
151- "\\i \\i\\|^K- Previous place \\|^K. more \\|^[G Grep & parse ^[ENTER complete word \\|\\i \\i\n"
152- "\\i \\i\\|^K= Next place \\| \\|^[= To next error ^[Y paste deleted text \\|\\i \\i\n"
153- "\\i \\i\\|^K; Tags file search \\| \\|^[- To prev. error ^[^Y cycle through deleted \\|\\i \\i\n"
154- "\\i \\i\\| \\| \\|^[ SP Jump to error \\|\\i \\i\n"
155- "}\n"
156- "{Search\n"
157- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
158- "\\i \\iSpecial search sequences: \\|\\i \\i\n"
159- "\\i \\i \\\\^ \\\\$ matches beg./end of line \\\\? match any single char \\|\\i \\i\n"
160- "\\i \\i \\\\< \\\\> matches beg./end of word \\\\* match 0 or more chars \\|\\i \\i\n"
161- "\\i \\i \\\\c matches balanced C expression \\\\\\\\ matches a \\\\ \\|\\i \\i\n"
162- "\\i \\i \\\\[..] matches one of a set \\\\n matches a newline \\|\\i \\i\n"
163- "\\i \\i \\\\+ matches 0 or more of the character which follows the \\\\+ \\|\\i \\i\n"
164- "\\i \\iSpecial replace sequences: \\|\\i \\i\n"
165- "\\i \\i \\\\& replaced with text which matched search string \\|\\i \\i\n"
166- "\\i \\i \\\\0 - 9 replaced with text which matched Nth \\\\*, \\\\?, \\\\c, \\\\+, or \\\\[..] \\|\\i \\i\n"
167- "\\i \\i \\\\\\\\ replaced with \\\\ \\\\n replaced with newline \\|\\i \\i\n"
168- "}\n"
169- "{SearchOptions\n"
170- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
171- "\\i \\iSearch options: \\|\\i \\i\n"
172- "\\i \\i r Replace \\|\\i \\i\n"
173- "\\i \\i k Restrict search to highlighted block, which can be rectangular \\|\\i \\i\n"
174- "\\i \\i b Search backward instead of forward \\|\\i \\i\n"
175- "\\i \\i i Ignore case \\|\\i \\i\n"
176- "\\i \\i a Search across all loaded files \\|\\i \\i\n"
177- "\\i \\i e Search across all files in Grep or Compile error list \\|\\i \\i\n"
178- "\\i \\i w Wrap to beginning of file for this search \\|\\i \\i\n"
179- "\\i \\i n Do not wrap to beginning of file for this search \\|\\i \\i\n"
180- "\\i \\i nnn Perform exaclty nnn replacements \\|\\i \\i\n"
181- "}\n"
182- "{Math\n"
183- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
184- "\\i \\i \\uCOMMANDS\\u (hit ESC m for math) \\uFUNCTIONS\\u \\|\\i \\i\n"
185- "\\i \\i hex hex display mode sin cos tab asin acos atan \\|\\i \\i\n"
186- "\\i \\i dec decimal mode sinh cosh tanh asinh acosh atanh \\|\\i \\i\n"
187- "\\i \\i ins type result into file sqrt cbrt exp ln log \\|\\i \\i\n"
188- "\\i \\i eval evaluate block int floor ceil abs erg ergc \\|\\i \\i\n"
189- "\\i \\i 0xff enter number in hex joe(..macro..) - runs an editor macro \\|\\i \\i\n"
190- "\\i \\i 3e-4 floating point decimal \\uBLOCK\\u \\|\\i \\i\n"
191- "\\i \\i a=10 assign a variable sum cnt Sum, count \\|\\i \\i\n"
192- "\\i \\i 2+3:ins multiple commands avg dev Average, std. deviation \\|\\i \\i\n"
193- "\\i \\i e pi constants \\uOPERATORS\\u \\|\\i \\i\n"
194- "\\i \\i ans previous result ! ^ * / % + - < <= > >= == != && || ? :\\|\\i \\i\n"
195- "}\n"
196- "{Names\n"
197- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
198- "\\i \\i Hit TAB at file name prompts to generate menu of file names \\|\\i \\i\n"
199- "\\i \\i Or use up/down keys to access history of previously entered names \\|\\i \\i\n"
200- "\\i \\i Special file names: \\|\\i \\i\n"
201- "\\i \\i !command Pipe in/out of a shell command \\|\\i \\i\n"
202- "\\i \\i >>filename Append to a file \\|\\i \\i\n"
203- "\\i \\i - Read/Write to/from standard I/O \\|\\i \\i\n"
204- "\\i \\i filename,START,SIZE Read/Write a part of a file/device \\|\\i \\i\n"
205- "\\i \\i Give START/SIZE in decimal (255), octal (0377) or hex (0xFF) \\|\\i \\i\n"
206- "}\n"
207- "{Joe\n"
208- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, \\i\n"
209- "\\i \\i Send bug reports to: http://sourceforge.net/projects/joe-editor \\|\\i \\i\n"
210- "\\i \\i \\|\\i \\i\n"
211- "}\n"
212- ":windows Bindings common to all windows\n"
213- "type ^@ TO Type a character\n"
214- "abort ^C Abort window\n"
215- "abort ^K Q\n"
216- "abort ^K ^Q\n"
217- "abort ^K q\n"
218- "arg ^K \\ Repeat next command\n"
219- "explode ^K I Show all windows or show only one window\n"
220- "explode ^K ^I\n"
221- "explode ^K i\n"
222- "help ^K H Help menu\n"
223- "help ^K ^H\n"
224- "help ^K h\n"
225- "hnext ^[ . Next help window\n"
226- "hprev ^[ , Previous help window\n"
227- "math ^[ m Calculator\n"
228- "math ^[ M Calculator\n"
229- "msg ^[ h Display a message\n"
230- "msg ^[ H Display a message\n"
231- "msg ^[ ^H Display a message\n"
232- "nextw ^K N Goto next window\n"
233- "nextw ^K ^N\n"
234- "nextw ^K n\n"
235- "pgdn .kN Screen down\n"
236- "pgdn ^V\n"
237- "pgdn ^[ [ 6 ~\n"
238- "pgup .kP Screen up\n"
239- "pgup ^U\n"
240- "pgup ^[ [ 5 ~\n"
241- "play ^K 0 TO 9 Execute macro\n"
242- "prevw ^K P Goto previous window\n"
243- "prevw ^K ^P\n"
244- "prevw ^K p\n"
245- "query ^K ? Macro query insert\n"
246- "record ^K [ Record a macro\n"
247- "retype ^R Refresh screen\n"
248- "rtn ^M Return\n"
249- "shell ^K Z Shell escape\n"
250- "shell ^K ^Z\n"
251- "shell ^K z\n"
252- "stop ^K ] Stop recording\n"
253- "defmdown MDOWN Move the cursor to the mouse location\n"
254- "defmup MUP\n"
255- "defmdrag MDRAG Select a region of characters\n"
256- "defm2down M2DOWN Select the word at the mouse location\n"
257- "defm2up M2UP\n"
258- "defm2drag M2DRAG Select a region of words\n"
259- "defm3down M3DOWN Select the line at the mouse location\n"
260- "defm3up M3UP\n"
261- "defm3drag M3DRAG Select a region of lines\n"
262- "xtmouse ^[ [ M Introduces an xterm mouse event\n"
263- ":main Text editing window\n"
264- ":inherit windows\n"
265- ":def ispellfile filt,\"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;cat ispell.tmp;/bin/rm ispell.tmp\",rtn,retype\n"
266- ":def ispellword psh,nextword,markk,prevword,markb,filt,\"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;tr -d <ispell.tmp '\\\\012';/bin/rm ispell.tmp\",rtn,retype,nextword\n"
267- ":def aspellfile filt,\"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=\",language,\".\",charset,\" -x -c $SPLTMP </dev/tty >/dev/tty;cat $SPLTMP;/bin/rm $SPLTMP\",rtn,retype\n"
268- ":def aspellword psh,nextword,markk,prevword,markb,filt,\"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=\",language,\".\",charset,\" -x -c $SPLTMP </dev/tty >/dev/tty;tr -d <$SPLTMP '\\\\012';/bin/rm $SPLTMP\",rtn,retype,nextword\n"
269- "aspellfile ^[ l\n"
270- "aspellword ^[ n\n"
271- ":def compile mwind!,mfit!,querysave,query,scratch,\"* Build Log *\",rtn,bof,markb,eof,\" \",markk,blkdel,build\n"
272- ":def grep_find mwind!,mfit!,scratch,\"* Grep Log *\",rtn,bof,markb,eof,\" \",markk,blkdel,grep\n"
273- ":def man scratch,\"* Man Page *\",rtn,bof,markb,eof,\" \",markk,blkdel,\" \",ltarw,run,\"man -P cat -S 2:3 \"\n"
274- "paste ^[ ] 5 2 ; Bracketed paste\n"
275- "insc ^[ [ 2 ~\n"
276- "insc ^[ [ L SCO\n"
277- "delch ^[ [ 3 ~\n"
278- "pgup ^[ [ I SCO\n"
279- "pgdn ^[ [ G SCO\n"
280- "home ^[ [ 1 ~ Putty, Linux, Cygwin\n"
281- "home ^[ [ H Xterm, Konsole, SCO\n"
282- "home ^[ O H gnome-terminal\n"
283- "home ^[ [ 7 ~ RxVT\n"
284- "eol ^[ [ 4 ~ Putty, Linux, Cygwin, ssh\n"
285- "eol ^[ [ F Xterm, Konsole, SCO\n"
286- "eol ^[ O F gnome-terminal\n"
287- "eol ^[ [ 8 ~ RxVT\n"
288- "rtarw,ltarw,begin_marking,rtarw,toggle_marking ^[ [ 1 ; 5 C Mark right Xterm\n"
289- "rtarw,ltarw,begin_marking,rtarw,toggle_marking ^[ [ 5 C Mark right Gnome-terminal\n"
290- "rtarw,ltarw,begin_marking,rtarw,toggle_marking ^[ O c Mark right RxVT Ctrl-rtarw\n"
291- "ltarw,rtarw,begin_marking,ltarw,toggle_marking ^[ [ 1 ; 5 D Mark left\n"
292- "ltarw,rtarw,begin_marking,ltarw,toggle_marking ^[ [ 5 D Mark left\n"
293- "ltarw,rtarw,begin_marking,ltarw,toggle_marking ^[ O d Mark left RxVT Ctrl-ltarw\n"
294- "uparw,dnarw,begin_marking,uparw,toggle_marking ^[ [ 1 ; 5 A Mark up\n"
295- "uparw,dnarw,begin_marking,uparw,toggle_marking ^[ [ 5 A Mark up\n"
296- "uparw,dnarw,begin_marking,uparw,toggle_marking ^[ O a Mark up RxVT Ctrl-uparw\n"
297- "dnarw,uparw,begin_marking,dnarw,toggle_marking ^[ [ 1 ; 5 B Mark down\n"
298- "dnarw,uparw,begin_marking,dnarw,toggle_marking ^[ [ 5 B Mark down\n"
299- "dnarw,uparw,begin_marking,dnarw,toggle_marking ^[ O b Mark down RxVT Ctrl-dnarw\n"
300- "blkdel,nmark ^[ [ 3 ; 5 - Gnome-terminal Ctrl-Del\n"
301- "blkdel,nmark ^[ [ 3 ; 5 ~ Xterm Ctrl-Del\n"
302- "yank ^[ [ 2 ; 5 - Gnome-terminal Ctrl-Ins\n"
303- "yank ^[ [ 2 ; 5 ~ Xterm Ctrl-Ins\n"
304- "delbol ^[ o Delete to beginning of line\n"
305- "delbol ^[ ^O Delete to beginning of line\n"
306- "dnslide ^[ z Scroll down one line\n"
307- "dnslide ^[ Z Scroll down one line\n"
308- "dnslide ^[ ^Z Scroll down one line\n"
309- "dnslide,dnslide,dnslide,dnslide MWDOWN\n"
310- "compile ^[ c Compile\n"
311- "compile ^[ C\n"
312- "compile ^[ ^C Compile\n"
313- "grep_find ^[ g Grep\n"
314- "grep_find ^[ G Grep\n"
315- "grep_find ^[ ^G Grep\n"
316- "execmd ^[ x Prompt for command to execute\n"
317- "execmd ^[ X Prompt for command to execute\n"
318- "execmd ^[ ^X Prompt for command to execute\n"
319- "finish ^[ ^I Complete word in document\n"
320- "finish ^[ ^M Complete word: used to be math\n"
321- "mwind,mfit,jump,bol ^[ SP\n"
322- "isrch ^[ s Forward incremental search\n"
323- "isrch ^[ S Forward incremental search\n"
324- "isrch ^[ ^S Forward incremental search\n"
325- "notmod ^[ ~ Not modified\n"
326- "mwind,mfit,prevw,nxterr ^[ = To next error\n"
327- "parserr ^[ e Parse errors in current buffer\n"
328- "parserr ^[ E Parse errors in current buffer\n"
329- "parserr ^[ ^E Parse errors in current buffer\n"
330- "mwind,mfit,prevw,prverr ^[ - To previous error\n"
331- "rsrch ^[ r Backward incremental search\n"
332- "rsrch ^[ R Backward incremental search\n"
333- "rsrch ^[ ^R Backward incremental search\n"
334- "run ^[ ! Run a program in a window\n"
335- "tomarkb ^[ b Go to beginning of marked block\n"
336- "tomarkb ^[ ^B Go to beginning of marked block\n"
337- "tomarkk ^[ k Go to end of marked block\n"
338- "tomarkk ^[ ^K Go to end of marked block\n"
339- "tomarkk ^[ K Go to end of marked block\n"
340- "txt ^[ i Prompt for text and insert it\n"
341- "txt ^[ I Prompt for text and insert it\n"
342- "upslide ^[ w Scroll up one line\n"
343- "upslide ^[ ^W Scroll up one line\n"
344- "upslide ^[ W Scroll up one line\n"
345- "upslide,upslide,upslide,upslide MWUP\n"
346- "yank ^[ y Undelete text\n"
347- "yankpop ^[ ^Y Undelete text\n"
348- "yank ^[ Y Undelete text\n"
349- "insc ^@ Ctrl-space used to insert a space\n"
350- "nbuf ^[ v Next buffer\n"
351- "nbuf ^[ V Next buffer\n"
352- "nbuf ^[ ^V Next buffer\n"
353- "pbuf ^[ u Prev buffer\n"
354- "pbuf ^[ U Prev buffer\n"
355- "pbuf ^[ ^U Prev buffer\n"
356- "quote8 ^\\ Enter Meta chars\n"
357- "quote ^[ ' Enter Ctrl chars\n"
358- "quote ^Q\n"
359- "backs ^? Backspace\n"
360- "backs ^H\n"
361- "backw ^O Backspace word\n"
362- "bknd ^K ' Shell window\n"
363- "blkcpy ^K C Copy marked block\n"
364- "blkcpy ^K ^C\n"
365- "blkcpy ^K c\n"
366- "blkdel ^K Y Delete marked block\n"
367- "blkdel ^K ^Y\n"
368- "blkdel ^K y\n"
369- "blkmove ^K M Move marked block\n"
370- "blkmove ^K ^M\n"
371- "blkmove ^K m\n"
372- "blksave ^K W Save marked block\n"
373- "blksave ^K ^W\n"
374- "blksave ^K w\n"
375- "bof ^K U Goto beginning of file\n"
376- "bof ^K ^U\n"
377- "bof ^K u\n"
378- "home .kh\n"
379- "home ^A\n"
380- "center ^K A Center line\n"
381- "center ^K ^A\n"
382- "center ^K a\n"
383- "crawll ^K < Pan left\n"
384- "crawlr ^K > Pan right\n"
385- "delch .kD Delete character\n"
386- "delch ^D\n"
387- "deleol ^J Delete to end of line\n"
388- "dellin ^Y Delete entire line\n"
389- "delw ^W Delete word to right\n"
390- "dnarw .kd Go down\n"
391- "dnarw ^N\n"
392- "dnarw ^[ O B\n"
393- "dnarw ^[ [ B\n"
394- "edit ^K E Edit a file\n"
395- "edit ^K ^E\n"
396- "edit ^K e\n"
397- "eof ^K V Go to end of file\n"
398- "eof ^K ^V\n"
399- "eof ^K v\n"
400- "eol .kH Go to end of line\n"
401- "eol .@7\n"
402- "eol ^E\n"
403- "exsave ^K X Save and exit\n"
404- "exsave ^K ^X\n"
405- "exsave ^K x\n"
406- "ffirst ^K F Find first\n"
407- "ffirst ^K ^F\n"
408- "ffirst ^K f\n"
409- "filt ^K / Filter block\n"
410- "fnext ^L Find next\n"
411- "fmtblk ^K J Format paragraphs in block\n"
412- "fmtblk ^K ^J\n"
413- "fmtblk ^K j\n"
414- "gomark ^[ 0 TO 9 Goto bookmark\n"
415- "groww ^K G Grow window\n"
416- "groww ^K ^G\n"
417- "groww ^K g\n"
418- "insc .kI Insert a space\n"
419- "insf ^K R Insert a file\n"
420- "insf ^K ^R\n"
421- "insf ^K r\n"
422- "lindent ^K , Indent to left\n"
423- "line ^K L Goto line no.\n"
424- "line ^K ^L\n"
425- "line ^K l\n"
426- "ltarw .kl Go left\n"
427- "ltarw ^B\n"
428- "ltarw ^[ O D\n"
429- "ltarw ^[ [ D\n"
430- "macros ^[ d Dump keyboard macros\n"
431- "macros ^[ ^D\n"
432- "markb ^K B Set beginning of marked block\n"
433- "markb ^K ^B\n"
434- "markb ^K b\n"
435- "markk ^K K Set end of marked block\n"
436- "markk ^K ^K\n"
437- "markk ^K k\n"
438- "menu,\"root\",rtn ^T Options menu\n"
439- "nextpos ^K = Goto next position in position history\n"
440- "nextword ^X Goto next word\n"
441- "open ^] Split line\n"
442- "prevpos ^K - Previous position in history\n"
443- "prevword ^Z Previous word\n"
444- "redo ^^ Redo changes\n"
445- "rindent ^K . Indent to right\n"
446- "rtarw .kr Go right\n"
447- "rtarw ^F\n"
448- "rtarw ^[ O C\n"
449- "rtarw ^[ [ C\n"
450- "run ^K ! Run a shell command\n"
451- "save ^K D Save file\n"
452- "save ^K S\n"
453- "save ^K ^D\n"
454- "save ^K ^S\n"
455- "save ^K d\n"
456- "save ^K s\n"
457- "setmark ^[ ^[ Set bookmark\n"
458- "shrinkw ^K T Shrink window\n"
459- "shrinkw ^K ^T\n"
460- "shrinkw ^K t\n"
461- "splitw ^K O Split window\n"
462- "splitw ^K ^O\n"
463- "splitw ^K o\n"
464- "stat ^K SP Show status\n"
465- "tag ^K ; Tags file search\n"
466- "tomatch ^G Goto matching parenthasis\n"
467- "undo ^_ Undo changes\n"
468- "uparw .ku Go up\n"
469- "uparw ^P\n"
470- "uparw ^[ O A\n"
471- "uparw ^[ [ A\n"
472- ":prompt Prompt windows\n"
473- ":inherit main\n"
474- "if,\"byte>size\",then,complete,complete,else,delch,endif ^D\n"
475- "complete ^I\n"
476- "dnarw,eol .kd Go down\n"
477- "dnarw,eol ^N\n"
478- "dnarw,eol ^[ O B\n"
479- "dnarw,eol ^[ [ B\n"
480- "uparw,eol .ku Go up\n"
481- "uparw,eol ^P\n"
482- "uparw,eol ^[ O A\n"
483- "uparw,eol ^[ [ A\n"
484- ":menu Selection menus\n"
485- ":inherit windows\n"
486- "pgupmenu ^[ [ I\n"
487- "pgdnmenu ^[ [ G\n"
488- "bolmenu ^[ [ 1 ~ Putty, Linux, Cygwin\n"
489- "bolmenu ^[ [ H Xterm, Konsole\n"
490- "bolmenu ^[ O H gnome-terminal\n"
491- "bolmenu ^[ [ 7 ~ RxVT\n"
492- "eolmenu ^[ [ 4 ~ Putty, Linux, Cygwin, ssh\n"
493- "eolmenu ^[ [ F Xterm, Konsole\n"
494- "eolmenu ^[ O F gnome-terminal\n"
495- "eolmenu ^[ [ 8 ~ RxVT\n"
496- "abort ^[ ^[ Why?\n"
497- "backsmenu ^?\n"
498- "backsmenu ^H\n"
499- "bofmenu ^K U\n"
500- "bofmenu ^K ^U\n"
501- "bofmenu ^K u\n"
502- "bolmenu .kh\n"
503- "bolmenu ^A\n"
504- "dnarwmenu .kd\n"
505- "dnarwmenu ^N\n"
506- "dnarwmenu ^[ [ B\n"
507- "dnarwmenu ^[ O B\n"
508- "dnarwmenu MWDOWN\n"
509- "eofmenu ^K V\n"
510- "eofmenu ^K ^V\n"
511- "eofmenu ^K v\n"
512- "eolmenu .kH\n"
513- "eolmenu ^E\n"
514- "ltarwmenu .kl\n"
515- "ltarwmenu ^B\n"
516- "ltarwmenu ^[ [ D\n"
517- "ltarwmenu ^[ O D\n"
518- "pgdnmenu .kN Screen down\n"
519- "pgdnmenu ^V\n"
520- "pgdnmenu ^[ [ 6 ~\n"
521- "pgupmenu .kP Screen up\n"
522- "pgupmenu ^U\n"
523- "pgupmenu ^[ [ 5 ~\n"
524- "rtarwmenu .kr\n"
525- "rtarwmenu ^F\n"
526- "rtarwmenu ^[ [ C\n"
527- "rtarwmenu ^[ O C\n"
528- "rtn SP\n"
529- "rtn ^I\n"
530- "rtn ^K H\n"
531- "rtn ^K h\n"
532- "rtn ^K ^H\n"
533- "tabmenu ^I\n"
534- "uparwmenu .ku\n"
535- "uparwmenu ^P\n"
536- "uparwmenu ^[ [ A\n"
537- "uparwmenu ^[ O A\n"
538- "uparwmenu MWUP\n"
539- "defm2down M2DOWN Hits return key\n"
540- ":query Single-key query window\n"
541- ":inherit windows\n"
542- ":querya Single-key query window for quoting\n"
543- "type ^@ TO \n"
544- ":querysr Search & replace query window\n"
545- "type ^@ TO \n"
546-, USTR "c.jsf.in",
547- USTR "=Idle\n"
548- "=Bad bold red\n"
549- "=Preproc blue\n"
550- "=Define bold blue\n"
551- "=Comment green\n"
552- "=IncLocal cyan\n"
553- "=IncSystem bold cyan\n"
554- "=Constant cyan\n"
555- "=Escape bold cyan\n"
556- "=Type bold\n"
557- "=Keyword bold\n"
558- "=CppKeyword bold\n"
559- "=Brace magenta\n"
560- "=Control\n"
561- "\n"
562- ":reset Idle\n"
563- " * first noeat\n"
564- " \" \\t\" reset\n"
565- "\n"
566- ":first Idle\n"
567- " * idle noeat\n"
568- " \"#\" pre recolor=-1\n"
569- "\n"
570- ":pre Preproc\n"
571- " * preproc noeat\n"
572- " \" \\t\" pre\n"
573- " \"a-z\" preident recolor=-1 buffer\n"
574- "\n"
575- ":preident Preproc\n"
576- " * preproc noeat strings\n"
577- " \"define\" predef\n"
578- " \"include\" preinc\n"
579- "done\n"
580- " \"a-z\" preident\n"
581- "\n"
582- ":preinc Preproc\n"
583- " * preinc\n"
584- " \" \\t\" preinc_ws\n"
585- " \"\\n\" reset\n"
586- " \n"
587- ":preinc_ws Preproc\n"
588- " * prebad recolor=-1\n"
589- " \" \\t\" preinc_ws\n"
590- " \"\\\"\" preinc_local recolor=-1\n"
591- " \"<\" preinc_system recolor=-1\n"
592- "\n"
593- ":preinc_local IncLocal\n"
594- " * preinc_local\n"
595- " \"\\\"\\n\" reset\n"
596- " \n"
597- ":preinc_system IncSystem\n"
598- " * preinc_system\n"
599- " \">\\n\" reset\n"
600- "\n"
601- ":prebad Bad \n"
602- " * prebad\n"
603- " \"\\n\" reset\n"
604- "\n"
605- "\n"
606- ":predef Preproc\n"
607- " * predef\n"
608- " \" \\t\" predef_ws\n"
609- " \"\\n\" reset\n"
610- " \n"
611- ":predef_ws Preproc\n"
612- " * prebad recolor=-1\n"
613- " \" \\t\" predef_ws\n"
614- " \"a-zA-Z0-9_\" predef_ident recolor=-1\n"
615- "\n"
616- ":predef_ident Define\n"
617- " * idle noeat\n"
618- " \"a-zA-Z0-9_\" predef_ident\n"
619- "\n"
620- "\n"
621- ":preproc Preproc\n"
622- " * preproc\n"
623- " \"\\n\" reset\n"
624- " \"\\\\\" preproc_cont\n"
625- " \"/\" preproc_slash\n"
626- " \n"
627- ":preproc_slash Preproc\n"
628- " * preproc noeat\n"
629- " \"*\" comment recolor=-2\n"
630- " \"/\" line_comment recolor=-2\n"
631- " \n"
632- ":preproc_cont Preproc\n"
633- " * preproc_cont\n"
634- " \"\\n\" preproc\n"
635- "\n"
636- ":idle Idle\n"
637- " * idle\n"
638- " \"\\n\" reset\n"
639- " \"/\" slash\n"
640- " \"0\" first_digit recolor=-1\n"
641- " \"1-9\" decimal recolor=-1\n"
642- " \".\" maybe_float\n"
643- " \"\\\"\" string recolor=-1\n"
644- " \"'\" char recolor=-1\n"
645- " \"a-zA-Z_\" ident buffer\n"
646- " \"\\\\\" outside_escape recolor=-1\n"
647- " \"{}\" brace recolor=-1\n"
648- " \",:;=()><[]*&|!~+\\-%^\" control recolor=-1\n"
649- "\n"
650- ":outside_escape Escape\n"
651- " * idle\n"
652- "\n"
653- ":brace Brace\n"
654- " * idle noeat\n"
655- "\n"
656- ":control Control\n"
657- " * idle noeat\n"
658- "\n"
659- ":slash Idle\n"
660- " * idle noeat recolor=-2\n"
661- " \"*\" comment recolor=-2\n"
662- " \"/\" line_comment recolor=-2\n"
663- "\n"
664- ":comment Comment\n"
665- " * comment\n"
666- " \"*\" maybe_end_comment\n"
667- "\n"
668- ":maybe_end_comment Comment\n"
669- " * comment\n"
670- " \"/\" idle\n"
671- " \"*\" maybe_end_comment\n"
672- "\n"
673- ":line_comment Comment\n"
674- " * line_comment\n"
675- " \"\\n\" reset\n"
676- "\n"
677- ":first_digit Constant\n"
678- " * idle noeat\n"
679- " \"xX\" hex\n"
680- " \".\" float\n"
681- " \"eE\" epart\n"
682- " \"0-7\" octal\n"
683- " \"89\" bad_number recolor=-1\n"
684- "\n"
685- ":bad_number Bad\n"
686- " * idle noeat\n"
687- " \"0-9\" bad_number\n"
688- "\n"
689- ":octal Constant\n"
690- " * idle noeat\n"
691- " \"0-7\" octal\n"
692- " \"89\" bad_number recolor=-1\n"
693- "\n"
694- ":hex Constant\n"
695- " * idle noeat\n"
696- " \"0-9A-Fa-f\" hex\n"
697- "\n"
698- ":decimal Constant\n"
699- " * idle noeat\n"
700- " \"0-9\" decimal\n"
701- " \"eE\" epart\n"
702- " \".\" float\n"
703- "\n"
704- ":maybe_float Constant\n"
705- " * idle recolor=-2 noeat\n"
706- " \"0-9\" float recolor=-2\n"
707- "\n"
708- ":float Constant\n"
709- " * idle noeat\n"
710- " \"eE\" epart\n"
711- " \"0-9\" float\n"
712- "\n"
713- ":epart Constant\n"
714- " * idle noeat\n"
715- " \"0-9+\\-\" enum\n"
716- "\n"
717- ":enum Constant\n"
718- " * idle noeat\n"
719- " \"0-9\" enum\n"
720- "\n"
721- ":string Constant\n"
722- " * string\n"
723- " \"\\\"\" idle\n"
724- " \"\\\\\" string_escape recolor=-1\n"
725- " \"%\" string_control recolor=-1\n"
726- "\n"
727- ":string_escape Escape\n"
728- " * string\n"
729- " \"x\" string_hex1\n"
730- " \"0-7\" string_octal2\n"
731- " \"\\n\" string recolor=-2\n"
732- "\n"
733- ":string_hex1 Escape\n"
734- " * string noeat\n"
735- " \"0-9a-fA-F\" string_hex2\n"
736- "\n"
737- ":string_hex2 Escape\n"
738- " * string noeat\n"
739- " \"0-9a-fA-F\" string\n"
740- "\n"
741- ":string_octal2 Escape\n"
742- " * string noeat\n"
743- " \"0-7\" string_octal3\n"
744- "\n"
745- ":string_octal3 Escape\n"
746- " * string noeat\n"
747- " \"0-7\" string\n"
748- "\n"
749- ":string_control Escape\n"
750- " * string\n"
751- " \"\\\"\" string noeat\n"
752- " \"\\n\" reset\n"
753- " \"0-9.\\-+ #hjILtz$\" string_control\n"
754- "\n"
755- ":char Constant\n"
756- " * char\n"
757- " \"\\n\" reset\n"
758- " \"'\" idle\n"
759- " \"\\\\\" char_escape recolor=-1\n"
760- "\n"
761- ":char_escape Escape\n"
762- " * char\n"
763- " \"x\" char_hex1\n"
764- " \"0-7\" char_octal2\n"
765- " \"\\n\" char recolor=-2\n"
766- "\n"
767- ":char_hex1 Escape\n"
768- " * char noeat\n"
769- " \"0-9a-fA-F\" char_hex2\n"
770- "\n"
771- ":char_hex2 Escape\n"
772- " * char noeat\n"
773- " \"0-9a-fA-F\" char\n"
774- "\n"
775- ":char_octal2 Escape\n"
776- " * char noeat\n"
777- " \"0-7\" char_octal3\n"
778- "\n"
779- ":char_octal3 Escape\n"
780- " * char noeat\n"
781- " \"0-7\" char\n"
782- "\n"
783- ":ident Idle\n"
784- " * idle noeat strings\n"
785- " \"int\" type\n"
786- " \"float\" type\n"
787- " \"long\" type\n"
788- " \"short\" type\n"
789- " \"char\" type\n"
790- " \"double\" type\n"
791- " \"signed\" type\n"
792- " \"unsigned\" type\n"
793- " \"void\" type\n"
794- " \"static\" type\n"
795- " \"register\" type\n"
796- " \"extern\" type\n"
797- " \"inline\" type\n"
798- " \"auto\" type\n"
799- " \"const\" type\n"
800- " \"volatile\" type\n"
801- " \"if\" kw\n"
802- " \"else\" kw\n"
803- " \"while\" kw\n"
804- " \"for\" kw\n"
805- " \"break\" kw\n"
806- " \"continue\" kw\n"
807- " \"do\" kw\n"
808- " \"case\" kw\n"
809- " \"default\" kw\n"
810- " \"switch\" kw\n"
811- " \"goto\" kw\n"
812- " \"struct\" kw\n"
813- " \"enum\" kw\n"
814- " \"return\" kw\n"
815- " \"sizeof\" kw\n"
816- " \"typedef\" kw\n"
817- " \"union\" kw\n"
818- " \"asm\" kw\n"
819- " \"class\" cppkw\n"
820- " \"public\" cppkw\n"
821- " \"private\" cppkw\n"
822- " \"protected\" cppkw\n"
823- " \"friend\" cppkw\n"
824- " \"new\" cppkw\n"
825- " \"delete\" cppkw\n"
826- " \"bool\" cppkw\n"
827- " \"namespace\" cppkw\n"
828- " \"operator\" cppkw\n"
829- " \"template\" cppkw\n"
830- " \"catch\" cppkw\n"
831- " \"throw\" cppkw\n"
832- " \"try\" cppkw\n"
833- " \"typeof\" cppkw\n"
834- "done\n"
835- " \"a-zA-Z0-9_\" ident\n"
836- "\n"
837- ":type Type\n"
838- " * idle noeat\n"
839- "\n"
840- ":kw Keyword\n"
841- " * idle noeat\n"
842- "\n"
843- ":cppkw CppKeyword\n"
844- " * idle noeat\n"
845-, NULL
846-};
847-
848Index: joe-embedded/genbuiltins.sh
849===================================================================
850--- joe-embedded/genbuiltins.sh (revision 0)
851@@ -0,0 +1,80 @@
852+#! /bin/bash
853+#
854+# Generate builtins.c for joe editor
855+#
856+# (C) David Kuehling 2010. License: GPLv2+
857+#
858+
859+
860+sed_rc='
861+# strip empty and comment lines
862+/^$/d
863+/^[ \t]/d
864+
865+# remove comments at and of option lines
866+s/\(-[a-z_A-Z0-9]\+\)\(\t\| [ \t]\+\).*/\1/
867+
868+# fix includes to refer to builtin files
869+s/^\(:include \)\([a-z]\)/\1*\2/
870+'
871+
872+sed_syntax='
873+# comment lines
874+/^#/d
875+'
876+
877+sed_cstring='
878+# escape chars
879+s/\\/\\\\/g
880+s/"/\\"/g
881+s/\r/\\r/
882+
883+# split into one string per line
884+s/^.*$/\t"&\\n"/
885+'
886+
887+rcfile(){
888+ echo "
889+ USTR \"$(basename $1)\",
890+ USTR "
891+ case "$1" in
892+ *rc)
893+ sed="$sed_rc"
894+ ;;
895+ *.jsf)
896+ sed="$sed_syntax"
897+ ;;
898+ *)
899+ sed=""
900+ ;;
901+ esac
902+ LANG=C sed -e "$sed" -e "$sed_cstring" "$1"
903+ echo " ,"
904+
905+}
906+
907+prolog(){
908+ echo "/* Built-in files */
909+
910+#include \"types.h\"
911+
912+unsigned char *builtins[]=
913+{
914+"
915+}
916+
917+epilog(){
918+echo "NULL
919+};"
920+
921+}
922+
923+prolog
924+
925+for i in "$@"; do
926+ rcfile $i
927+done
928+
929+epilog
930+
931+
932
933Property changes on: joe-embedded/genbuiltins.sh
934___________________________________________________________________
935Added: svn:executable
936   + *
937
938Index: joe-embedded/Makefile.in
939===================================================================
940--- joe-embedded/Makefile.in (revision 227)
941@@ -236,7 +236,7 @@
942     utils.h va.h vfile.h vs.h w.h utf8.h syntax.h i18n.h charmap.h mouse.h \
943     lattr.h gettext.h builtin.h
944
945-INCLUDES = -DJOERC="\"$(sysconf_joedir)/\"" -DJOEDATA="\"$(data_joedir)/\""
946+INCLUDES = -DJOERC="\"\"" -DJOEDATA="\"$(data_joedir)/\""
947 joe_LDADD = -lm
948 joe_SOURCES = b.c blocks.c bw.c cmd.c hash.c help.c kbd.c macro.c main.c menu.c \
949     path.c poshist.c pw.c queue.c qw.c rc.c regex.c scrn.c tab.c termcap.c \
950@@ -249,6 +249,11 @@
951 all: autoconf.h
952     $(MAKE) $(AM_MAKEFLAGS) all-recursive
953
954+builtins.c : rc/ftyperc rc/jmacsrc.in rc/joerc.in rc/jpicorc.in rc/jstarrc.in rc/rjoerc.in
955+ make -C rc
956+ chmod a+x genbuiltins.sh
957+ ./genbuiltins.sh rc/ftyperc rc/jmacsrc rc/joerc rc/jpicorc rc/jstarrc rc/rjoerc > $@
958+
959 .SUFFIXES:
960 .SUFFIXES: .c .o .obj
961 am--refresh:
qijoe/Makefile
1#
2# Copyright (C) 2007 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8# changes by David Kuehling <dvdkhlng TA gmx TOD de>:
9#
10# - include support for all emulation modes jmacs jpico etc.
11# - see patches/002-builtinrc.patch
12
13include $(TOPDIR)/rules.mk
14
15PKG_NAME:=qijoe
16PKG_VERSION:=3.7
17PKG_RELEASE:=3
18
19PKG_SOURCE:=joe-$(PKG_VERSION).tar.gz
20PKG_SOURCE_URL:=@SF/joe-editor
21PKG_MD5SUM:=66de1b073e869ba12abbfcde3885c577
22
23PKG_BUILD_DIR=$(BUILD_DIR)/joe-$(PKG_VERSION)
24
25include $(INCLUDE_DIR)/package.mk
26
27define Package/qijoe
28  SECTION:=utils
29  CATEGORY:=Utilities
30  DEPENDS:=+libncurses
31  TITLE:=JOE - Joes own editor
32  URL:=http://sourceforge.net/projects/joe-editor/
33  SUBMENU:=Editors
34endef
35
36define Package/qijoe/description
37Joe is world-famous Wordstar like text editor, that also features
38Emacs and Pico emulation
39endef
40
41define Package/qijoe/install
42    $(INSTALL_DIR) $(1)/usr/bin
43    $(INSTALL_BIN) $(PKG_BUILD_DIR)/joe $(1)/usr/bin/
44    for i in jmacs jstar rjoe jpico; do \
45      ln -sf joe $(1)/usr/bin/$$$$i; \
46    done
47endef
48
49$(eval $(call BuildPackage,qijoe))
qijoe/patches/001-mathaway.patch
1+++ b/umath.c
2@@ -378,7 +378,6 @@ double m_cos(double n) { return cos(n);
3 double m_tan(double n) { return tan(n); }
4 double m_exp(double n) { return exp(n); }
5 double m_sqrt(double n) { return sqrt(n); }
6-double m_cbrt(double n) { return cbrt(n); }
7 double m_log(double n) { return log(n); }
8 double m_log10(double n) { return log10(n); }
9 double m_asin(double n) { return asin(n); }
10@@ -387,19 +386,10 @@ double m_atan(double n) { return atan(n)
11 double m_sinh(double n) { return sinh(n); }
12 double m_cosh(double n) { return cosh(n); }
13 double m_tanh(double n) { return tanh(n); }
14-double m_asinh(double n) { return asinh(n); }
15-double m_acosh(double n) { return acosh(n); }
16-double m_atanh(double n) { return atanh(n); }
17 double m_int(double n) { return (int)(n); }
18 double m_floor(double n) { return floor(n); }
19 double m_ceil(double n) { return ceil(n); }
20 double m_fabs(double n) { return fabs(n); }
21-double m_erf(double n) { return erf(n); }
22-double m_erfc(double n) { return erfc(n); }
23-double m_j0(double n) { return j0(n); }
24-double m_j1(double n) { return j1(n); }
25-double m_y0(double n) { return y0(n); }
26-double m_y1(double n) { return y1(n); }
27
28 double calc(BW *bw, unsigned char *s)
29 {
30@@ -414,7 +404,6 @@ double calc(BW *bw, unsigned char *s)
31         v = get(USTR "tan"); v->func = m_tan;
32         v = get(USTR "exp"); v->func = m_exp;
33         v = get(USTR "sqrt"); v->func = m_sqrt;
34- v = get(USTR "cbrt"); v->func = m_cbrt;
35         v = get(USTR "ln"); v->func = m_log;
36         v = get(USTR "log"); v->func = m_log10;
37         v = get(USTR "asin"); v->func = m_asin;
38@@ -425,19 +414,10 @@ double calc(BW *bw, unsigned char *s)
39         v = get(USTR "sinh"); v->func = m_sinh;
40         v = get(USTR "cosh"); v->func = m_cosh;
41         v = get(USTR "tanh"); v->func = m_tanh;
42- v = get(USTR "asinh"); v->func = m_asinh;
43- v = get(USTR "acosh"); v->func = m_acosh;
44- v = get(USTR "atanh"); v->func = m_atanh;
45         v = get(USTR "int"); v->func = m_int;
46         v = get(USTR "floor"); v->func = m_floor;
47         v = get(USTR "ceil"); v->func = m_ceil;
48         v = get(USTR "abs"); v->func = m_fabs;
49- v = get(USTR "erf"); v->func = m_erf;
50- v = get(USTR "erfc"); v->func = m_erfc;
51- v = get(USTR "j0"); v->func = m_j0;
52- v = get(USTR "j1"); v->func = m_j1;
53- v = get(USTR "y0"); v->func = m_y0;
54- v = get(USTR "y1"); v->func = m_y1;
55     }
56
57     v = get(USTR "top");
qijoe/patches/002-builtinrc.patch
1Index: joe-embedded/builtins.c
2===================================================================
3+++ joe-embedded/builtins.c (revision 234)
4@@ -1,843 +0,0 @@
5-/* Built-in files */
6-
7-#include "types.h"
8-
9-unsigned char *builtins[]=
10-{
11- USTR "joerc",
12- USTR "-notite\n"
13- "-assume_color\n"
14- "-assume_256color\n"
15- "-guess_non_utf8\n"
16- "-guess_crlf\n"
17- "-guess_indent\n"
18- "-menu_above\n"
19- "-transpose\n"
20- "-joe_state\n"
21- "-restore\n"
22- "-search_prompting\n"
23- "-lmsg \\i%k%T%W%I%X %n %m%y%R %M %x\n"
24- "-rmsg %S Row %r Col %c %t Ctrl-K H for help\n"
25- "-highlight\n"
26- "-istep 2\n"
27- ":defmenu root\n"
28- "mode,\"overwrite\",rtn T Overtype %Zoverwrite%\n"
29- "mode,\"hex\",rtn % % Hex edit mode\n"
30- "mode,\"autoindent\",rtn I Autoindent %Zautoindent%\n"
31- "mode,\"wordwrap\",rtn W Word wrap %Zwordwrap%\n"
32- "mode,\"tab\",rtn D Tab width %Ztab%\n"
33- "mode,\"lmargin\",rtn L Left margin %Zlmargin%\n"
34- "mode,\"rmargin\",rtn R Right margin %Zrmargin%\n"
35- "mode,\"square\",rtn X Rectangle mode %Zsquare%\n"
36- "mode,\"indentc\",rtn % % Indent char %Zindentc%\n"
37- "mode,\"istep\",rtn % % Indent step %Zistep%\n"
38- "mode,\"highlight\",rtn H Highlighting %Zhighlight%\n"
39- "mode,\"crlf\",rtn Z CR-LF (MS-DOS) %Zcrlf%\n"
40- "mode,\"linums\",rtn N Line numbers %Zlinums%\n"
41- "mode,\"beep\",rtn B Beep %Zbeep%\n"
42- "mode,\"rdonly\",rtn O Read only %Zrdonly%\n"
43- "mode,\"syntax\",rtn Y Syntax\n"
44- "mode,\"encoding\",rtn E Encoding\n"
45- "mode,\"asis\",rtn % % Meta chars as-is\n"
46- "mode,\"language\",rtn V Language\n"
47- "mode,\"picture\",rtn P picture %Zpicture%\n"
48- "menu,\"more-options\",rtn % % More options...\n"
49- ":defmenu more-options\n"
50- "menu,\"^G\",rtn % % ^G options\n"
51- "menu,\"search\",rtn % % search options\n"
52- "menu,\"paragraph\",rtn % % paragraph options\n"
53- "menu,\"file\",rtn % % file options\n"
54- "menu,\"menu\",rtn % % menu options\n"
55- "menu,\"global\",rtn % % global options\n"
56- "menu,\"cursor\",rtn % % cursor options\n"
57- "menu,\"marking\",rtn % % marking options\n"
58- "menu,\"tab\",rtn % % tab/indent options\n"
59- ":defmenu menu\n"
60- "mode,\"menu_explorer\",rtn % % Menu explorer %Zmenu_explorer%\n"
61- "mode,\"menu_above\",rtn % % Menu position %Zmenu_above%\n"
62- "mode,\"menu_jump\",rtn % % Jump into menu %Zmenu_jump%\n"
63- "mode,\"transpose\",rtn % % Transpose menus %Ztranspose%\n"
64- ":defmenu ^G\n"
65- "mode,\"single_quoted\",rtn % % ^G ignores '...' %Zsingle_quoted%\n"
66- "mode,\"no_double_quoted\",rtn % % ^G no ignore \"...\" %Zno_double_quoted%\n"
67- "mode,\"c_comment\",rtn % % ^G ignores /*...*/ %Zc_comment%\n"
68- "mode,\"cpp_comment\",rtn % % ^G ignores //... %Zcpp_comment%\n"
69- "mode,\"pound_comment\",rtn % % ^G ignores #... %Zpound_comment%\n"
70- "mode,\"vhdl_comment\",rtn % % ^G ignores --... %Zvhdl_comment%\n"
71- "mode,\"semi_comment\",rtn % % ^G ignores ;... %Zsemi_comment%\n"
72- "mode,\"tex_comment\",rtn % % ^G ignores %... %Ztex_comment%\n"
73- "mode,\"text_delimiters\",rtn % % Text delimiters %Ztext_delimiters%\n"
74- ":defmenu search\n"
75- "mode,\"icase\",rtn % % Case insensitivity %Zicase%\n"
76- "mode,\"wrap\",rtn % % Search wraps %Zwrap%\n"
77- "mode,\"search_prompting\",rtn % % Search prompting %Zsearch_prompting%\n"
78- "mode,\"csmode\",rtn % % Continued search %Zcsmode%\n"
79- ":defmenu paragraph\n"
80- "mode,\"french\",rtn % % French spacing %Zfrench%\n"
81- "mode,\"flowed\",rtn % % Flowed text %Zflowed%\n"
82- "mode,\"cpara\",rtn % % Paragraph indent chars %Zcpara%\n"
83- ":defmenu file\n"
84- "mode,\"restore\",rtn % % Restore cursor %Zrestore%\n"
85- "mode,\"guess_crlf\",rtn % % Auto detect CR-LF %Zguess_crlf%\n"
86- "mode,\"guess_indent\",rtn % % Guess indent %Zguess_indent%\n"
87- "mode,\"guess_non_utf8\",rtn % % Guess non-UTF-8 %Zguess_non_utf8%\n"
88- "mode,\"guess_utf8\",rtn % % Guess UTF-8 %Zguess_utf8%\n"
89- "mode,\"force\",rtn % % Force last NL %Zforce%\n"
90- "mode,\"nobackup\",rtn % % No backup %Znobackup%\n"
91- ":defmenu global\n"
92- "mode,\"nolocks\",rtn % % Disable locks %Znolocks%\n"
93- "mode,\"nobackups\",rtn % % Disable backups %Znobackups%\n"
94- "mode,\"nomodcheck\",rtn % % Disable mtime check %Znomodcheck%\n"
95- "mode,\"nocurdir\",rtn % % Disable current dir %Znocurdir%\n"
96- "mode,\"exask\",rtn % % Exit ask %Zexask%\n"
97- "mode,\"nosta\",rtn % % Disable status line %Znosta%\n"
98- "mode,\"keepup\",rtn % % Fast status line %Zkeepup%\n"
99- "mode,\"break_hardlinks\",rtn % % Break hard links %Zbreak_hardlinks%\n"
100- "mode,\"break_links\",rtn % % Break links %Zbreak_links%\n"
101- "mode,\"joe_state\",rtn % % Joe_state file %Zjoe_state%\n"
102- "mode,\"undo_keep\",rtn % % No. undo records %Zundo_keep%\n"
103- "mode,\"backpath\",rtn % % Path to backup files %Zbackpath%\n"
104- ":defmenu cursor\n"
105- "mode,\"pg\",rtn % % No. PgUp/PgDn lines %Zpg%\n"
106- "mode,\"mid\",rtn C Center on scroll %Zmid%\n"
107- "mode,\"floatmouse\",rtn % % Click past end %Zfloatmouse%\n"
108- "mode,\"rtbutton\",rtn % % Right button %Zrtbutton%\n"
109- ":defmenu marking\n"
110- "mode,\"autoswap\",rtn % % Autoswap mode %Zautoswap%\n"
111- "mode,\"marking\",rtn % % Marking %Zmarking%\n"
112- "mode,\"lightoff\",rtn % % Auto unmask %Zlightoff%\n"
113- ":defmenu tab\n"
114- "mode,\"smarthome\",rtn % % Smart home key %Zsmarthome%\n"
115- "mode,\"smartbacks\",rtn % % Smart backspace %Zsmartbacks%\n"
116- "mode,\"indentfirst\",rtn % % To indent first %Zindentfirst%\n"
117- "mode,\"purify\",rtn % % Clean up indents %Zpurify%\n"
118- "mode,\"spaces\",rtn % % No tabs %Zspaces%\n"
119- "{Basic\n"
120- "\\i Help Screen \\|turn off with ^KH more help with ESC . (^[.) \\i\n"
121- "\\i \\i\\|\\uCURSOR\\u \\|\\uGO TO\\u \\|\\uBLOCK\\u \\|\\uDELETE\\u \\|\\uMISC\\u \\|\\uEXIT\\u \\|\\i \\i\n"
122- "\\i \\i\\|^B left ^F right \\|^U prev. screen \\|^KB begin \\|^D char. \\|^KJ reformat \\|^KX save \\|\\i \\i\n"
123- "\\i \\i\\|^P up ^N down \\|^V next screen \\|^KK end \\|^Y line \\|^KA center \\|^C abort \\|\\i \\i\n"
124- "\\i \\i\\|^Z previous word \\|^A beg. of line \\|^KM move \\|^W >word \\|^T options \\|^KZ shell \\|\\i \\i\n"
125- "\\i \\i\\|^X next word \\|^E end of line \\|^KC copy \\|^O word< \\|^R refresh \\|\\uFILE\\u \\|\\i \\i\n"
126- "\\i \\i\\|\\uSEARCH\\u \\|^KU top of file \\|^KW file \\|^J >line \\|\\uSPELL\\u \\|^KE edit \\|\\i \\i\n"
127- "\\i \\i\\|^KF find text \\|^KV end of file \\|^KY delete \\|^_ undo \\|^[N word \\|^KR insert\\|\\i \\i\n"
128- "\\i \\i\\|^L find next \\|^KL to line No. \\|^K/ filter \\|^^ redo \\|^[L file \\|^KD save \\|\\i \\i\n"
129- "}\n"
130- "{Windows\n"
131- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
132- "\\i \\i\\|^KO Split the window in half \\|^KE Load file into window \\|\\i \\i\n"
133- "\\i \\i\\|^KG Make current window bigger \\|^KT Make current window smaller \\|\\i \\i\n"
134- "\\i \\i\\|^KN Go to the window below \\|^KP Go to the window above \\|\\i \\i\n"
135- "\\i \\i\\|^[V Switch to next buffer \\|^[U Switch to previous buffer \\|\\i \\i\n"
136- "\\i \\i\\|^C Eliminate the current window \\|^KI Show all windows / Show one window\\|\\i \\i\n"
137- "}\n"
138- "{Advanced\n"
139- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
140- "\\i \\i\\|\\uMACROS\\u \\|\\uMISC\\u \\|\\uSCROLL\\u \\|\\uSHELL\\u \\|\\uGOTO\\u \\|\\uI-SEARCH\\u \\|\\i \\i\n"
141- "\\i \\i\\|^K[ 0-9 Record \\|^K SPACE status \\|^[W Up \\|^K' Window \\|^[B To ^KB \\|^[R Backwards\\|\\i \\i\n"
142- "\\i \\i\\|^K] Stop \\|^K\\\\ Repeat \\|^[Z Down \\|^[! Command \\|^[K To ^KK \\|^[S Forwards \\|\\i \\i\n"
143- "\\i \\i\\|^K 0-9 Play \\|\\uINSERT\\u \\|^K< Left \\|\\uQUOTE\\u \\|\\uDELETE\\u \\|\\uBOOKMARKS\\u \\|\\i \\i\n"
144- "\\i \\i\\|^K? Query \\|^] split line \\|^K> Right \\|^[' Ctrl- \\|^[Y yank \\|^[ 0-9 Goto \\|\\i \\i\n"
145- "\\i \\i\\|^[D Dump \\|^SPACE ins space\\| \\|^\\\\ Meta- \\|^[O line< \\|^[^[ Set \\|\\i \\i\n"
146- "}\n"
147- "{Programs\n"
148- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
149- "\\i \\i\\|\\uGOTO\\u \\|\\uINDENT\\u \\|\\uCOMPILING\\u \\uQUICK\\u \\|\\i \\i\n"
150- "\\i \\i\\|^G Matching ( [ { \\|^K, less \\|^[C Compile & parse ^G find word under cursor \\|\\i \\i\n"
151- "\\i \\i\\|^K- Previous place \\|^K. more \\|^[G Grep & parse ^[ENTER complete word \\|\\i \\i\n"
152- "\\i \\i\\|^K= Next place \\| \\|^[= To next error ^[Y paste deleted text \\|\\i \\i\n"
153- "\\i \\i\\|^K; Tags file search \\| \\|^[- To prev. error ^[^Y cycle through deleted \\|\\i \\i\n"
154- "\\i \\i\\| \\| \\|^[ SP Jump to error \\|\\i \\i\n"
155- "}\n"
156- "{Search\n"
157- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
158- "\\i \\iSpecial search sequences: \\|\\i \\i\n"
159- "\\i \\i \\\\^ \\\\$ matches beg./end of line \\\\? match any single char \\|\\i \\i\n"
160- "\\i \\i \\\\< \\\\> matches beg./end of word \\\\* match 0 or more chars \\|\\i \\i\n"
161- "\\i \\i \\\\c matches balanced C expression \\\\\\\\ matches a \\\\ \\|\\i \\i\n"
162- "\\i \\i \\\\[..] matches one of a set \\\\n matches a newline \\|\\i \\i\n"
163- "\\i \\i \\\\+ matches 0 or more of the character which follows the \\\\+ \\|\\i \\i\n"
164- "\\i \\iSpecial replace sequences: \\|\\i \\i\n"
165- "\\i \\i \\\\& replaced with text which matched search string \\|\\i \\i\n"
166- "\\i \\i \\\\0 - 9 replaced with text which matched Nth \\\\*, \\\\?, \\\\c, \\\\+, or \\\\[..] \\|\\i \\i\n"
167- "\\i \\i \\\\\\\\ replaced with \\\\ \\\\n replaced with newline \\|\\i \\i\n"
168- "}\n"
169- "{SearchOptions\n"
170- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
171- "\\i \\iSearch options: \\|\\i \\i\n"
172- "\\i \\i r Replace \\|\\i \\i\n"
173- "\\i \\i k Restrict search to highlighted block, which can be rectangular \\|\\i \\i\n"
174- "\\i \\i b Search backward instead of forward \\|\\i \\i\n"
175- "\\i \\i i Ignore case \\|\\i \\i\n"
176- "\\i \\i a Search across all loaded files \\|\\i \\i\n"
177- "\\i \\i e Search across all files in Grep or Compile error list \\|\\i \\i\n"
178- "\\i \\i w Wrap to beginning of file for this search \\|\\i \\i\n"
179- "\\i \\i n Do not wrap to beginning of file for this search \\|\\i \\i\n"
180- "\\i \\i nnn Perform exaclty nnn replacements \\|\\i \\i\n"
181- "}\n"
182- "{Math\n"
183- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
184- "\\i \\i \\uCOMMANDS\\u (hit ESC m for math) \\uFUNCTIONS\\u \\|\\i \\i\n"
185- "\\i \\i hex hex display mode sin cos tab asin acos atan \\|\\i \\i\n"
186- "\\i \\i dec decimal mode sinh cosh tanh asinh acosh atanh \\|\\i \\i\n"
187- "\\i \\i ins type result into file sqrt cbrt exp ln log \\|\\i \\i\n"
188- "\\i \\i eval evaluate block int floor ceil abs erg ergc \\|\\i \\i\n"
189- "\\i \\i 0xff enter number in hex joe(..macro..) - runs an editor macro \\|\\i \\i\n"
190- "\\i \\i 3e-4 floating point decimal \\uBLOCK\\u \\|\\i \\i\n"
191- "\\i \\i a=10 assign a variable sum cnt Sum, count \\|\\i \\i\n"
192- "\\i \\i 2+3:ins multiple commands avg dev Average, std. deviation \\|\\i \\i\n"
193- "\\i \\i e pi constants \\uOPERATORS\\u \\|\\i \\i\n"
194- "\\i \\i ans previous result ! ^ * / % + - < <= > >= == != && || ? :\\|\\i \\i\n"
195- "}\n"
196- "{Names\n"
197- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, next screen ^[. \\i\n"
198- "\\i \\i Hit TAB at file name prompts to generate menu of file names \\|\\i \\i\n"
199- "\\i \\i Or use up/down keys to access history of previously entered names \\|\\i \\i\n"
200- "\\i \\i Special file names: \\|\\i \\i\n"
201- "\\i \\i !command Pipe in/out of a shell command \\|\\i \\i\n"
202- "\\i \\i >>filename Append to a file \\|\\i \\i\n"
203- "\\i \\i - Read/Write to/from standard I/O \\|\\i \\i\n"
204- "\\i \\i filename,START,SIZE Read/Write a part of a file/device \\|\\i \\i\n"
205- "\\i \\i Give START/SIZE in decimal (255), octal (0377) or hex (0xFF) \\|\\i \\i\n"
206- "}\n"
207- "{Joe\n"
208- "\\i Help Screen \\|turn off with ^KH prev. screen ^[, \\i\n"
209- "\\i \\i Send bug reports to: http://sourceforge.net/projects/joe-editor \\|\\i \\i\n"
210- "\\i \\i \\|\\i \\i\n"
211- "}\n"
212- ":windows Bindings common to all windows\n"
213- "type ^@ TO Type a character\n"
214- "abort ^C Abort window\n"
215- "abort ^K Q\n"
216- "abort ^K ^Q\n"
217- "abort ^K q\n"
218- "arg ^K \\ Repeat next command\n"
219- "explode ^K I Show all windows or show only one window\n"
220- "explode ^K ^I\n"
221- "explode ^K i\n"
222- "help ^K H Help menu\n"
223- "help ^K ^H\n"
224- "help ^K h\n"
225- "hnext ^[ . Next help window\n"
226- "hprev ^[ , Previous help window\n"
227- "math ^[ m Calculator\n"
228- "math ^[ M Calculator\n"
229- "msg ^[ h Display a message\n"
230- "msg ^[ H Display a message\n"
231- "msg ^[ ^H Display a message\n"
232- "nextw ^K N Goto next window\n"
233- "nextw ^K ^N\n"
234- "nextw ^K n\n"
235- "pgdn .kN Screen down\n"
236- "pgdn ^V\n"
237- "pgdn ^[ [ 6 ~\n"
238- "pgup .kP Screen up\n"
239- "pgup ^U\n"
240- "pgup ^[ [ 5 ~\n"
241- "play ^K 0 TO 9 Execute macro\n"
242- "prevw ^K P Goto previous window\n"
243- "prevw ^K ^P\n"
244- "prevw ^K p\n"
245- "query ^K ? Macro query insert\n"
246- "record ^K [ Record a macro\n"
247- "retype ^R Refresh screen\n"
248- "rtn ^M Return\n"
249- "shell ^K Z Shell escape\n"
250- "shell ^K ^Z\n"
251- "shell ^K z\n"
252- "stop ^K ] Stop recording\n"
253- "defmdown MDOWN Move the cursor to the mouse location\n"
254- "defmup MUP\n"
255- "defmdrag MDRAG Select a region of characters\n"
256- "defm2down M2DOWN Select the word at the mouse location\n"
257- "defm2up M2UP\n"
258- "defm2drag M2DRAG Select a region of words\n"
259- "defm3down M3DOWN Select the line at the mouse location\n"
260- "defm3up M3UP\n"
261- "defm3drag M3DRAG Select a region of lines\n"
262- "xtmouse ^[ [ M Introduces an xterm mouse event\n"
263- ":main Text editing window\n"
264- ":inherit windows\n"
265- ":def ispellfile filt,\"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;cat ispell.tmp;/bin/rm ispell.tmp\",rtn,retype\n"
266- ":def ispellword psh,nextword,markk,prevword,markb,filt,\"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;tr -d <ispell.tmp '\\\\012';/bin/rm ispell.tmp\",rtn,retype,nextword\n"
267- ":def aspellfile filt,\"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=\",language,\".\",charset,\" -x -c $SPLTMP </dev/tty >/dev/tty;cat $SPLTMP;/bin/rm $SPLTMP\",rtn,retype\n"
268- ":def aspellword psh,nextword,markk,prevword,markb,filt,\"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=\",language,\".\",charset,\" -x -c $SPLTMP </dev/tty >/dev/tty;tr -d <$SPLTMP '\\\\012';/bin/rm $SPLTMP\",rtn,retype,nextword\n"
269- "aspellfile ^[ l\n"
270- "aspellword ^[ n\n"
271- ":def compile mwind!,mfit!,querysave,query,scratch,\"* Build Log *\",rtn,bof,markb,eof,\" \",markk,blkdel,build\n"
272- ":def grep_find mwind!,mfit!,scratch,\"* Grep Log *\",rtn,bof,markb,eof,\" \",markk,blkdel,grep\n"
273- ":def man scratch,\"* Man Page *\",rtn,bof,markb,eof,\" \",markk,blkdel,\" \",ltarw,run,\"man -P cat -S 2:3 \"\n"
274- "paste ^[ ] 5 2 ; Bracketed paste\n"
275- "insc ^[ [ 2 ~\n"
276- "insc ^[ [ L SCO\n"
277- "delch ^[ [ 3 ~\n"
278- "pgup ^[ [ I SCO\n"
279- "pgdn ^[ [ G SCO\n"
280- "home ^[ [ 1 ~ Putty, Linux, Cygwin\n"
281- "home ^[ [ H Xterm, Konsole, SCO\n"
282- "home ^[ O H gnome-terminal\n"
283- "home ^[ [ 7 ~ RxVT\n"
284- "eol ^[ [ 4 ~ Putty, Linux, Cygwin, ssh\n"
285- "eol ^[ [ F Xterm, Konsole, SCO\n"
286- "eol ^[ O F gnome-terminal\n"
287- "eol ^[ [ 8 ~ RxVT\n"
288- "rtarw,ltarw,begin_marking,rtarw,toggle_marking ^[ [ 1 ; 5 C Mark right Xterm\n"
289- "rtarw,ltarw,begin_marking,rtarw,toggle_marking ^[ [ 5 C Mark right Gnome-terminal\n"
290- "rtarw,ltarw,begin_marking,rtarw,toggle_marking ^[ O c Mark right RxVT Ctrl-rtarw\n"
291- "ltarw,rtarw,begin_marking,ltarw,toggle_marking ^[ [ 1 ; 5 D Mark left\n"
292- "ltarw,rtarw,begin_marking,ltarw,toggle_marking ^[ [ 5 D Mark left\n"
293- "ltarw,rtarw,begin_marking,ltarw,toggle_marking ^[ O d Mark left RxVT Ctrl-ltarw\n"
294- "uparw,dnarw,begin_marking,uparw,toggle_marking ^[ [ 1 ; 5 A Mark up\n"
295- "uparw,dnarw,begin_marking,uparw,toggle_marking ^[ [ 5 A Mark up\n"
296- "uparw,dnarw,begin_marking,uparw,toggle_marking ^[ O a Mark up RxVT Ctrl-uparw\n"
297- "dnarw,uparw,begin_marking,dnarw,toggle_marking ^[ [ 1 ; 5 B Mark down\n"
298- "dnarw,uparw,begin_marking,dnarw,toggle_marking ^[ [ 5 B Mark down\n"
299- "dnarw,uparw,begin_marking,dnarw,toggle_marking ^[ O b Mark down RxVT Ctrl-dnarw\n"
300- "blkdel,nmark ^[ [ 3 ; 5 - Gnome-terminal Ctrl-Del\n"
301- "blkdel,nmark ^[ [ 3 ; 5 ~ Xterm Ctrl-Del\n"
302- "yank ^[ [ 2 ; 5 - Gnome-terminal Ctrl-Ins\n"
303- "yank ^[ [ 2 ; 5 ~ Xterm Ctrl-Ins\n"
304- "delbol ^[ o Delete to beginning of line\n"
305- "delbol ^[ ^O Delete to beginning of line\n"
306- "dnslide ^[ z Scroll down one line\n"
307- "dnslide ^[ Z Scroll down one line\n"
308- "dnslide ^[ ^Z Scroll down one line\n"
309- "dnslide,dnslide,dnslide,dnslide MWDOWN\n"
310- "compile ^[ c Compile\n"
311- "compile ^[ C\n"
312- "compile ^[ ^C Compile\n"
313- "grep_find ^[ g Grep\n"
314- "grep_find ^[ G Grep\n"
315- "grep_find ^[ ^G Grep\n"
316- "execmd ^[ x Prompt for command to execute\n"
317- "execmd ^[ X Prompt for command to execute\n"
318- "execmd ^[ ^X Prompt for command to execute\n"
319- "finish ^[ ^I Complete word in document\n"
320- "finish ^[ ^M Complete word: used to be math\n"
321- "mwind,mfit,jump,bol ^[ SP\n"
322- "isrch ^[ s Forward incremental search\n"
323- "isrch ^[ S Forward incremental search\n"
324- "isrch ^[ ^S Forward incremental search\n"
325- "notmod ^[ ~ Not modified\n"
326- "mwind,mfit,prevw,nxterr ^[ = To next error\n"
327- "parserr ^[ e Parse errors in current buffer\n"
328- "parserr ^[ E Parse errors in current buffer\n"
329- "parserr ^[ ^E Parse errors in current buffer\n"
330- "mwind,mfit,prevw,prverr ^[ - To previous error\n"
331- "rsrch ^[ r Backward incremental search\n"
332- "rsrch ^[ R Backward incremental search\n"
333- "rsrch ^[ ^R Backward incremental search\n"
334- "run ^[ ! Run a program in a window\n"
335- "tomarkb ^[ b Go to beginning of marked block\n"
336- "tomarkb ^[ ^B Go to beginning of marked block\n"
337- "tomarkk ^[ k Go to end of marked block\n"
338- "tomarkk ^[ ^K Go to end of marked block\n"
339- "tomarkk ^[ K Go to end of marked block\n"
340- "txt ^[ i Prompt for text and insert it\n"
341- "txt ^[ I Prompt for text and insert it\n"
342- "upslide ^[ w Scroll up one line\n"
343- "upslide ^[ ^W Scroll up one line\n"
344- "upslide ^[ W Scroll up one line\n"
345- "upslide,upslide,upslide,upslide MWUP\n"
346- "yank ^[ y Undelete text\n"
347- "yankpop ^[ ^Y Undelete text\n"
348- "yank ^[ Y Undelete text\n"
349- "insc ^@ Ctrl-space used to insert a space\n"
350- "nbuf ^[ v Next buffer\n"
351- "nbuf ^[ V Next buffer\n"
352- "nbuf ^[ ^V Next buffer\n"
353- "pbuf ^[ u Prev buffer\n"
354- "pbuf ^[ U Prev buffer\n"
355- "pbuf ^[ ^U Prev buffer\n"
356- "quote8 ^\\ Enter Meta chars\n"
357- "quote ^[ ' Enter Ctrl chars\n"
358- "quote ^Q\n"
359- "backs ^? Backspace\n"
360- "backs ^H\n"
361- "backw ^O Backspace word\n"
362- "bknd ^K ' Shell window\n"
363- "blkcpy ^K C Copy marked block\n"
364- "blkcpy ^K ^C\n"
365- "blkcpy ^K c\n"
366- "blkdel ^K Y Delete marked block\n"
367- "blkdel ^K ^Y\n"
368- "blkdel ^K y\n"
369- "blkmove ^K M Move marked block\n"
370- "blkmove ^K ^M\n"
371- "blkmove ^K m\n"
372- "blksave ^K W Save marked block\n"
373- "blksave ^K ^W\n"
374- "blksave ^K w\n"
375- "bof ^K U Goto beginning of file\n"
376- "bof ^K ^U\n"
377- "bof ^K u\n"
378- "home .kh\n"
379- "home ^A\n"
380- "center ^K A Center line\n"
381- "center ^K ^A\n"
382- "center ^K a\n"
383- "crawll ^K < Pan left\n"
384- "crawlr ^K > Pan right\n"
385- "delch .kD Delete character\n"
386- "delch ^D\n"
387- "deleol ^J Delete to end of line\n"
388- "dellin ^Y Delete entire line\n"
389- "delw ^W Delete word to right\n"
390- "dnarw .kd Go down\n"
391- "dnarw ^N\n"
392- "dnarw ^[ O B\n"
393- "dnarw ^[ [ B\n"
394- "edit ^K E Edit a file\n"
395- "edit ^K ^E\n"
396- "edit ^K e\n"
397- "eof ^K V Go to end of file\n"
398- "eof ^K ^V\n"
399- "eof ^K v\n"
400- "eol .kH Go to end of line\n"
401- "eol .@7\n"
402- "eol ^E\n"
403- "exsave ^K X Save and exit\n"
404- "exsave ^K ^X\n"
405- "exsave ^K x\n"
406- "ffirst ^K F Find first\n"
407- "ffirst ^K ^F\n"
408- "ffirst ^K f\n"
409- "filt ^K / Filter block\n"
410- "fnext ^L Find next\n"
411- "fmtblk ^K J Format paragraphs in block\n"
412- "fmtblk ^K ^J\n"
413- "fmtblk ^K j\n"
414- "gomark ^[ 0 TO 9 Goto bookmark\n"
415- "groww ^K G Grow window\n"
416- "groww ^K ^G\n"
417- "groww ^K g\n"
418- "insc .kI Insert a space\n"
419- "insf ^K R Insert a file\n"
420- "insf ^K ^R\n"
421- "insf ^K r\n"
422- "lindent ^K , Indent to left\n"
423- "line ^K L Goto line no.\n"
424- "line ^K ^L\n"
425- "line ^K l\n"
426- "ltarw .kl Go left\n"
427- "ltarw ^B\n"
428- "ltarw ^[ O D\n"
429- "ltarw ^[ [ D\n"
430- "macros ^[ d Dump keyboard macros\n"
431- "macros ^[ ^D\n"
432- "markb ^K B Set beginning of marked block\n"
433- "markb ^K ^B\n"
434- "markb ^K b\n"
435- "markk ^K K Set end of marked block\n"
436- "markk ^K ^K\n"
437- "markk ^K k\n"
438- "menu,\"root\",rtn ^T Options menu\n"
439- "nextpos ^K = Goto next position in position history\n"
440- "nextword ^X Goto next word\n"
441- "open ^] Split line\n"
442- "prevpos ^K - Previous position in history\n"
443- "prevword ^Z Previous word\n"
444- "redo ^^ Redo changes\n"
445- "rindent ^K . Indent to right\n"
446- "rtarw .kr Go right\n"
447- "rtarw ^F\n"
448- "rtarw ^[ O C\n"
449- "rtarw ^[ [ C\n"
450- "run ^K ! Run a shell command\n"
451- "save ^K D Save file\n"
452- "save ^K S\n"
453- "save ^K ^D\n"
454- "save ^K ^S\n"
455- "save ^K d\n"
456- "save ^K s\n"
457- "setmark ^[ ^[ Set bookmark\n"
458- "shrinkw ^K T Shrink window\n"
459- "shrinkw ^K ^T\n"
460- "shrinkw ^K t\n"
461- "splitw ^K O Split window\n"
462- "splitw ^K ^O\n"
463- "splitw ^K o\n"
464- "stat ^K SP Show status\n"
465- "tag ^K ; Tags file search\n"
466- "tomatch ^G Goto matching parenthasis\n"
467- "undo ^_ Undo changes\n"
468- "uparw .ku Go up\n"
469- "uparw ^P\n"
470- "uparw ^[ O A\n"
471- "uparw ^[ [ A\n"
472- ":prompt Prompt windows\n"
473- ":inherit main\n"
474- "if,\"byte>size\",then,complete,complete,else,delch,endif ^D\n"
475- "complete ^I\n"
476- "dnarw,eol .kd Go down\n"
477- "dnarw,eol ^N\n"
478- "dnarw,eol ^[ O B\n"
479- "dnarw,eol ^[ [ B\n"
480- "uparw,eol .ku Go up\n"
481- "uparw,eol ^P\n"
482- "uparw,eol ^[ O A\n"
483- "uparw,eol ^[ [ A\n"
484- ":menu Selection menus\n"
485- ":inherit windows\n"
486- "pgupmenu ^[ [ I\n"
487- "pgdnmenu ^[ [ G\n"
488- "bolmenu ^[ [ 1 ~ Putty, Linux, Cygwin\n"
489- "bolmenu ^[ [ H Xterm, Konsole\n"
490- "bolmenu ^[ O H gnome-terminal\n"
491- "bolmenu ^[ [ 7 ~ RxVT\n"
492- "eolmenu ^[ [ 4 ~ Putty, Linux, Cygwin, ssh\n"
493- "eolmenu ^[ [ F Xterm, Konsole\n"
494- "eolmenu ^[ O F gnome-terminal\n"
495- "eolmenu ^[ [ 8 ~ RxVT\n"
496- "abort ^[ ^[ Why?\n"
497- "backsmenu ^?\n"
498- "backsmenu ^H\n"
499- "bofmenu ^K U\n"
500- "bofmenu ^K ^U\n"
501- "bofmenu ^K u\n"
502- "bolmenu .kh\n"
503- "bolmenu ^A\n"
504- "dnarwmenu .kd\n"
505- "dnarwmenu ^N\n"
506- "dnarwmenu ^[ [ B\n"
507- "dnarwmenu ^[ O B\n"
508- "dnarwmenu MWDOWN\n"
509- "eofmenu ^K V\n"
510- "eofmenu ^K ^V\n"
511- "eofmenu ^K v\n"
512- "eolmenu .kH\n"
513- "eolmenu ^E\n"
514- "ltarwmenu .kl\n"
515- "ltarwmenu ^B\n"
516- "ltarwmenu ^[ [ D\n"
517- "ltarwmenu ^[ O D\n"
518- "pgdnmenu .kN Screen down\n"
519- "pgdnmenu ^V\n"
520- "pgdnmenu ^[ [ 6 ~\n"
521- "pgupmenu .kP Screen up\n"
522- "pgupmenu ^U\n"
523- "pgupmenu ^[ [ 5 ~\n"
524- "rtarwmenu .kr\n"
525- "rtarwmenu ^F\n"
526- "rtarwmenu ^[ [ C\n"
527- "rtarwmenu ^[ O C\n"
528- "rtn SP\n"
529- "rtn ^I\n"
530- "rtn ^K H\n"
531- "rtn ^K h\n"
532- "rtn ^K ^H\n"
533- "tabmenu ^I\n"
534- "uparwmenu .ku\n"
535- "uparwmenu ^P\n"
536- "uparwmenu ^[ [ A\n"
537- "uparwmenu ^[ O A\n"
538- "uparwmenu MWUP\n"
539- "defm2down M2DOWN Hits return key\n"
540- ":query Single-key query window\n"
541- ":inherit windows\n"
542- ":querya Single-key query window for quoting\n"
543- "type ^@ TO \n"
544- ":querysr Search & replace query window\n"
545- "type ^@ TO \n"
546-, USTR "c.jsf.in",
547- USTR "=Idle\n"
548- "=Bad bold red\n"
549- "=Preproc blue\n"
550- "=Define bold blue\n"
551- "=Comment green\n"
552- "=IncLocal cyan\n"
553- "=IncSystem bold cyan\n"
554- "=Constant cyan\n"
555- "=Escape bold cyan\n"
556- "=Type bold\n"
557- "=Keyword bold\n"
558- "=CppKeyword bold\n"
559- "=Brace magenta\n"
560- "=Control\n"
561- "\n"
562- ":reset Idle\n"
563- " * first noeat\n"
564- " \" \\t\" reset\n"
565- "\n"
566- ":first Idle\n"
567- " * idle noeat\n"
568- " \"#\" pre recolor=-1\n"
569- "\n"
570- ":pre Preproc\n"
571- " * preproc noeat\n"
572- " \" \\t\" pre\n"
573- " \"a-z\" preident recolor=-1 buffer\n"
574- "\n"
575- ":preident Preproc\n"
576- " * preproc noeat strings\n"
577- " \"define\" predef\n"
578- " \"include\" preinc\n"
579- "done\n"
580- " \"a-z\" preident\n"
581- "\n"
582- ":preinc Preproc\n"
583- " * preinc\n"
584- " \" \\t\" preinc_ws\n"
585- " \"\\n\" reset\n"
586- " \n"
587- ":preinc_ws Preproc\n"
588- " * prebad recolor=-1\n"
589- " \" \\t\" preinc_ws\n"
590- " \"\\\"\" preinc_local recolor=-1\n"
591- " \"<\" preinc_system recolor=-1\n"
592- "\n"
593- ":preinc_local IncLocal\n"
594- " * preinc_local\n"
595- " \"\\\"\\n\" reset\n"
596- " \n"
597- ":preinc_system IncSystem\n"
598- " * preinc_system\n"
599- " \">\\n\" reset\n"
600- "\n"
601- ":prebad Bad \n"
602- " * prebad\n"
603- " \"\\n\" reset\n"
604- "\n"
605- "\n"
606- ":predef Preproc\n"
607- " * predef\n"
608- " \" \\t\" predef_ws\n"
609- " \"\\n\" reset\n"
610- " \n"
611- ":predef_ws Preproc\n"
612- " * prebad recolor=-1\n"
613- " \" \\t\" predef_ws\n"
614- " \"a-zA-Z0-9_\" predef_ident recolor=-1\n"
615- "\n"
616- ":predef_ident Define\n"
617- " * idle noeat\n"
618- " \"a-zA-Z0-9_\" predef_ident\n"
619- "\n"
620- "\n"
621- ":preproc Preproc\n"
622- " * preproc\n"
623- " \"\\n\" reset\n"
624- " \"\\\\\" preproc_cont\n"
625- " \"/\" preproc_slash\n"
626- " \n"
627- ":preproc_slash Preproc\n"
628- " * preproc noeat\n"
629- " \"*\" comment recolor=-2\n"
630- " \"/\" line_comment recolor=-2\n"
631- " \n"
632- ":preproc_cont Preproc\n"
633- " * preproc_cont\n"
634- " \"\\n\" preproc\n"
635- "\n"
636- ":idle Idle\n"
637- " * idle\n"
638- " \"\\n\" reset\n"
639- " \"/\" slash\n"
640- " \"0\" first_digit recolor=-1\n"
641- " \"1-9\" decimal recolor=-1\n"
642- " \".\" maybe_float\n"
643- " \"\\\"\" string recolor=-1\n"
644- " \"'\" char recolor=-1\n"
645- " \"a-zA-Z_\" ident buffer\n"
646- " \"\\\\\" outside_escape recolor=-1\n"
647- " \"{}\" brace recolor=-1\n"
648- " \",:;=()><[]*&|!~+\\-%^\" control recolor=-1\n"
649- "\n"
650- ":outside_escape Escape\n"
651- " * idle\n"
652- "\n"
653- ":brace Brace\n"
654- " * idle noeat\n"
655- "\n"
656- ":control Control\n"
657- " * idle noeat\n"
658- "\n"
659- ":slash Idle\n"
660- " * idle noeat recolor=-2\n"
661- " \"*\" comment recolor=-2\n"
662- " \"/\" line_comment recolor=-2\n"
663- "\n"
664- ":comment Comment\n"
665- " * comment\n"
666- " \"*\" maybe_end_comment\n"
667- "\n"
668- ":maybe_end_comment Comment\n"
669- " * comment\n"
670- " \"/\" idle\n"
671- " \"*\" maybe_end_comment\n"
672- "\n"
673- ":line_comment Comment\n"
674- " * line_comment\n"
675- " \"\\n\" reset\n"
676- "\n"
677- ":first_digit Constant\n"
678- " * idle noeat\n"
679- " \"xX\" hex\n"
680- " \".\" float\n"
681- " \"eE\" epart\n"
682- " \"0-7\" octal\n"
683- " \"89\" bad_number recolor=-1\n"
684- "\n"
685- ":bad_number Bad\n"
686- " * idle noeat\n"
687- " \"0-9\" bad_number\n"
688- "\n"
689- ":octal Constant\n"
690- " * idle noeat\n"
691- " \"0-7\" octal\n"
692- " \"89\" bad_number recolor=-1\n"
693- "\n"
694- ":hex Constant\n"
695- " * idle noeat\n"
696- " \"0-9A-Fa-f\" hex\n"
697- "\n"
698- ":decimal Constant\n"
699- " * idle noeat\n"
700- " \"0-9\" decimal\n"
701- " \"eE\" epart\n"
702- " \".\" float\n"
703- "\n"
704- ":maybe_float Constant\n"
705- " * idle recolor=-2 noeat\n"
706- " \"0-9\" float recolor=-2\n"
707- "\n"
708- ":float Constant\n"
709- " * idle noeat\n"
710- " \"eE\" epart\n"
711- " \"0-9\" float\n"
712- "\n"
713- ":epart Constant\n"
714- " * idle noeat\n"
715- " \"0-9+\\-\" enum\n"
716- "\n"
717- ":enum Constant\n"
718- " * idle noeat\n"
719- " \"0-9\" enum\n"
720- "\n"
721- ":string Constant\n"
722- " * string\n"
723- " \"\\\"\" idle\n"
724- " \"\\\\\" string_escape recolor=-1\n"
725- " \"%\" string_control recolor=-1\n"
726- "\n"
727- ":string_escape Escape\n"
728- " * string\n"
729- " \"x\" string_hex1\n"
730- " \"0-7\" string_octal2\n"
731- " \"\\n\" string recolor=-2\n"
732- "\n"
733- ":string_hex1 Escape\n"
734- " * string noeat\n"
735- " \"0-9a-fA-F\" string_hex2\n"
736- "\n"
737- ":string_hex2 Escape\n"
738- " * string noeat\n"
739- " \"0-9a-fA-F\" string\n"
740- "\n"
741- ":string_octal2 Escape\n"
742- " * string noeat\n"
743- " \"0-7\" string_octal3\n"
744- "\n"
745- ":string_octal3 Escape\n"
746- " * string noeat\n"
747- " \"0-7\" string\n"
748- "\n"
749- ":string_control Escape\n"
750- " * string\n"
751- " \"\\\"\" string noeat\n"
752- " \"\\n\" reset\n"
753- " \"0-9.\\-+ #hjILtz$\" string_control\n"
754- "\n"
755- ":char Constant\n"
756- " * char\n"
757- " \"\\n\" reset\n"
758- " \"'\" idle\n"
759- " \"\\\\\" char_escape recolor=-1\n"
760- "\n"
761- ":char_escape Escape\n"
762- " * char\n"
763- " \"x\" char_hex1\n"
764- " \"0-7\" char_octal2\n"
765- " \"\\n\" char recolor=-2\n"
766- "\n"
767- ":char_hex1 Escape\n"
768- " * char noeat\n"
769- " \"0-9a-fA-F\" char_hex2\n"
770- "\n"
771- ":char_hex2 Escape\n"
772- " * char noeat\n"
773- " \"0-9a-fA-F\" char\n"
774- "\n"
775- ":char_octal2 Escape\n"
776- " * char noeat\n"
777- " \"0-7\" char_octal3\n"
778- "\n"
779- ":char_octal3 Escape\n"
780- " * char noeat\n"
781- " \"0-7\" char\n"
782- "\n"
783- ":ident Idle\n"
784- " * idle noeat strings\n"
785- " \"int\" type\n"
786- " \"float\" type\n"
787- " \"long\" type\n"
788- " \"short\" type\n"
789- " \"char\" type\n"
790- " \"double\" type\n"
791- " \"signed\" type\n"
792- " \"unsigned\" type\n"
793- " \"void\" type\n"
794- " \"static\" type\n"
795- " \"register\" type\n"
796- " \"extern\" type\n"
797- " \"inline\" type\n"
798- " \"auto\" type\n"
799- " \"const\" type\n"
800- " \"volatile\" type\n"
801- " \"if\" kw\n"
802- " \"else\" kw\n"
803- " \"while\" kw\n"
804- " \"for\" kw\n"
805- " \"break\" kw\n"
806- " \"continue\" kw\n"
807- " \"do\" kw\n"
808- " \"case\" kw\n"
809- " \"default\" kw\n"
810- " \"switch\" kw\n"
811- " \"goto\" kw\n"
812- " \"struct\" kw\n"
813- " \"enum\" kw\n"
814- " \"return\" kw\n"
815- " \"sizeof\" kw\n"
816- " \"typedef\" kw\n"
817- " \"union\" kw\n"
818- " \"asm\" kw\n"
819- " \"class\" cppkw\n"
820- " \"public\" cppkw\n"
821- " \"private\" cppkw\n"
822- " \"protected\" cppkw\n"
823- " \"friend\" cppkw\n"
824- " \"new\" cppkw\n"
825- " \"delete\" cppkw\n"
826- " \"bool\" cppkw\n"
827- " \"namespace\" cppkw\n"
828- " \"operator\" cppkw\n"
829- " \"template\" cppkw\n"
830- " \"catch\" cppkw\n"
831- " \"throw\" cppkw\n"
832- " \"try\" cppkw\n"
833- " \"typeof\" cppkw\n"
834- "done\n"
835- " \"a-zA-Z0-9_\" ident\n"
836- "\n"
837- ":type Type\n"
838- " * idle noeat\n"
839- "\n"
840- ":kw Keyword\n"
841- " * idle noeat\n"
842- "\n"
843- ":cppkw CppKeyword\n"
844- " * idle noeat\n"
845-, NULL
846-};
847-
848Index: joe-embedded/genbuiltins.sh
849===================================================================
850+++ joe-embedded/genbuiltins.sh (revision 234)
851@@ -0,0 +1,80 @@
852+#! /bin/bash
853+#
854+# Generate builtins.c for joe editor
855+#
856+# (C) David Kuehling 2010. License: GPLv2+
857+#
858+
859+
860+sed_rc='
861+# strip empty and comment lines
862+/^$/d
863+/^[ \t]/d
864+
865+# remove comments at and of option lines
866+s/\(-[a-z_A-Z0-9]\+\)\(\t\| [ \t]\+\).*/\1/
867+
868+# fix includes to refer to builtin files
869+s/^\(:include \)\([a-z]\)/\1*\2/
870+'
871+
872+sed_syntax='
873+# comment lines
874+/^#/d
875+'
876+
877+sed_cstring='
878+# escape chars
879+s/\\/\\\\/g
880+s/"/\\"/g
881+s/\r/\\r/
882+
883+# split into one string per line
884+s/^.*$/\t"&\\n"/
885+'
886+
887+rcfile(){
888+ echo "
889+ USTR \"$(basename $1)\",
890+ USTR "
891+ case "$1" in
892+ *rc)
893+ sed="$sed_rc"
894+ ;;
895+ *.jsf)
896+ sed="$sed_syntax"
897+ ;;
898+ *)
899+ sed=""
900+ ;;
901+ esac
902+ LANG=C sed -e "$sed" -e "$sed_cstring" "$1"
903+ echo " ,"
904+
905+}
906+
907+prolog(){
908+ echo "/* Built-in files */
909+
910+#include \"types.h\"
911+
912+unsigned char *builtins[]=
913+{
914+"
915+}
916+
917+epilog(){
918+echo "NULL
919+};"
920+
921+}
922+
923+prolog
924+
925+for i in "$@"; do
926+ rcfile $i
927+done
928+
929+epilog
930+
931+
932
933Property changes on: joe-embedded/genbuiltins.sh
934___________________________________________________________________
935Added: svn:executable
936   + *
937
938Index: joe-embedded/Makefile.in
939===================================================================
940+++ joe-embedded/Makefile.in (revision 234)
941@@ -236,7 +236,7 @@
942     utils.h va.h vfile.h vs.h w.h utf8.h syntax.h i18n.h charmap.h mouse.h \
943     lattr.h gettext.h builtin.h
944
945-INCLUDES = -DJOERC="\"$(sysconf_joedir)/\"" -DJOEDATA="\"$(data_joedir)/\""
946+INCLUDES = -DJOERC="\"\"" -DJOEDATA="\"$(data_joedir)/\""
947 joe_LDADD = -lm
948 joe_SOURCES = b.c blocks.c bw.c cmd.c hash.c help.c kbd.c macro.c main.c menu.c \
949     path.c poshist.c pw.c queue.c qw.c rc.c regex.c scrn.c tab.c termcap.c \
950@@ -249,6 +249,11 @@
951 all: autoconf.h
952     $(MAKE) $(AM_MAKEFLAGS) all-recursive
953
954+builtins.c : rc/ftyperc rc/jmacsrc.in rc/joerc.in rc/jpicorc.in rc/jstarrc.in rc/rjoerc.in
955+ make -C rc
956+ chmod a+x genbuiltins.sh
957+ ./genbuiltins.sh rc/ftyperc rc/jmacsrc rc/joerc rc/jpicorc rc/jstarrc rc/rjoerc > $@
958+
959 .SUFFIXES:
960 .SUFFIXES: .c .o .obj
961 am--refresh:

Archive Download the corresponding diff file



interactive