
                           JOE
                                Joe  iceB

 JOE    :
	1 - $HOME/.jicerc
	2 - /etc/jicerc

           
  :

 :include filename

  :    (     
   .  ,  NOXON, LINES, COLUMNS, DOPADDING  BAUD
      ):

  ,   ,    :

 -option	 
 --option	 

 -mid		    

 -marking	       
                (   -lightoff)

-asis		   128 - 255   

 -force		      

 -nobackups	  ,    

 -lightoff	      

 -exask		     

-beep		         

 -nosta		  

 -keepup	   esc- %k  %c
 		  

 -pg nnn	 ,   PgUp/PgDn

 -csmode	^KF      ^L

 -backpath path     

-nonotice	  copyright

 -noxon		  ^S/^Q

 -orphan	  ,   .,
		  ,    

 -dopadding	    
                (      )

 -lines nnn	 -   

-baud 19200	      

 -columns nnn	 -   

 -help		    

 -skiptop nnn	   nnn  

-notite               :
		    .

 -usetabs            

-assume_color	,       ANSI,
		       termcap/terminfo.

-guess_crlf       MS-DOS  .  -crlf

-guess_indent	    (  ).

    . -lmsg  ,  
 ,  -rmsg - .    -rmsg -    
 .       :

  %t    12- 
  %u    24- 
  %T  O   , I   
  %W  W    
  %I  A   
  %X     
  %n   
  %m  '()'    
  %*  '*'    
  %R    " "
  %r   
  %c   
  %o     
  %O        
  %a     
  %A        
  %p      
  %l  -   
  %k   -
  %S  '*SHELL*'     
  %M     
  %y  

     :
 
  \i  
  \u  
  \b   
  \d   
  \f  

-lmsg \i%k%T%W%I%X %n %y%m%R %M
-rmsg  %S  %r  %c %t   -  F1

  :        :

     '*'      ,
     ,    
   .        
   -    .

         
 ,   '+regex'.     
 ,   ,       -
      :   , 
  .

     :

	-utf8			 -   UTF-8

	-syntax name		  (  
				 'name.jsf')

	-highlight		 

	-smarthome		 Home     
				 ,     

	-smartbacks		 Backspace  'istep' 
				  'indentc',   
				    .

	-tab nnn		 

	-indentc nnn		   (32 - , 
				9 - tab)

	-istep nnn		  

	-spaces			TAB  ,   .

	-purify			    
				(,      , 
				 ,  indentc - ,   
				   ).

	-crlf			      CR-LF

	-wordwrap		  

	-autoindent		

	-overwrite		 

        -picture                  (   
        			  )

	-lmargin nnn		 

	-rmargin nnn		 


	-french			   '.', '?' and '!'  
				      
				. Joe     
				,     
				.    -  
				  .

	-linums			  

	-rdonly			   

	-keymap name		 ,   'main'

	-lmsg			   -  
	-rmsg			.  .

	-mnew macro		,     
	-mold macro		,     
	-msnew macro		,     
	-msold macro		,     

	-square			  

        ,     , 
         ,       , 
            .

    
-highlight
-istep 2
-picture

  '.'   ?  ,   -  , 
    
*
-wordwrap

    '.'?  ,    .
*.*

  
*.txt
-wordwrap

 Perl
*
+#!\+\[ 	]\+\[a-z/]/perl\>
-autoindent
-syntax perl

*.pl
-autoindent
-syntax perl

   C 
*.c
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-linums

    C
*.h
-autoindent
-syntax c
-smarthome
-smartbacks
-purify
-linums

 Verilog file
*.v
-autoindent
-syntax verilog
-istep 2
-smarthome
-smartbacks
-purify

 VHDL file
*.vhd
-autoindent
-syntax vhdl
-istep 2
-smarthome
-smartbacks
-purify

 HTML
*.htm
-wordwrap
-autoindent
-syntax html

*.html
-wordwrap
-autoindent
-syntax html

 JAVA
*.java
-autoindent
-syntax java
-smarthome
-smartbacks
-purify

 Hypertext preprocessor file
*.php
-autoindent
-syntax php
-smarthome
-smartbacks
-purify

 Python
*
+#!\+\[ 	]\+\[a-z/]/python\>
-autoindent
-syntax python
-smarthome
-smartbacks
-purify

*.py
-autoindent
-syntax python
-smarthome
-smartbacks
-purify

 Shell
*
+#!\+\[ 	]\+\[a-z/]/sh\>
-autoindent
-syntax sh

*.sh
-autoindent
-syntax sh

 BASH Shell
*
+#!\+\[ 	]\+\[a-z/]/bash\>
-autoindent
-syntax sh

*.bash
-autoindent
-syntax sh

 CSH
*
+#!\+\[ 	]\+\[a-z/]/csh\>
-autoindent
-syntax csh

*.csh
-autoindent
-syntax csh

 TCSH
*
+#!\+\[ 	]\+\[a-z/]/tcsh\>
-autoindent
-syntax csh

*.tcsh
-autoindent
-syntax csh

 KSH
*
+#!\+\[ 	]\+\[a-z/]/ksh\>
-autoindent
-syntax sh

*.ksh
-autoindent
-syntax sh

 Makefile
*akefile
-autoindent
-syntax conf

*AKEFILE
-autoindent
-syntax conf

 Pascal
*.p
-autoindent
-syntax pascal
-smarthome
-smartbacks
-purify

*.pas
-autoindent
-syntax pascal
-smarthome
-smartbacks
-purify

 Fortran
*.f
-autoindent
-syntax fortran

*.for
-autoindent
-syntax fortran

*.FOR
-autoindent
-syntax fortran

 YACC
*.y
-autoindent
-syntax yacc

 LEX
*.l
-autoindent
-syntax lex

 TCL
*.tcl
-autoindent
-syntax tcl

 Joe Syntax File
*.jsf
-autoindent
-syntax conf

 Autoconfig file
*.ac
-autoindent
-syntax conf

 M4 file
*.m4
-autoindent
-syntax m4

 Automake file
*.am
-autoindent
-syntax conf

  :  :

  \i  / 
  \u  / 
  \b  /  
  \d  /  
  \f  / 

{Basic
\i     -   F1    . -  ^N                        \i
\i \i\u\u         \u\u         \u\u      \u\u   \u\u     \u\u     \i \i
\i \i\b^Z\b .   \bPgUp\b .  \bF3\b    \bDel\b .\b^KJ\b    \bF10\b . \i \i
\i \i\b^X\b .   \bPgDn\b .  \bS/F3\b   \b^Y\b .   \b^T\b    \b^C\b  .\i \i
\i \i                \bHome\b .  \bF6\b   \b^W\b > \b^R\b . \b^KZ\b shell \i \i
\i \i                \bEnd\b  .  \bF5\b  .  \b^O\b < \b^@\b   \u\u      \i \i
\i \i\u\u           \bF2\b    \bS/F5\b   \b^J\b >.  \uSPELL\u     \b^KE\b    \i \i
\i \i\bS/F7\b   \bS/F2\b   \bS/F6\b .  \b^_\b . \b^[N\b  \b^KR\b   \i \i
\i \i\bF7\b     \b^L\b   No. \b^K/\b   \b^^\b   \b^[L\b  \bS/F10\b \i \i
}

{Windows
\i     -   F1    . - ^P     .  ^N      \i
\i \i\b^KO\b                \b^KE\b                 \i \i
\i \i\b^KG\b                \b^KT\b               \i \i
\i \i\b^KN\b                  \b^KP\b                \i \i
\i \i\b^C\b                   \b^KI\b    /       \i \i
}

{Advanced
\i     -   F1    . - ^P     .  ^N      \i
\i \i\u\u          \u\u          \u\u \uSHELL\u       \uGOTO\u       \uI-SEARCH\u     \i \i
\i \i\b^K[ 0-9\b  \b^K\b    \b^[W\b  \b^K'\b    \b^[B\b To ^KB \b^[R\b     \i \i
\i \i\b^K]\b       \b^K\\\b       \b^[Z\b   \b^[!\b  \b^[K\b To ^KK \b^[S\b    \i \i
\i \i\b^K 0-9\b  .\b^[M\b  \b^K<\b  \uQUOTE\u       \u\u   \u\u        \i \i
\i \i\b^K?\b     Query  \b^KA\b .  \b^K>\b \b`\b  Ctrl-    \b^[Y\b  \b^[ 0-9\b Goto  \i \i
\i \i\b^[D\b        \b^[H\b              \b^\\\b Meta-    \b^[O\b .<  \b^[^[\b .\i \i
}

{Programs
\i     -   F1    . - ^P     .  ^N      \i
\i \i\u\u             \u\u      \uCOMPILING\u                                    \i \i
\i \i\b^G\b   . ( [ {   \b^K,\b   \b^[C\b Compile and parse errors                 \i \i
\i \i\b^K-\b    \b^K.\b  \b^[E\b Parse errors                             \i \i
\i \i\b^K=\b  .               \b^[=\b To next error                            \i \i
\i \i\b^K;\b              \b^[-\b To prev. error                           \i \i
}

{Search
\i     -   F1    . - ^P     .  ^N      \i
\i \i  :                                       \i \i
\i \i    \b\\^  \\$\b  /           \b\\?\b              \i \i
\i \i    \b\\<  \\>\b  /            \b\\*\b     0            \i \i
\i \i    \b\\c\b       C  \b\\\\\b      \\                     \i \i
\i \i    \b\\[..]\b        \b\\n\b                     \i \i
\i \i    \b\\+\b     0   ,   \\+                             \i \i
\i \i  :                                    \i \i
\i \i    \b\\&\b      ,                      \i \i
\i \i    \b\\0 - 9\b  , . n-  \b\\*\b, \b\\?\b, \b\\c\b, \b\\+\b,  \b\\[..]\b        \i \i
\i \i    \b\\\\\b       \\           \b\\n\b           \i \i
}

{Names
\i     -   F1    . - ^P     .  ^N      \i
\i \i  TAB                     \i \i
\i \i    /           \i \i
\i \i   :                                                   \i \i
\i \i      !command                  /                        \i \i
\i \i      >>filename                                              \i \i
\i \i      -                        / /  /  \i \i
\i \i      filename,START,SIZE      /  /          \i \i
\i \i           START/SIZE  10- (255), 8- (0377)  16- (0xFF)  \i \i
}

{Joe
\i   Help Screen    turn off with ^KH    prev. screen ^[,                        \i
\i \i Send bug reports to: http://sourceforge.net/projects/joe-editor             \i \i
}

  :  :

       :

	:main		  
	:prompt		  
	:query		For single-character query lines
	:querya		Singe-character query for quote
	:querysr	Search & Replace single-character query

          
     '-keymap'.

 :
 :inherit name		   name  
 :delete key		    

 :

  ^@ - ^_  ^?    
  SP   
  TO b    

       termcap.  :

	.ku		 
	.kd		 
	.kl		 
	.kr		 
	.kh		Home
	.kH		End
	.kI		Insert
	.kD		Delete
	.kP		PgUp
	.kN		PgDn
	.k1 - .k9	F1 - F9
	.k0		F0  F10
	.k;		F10

 :

          ,
  . :

 eof,bol	^T Z		    

 Also quoted matter is typed in literally:

 bol,">",dnarw	.k1		Quote news article line

      ,   

          :def.  
 ,   :

 :def foo eof,bol

    foo,     
    .

:windows		    
type		^@ TO 		 
abort		^C		 
abort		^K Q
abort		^K ^Q
abort		^K q
arg		^K \		   
explode		^K I		     
explode		^K ^I
explode		^K i
help		.k1
help		.k8
help		.k9
help		.F1
help		.F4
help		.F8
help		.F9
help		.FB
help		.FC
help		^K H		
help		^K ^H
help		^K h
hnext		^N		  
hprev		^P  		  
math		^[ m		
math		^[ M		
math		^[ ^M		
msg		^[ h		 
msg		^[ H		 
msg		^[ ^H		 
nextw		^K N		  
nextw		^K ^N
nextw		^K n
pgdn		.kN		  
pgdn		^V
pgup		.kP		  
pgup		^U
play		^K 0 - 9	 
prevw		^K P		  
prevw		^K ^P
prevw		^K p
query		^K ?		Macro query insert
record		^K [		 
retype		^R		 
rtn		^M		 
shell		^K Z		  
shell		^K ^Z
shell		^K z
stop		^K ]		  

:main			  
:inherit windows

    

:def spellfile filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;cat ispell.tmp;/bin/rm ispell.tmp",rtn,retype
:def spellword 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

spellfile	^[ l
spellword	^[ n


  ,      
    JOE:

delbol		^[ o		   
delbol		^[ ^O		
dnslide		^[ z		    
dnslide		^[ Z		Scroll down one line
dnslide		^[ ^Z		Scroll down one line
edit,rtn,filt,
query,parserr	^[ c		
edit,rtn,filt,
query,parserr	^[ ^C		
execmd		^[ x		   
execmd		^[ X		
execmd		^[ ^X		
isrch		^[ s		  
isrch		^[ S		
isrch		^[ ^S		
notmod		^[ ~		Not modified
nxterr		^[ =		  
parserr		^[ e		    
parserr		^[ E		
parserr		^[ ^E		
prverr		^[ -		  
rsrch		^[ r		  
rsrch		^[ R		
rsrch		^[ ^R		
run		^[ !		   
tomarkb		^[ b		  
tomarkb		^[ ^B		
tomarkk		^[ k		  
tomarkk		^[ ^K		
tomarkk		^[ K		
txt		^[ i		    
txt		^[ ^I		
txt		^[ I		
upslide		^[ w		    
upslide		^[ ^W		
upslide		^[ W		
yankpop		^[ y		  
yankpop		^[ ^Y		
yankpop		^[ Y		

 bufed		^[ d		 
 pbuf		^[ .		 
 nbuf		^[ ,		 
 query		^[ q		Quoted insert
 byte		^[ n		  
 col		^[ c		  
 abortbuf	^[ k		Kill current buffer- don't mess with windows
 ask		^[ a		    
 bop		^[ p		  
 bos		^[ x		  
 copy		^[ ^W		Copy block into yank
 dupw		^[ \		 
 eop		^[ n		  
 format		^[ j		 ,  
 markl		^[ l		 
 nmark		^[ @		 
 pop		^[ >		  
 psh		^[ <		  
 swap		^[ x		      
 tomarkbk	^[ g		      
 tos		^[ e		  
 tw0		^[ 0		   ( )
 tw1		^[ 1		    ( )
 uarg		^[ u		 
 yank		^[ ^Y		Undelete previous text
 yapp		^[ w		Append next delete to previous yank

    JOE

quote8		^\		 
quote		`		  

backs		^?		Backspace
backs		^H
backw		^O		  
bknd		^K '		 
blkcpy		.k5 		 
blkcpy		^K C		
blkcpy		^K ^C
blkcpy		^K c
blkdel		.f6 		 
blkdel		.F6 		
blkdel		^K Y		
blkdel		^K ^Y
blkdel		^K y
blkmove		^K M		 
blkmove		.k6 		
blkmove		^K ^M
blkmove		^K m
blksave		.f5 		 
blksave		.F5 		
blksave		^K W		
blksave		^K ^W
blksave		^K w
bof		.k2		  
bof		^K ^U
bof		^K u
 bol		.kh		  
 bol		^A
home		.kh
home		^A
center		^K A		 
center		^K ^A
center		^K a
crawll		^K <		Pan left
crawlr		^K >		Pan right
delch		.kD		 
delch		^D
deleol		^J		   
dellin		^Y		  
delw		^W		   
dnarw		.kd		
dnarw		^[ O B
dnarw		^[ [ B
edit		^K E		 
edit		^K ^E
edit		^K e
eof		.f2 		  
eof		.F2 		
eof		^K V		
eof		^K ^V
eof		^K v
eol		.kH		  
eol		.@7		
eol		^E
exsave		.k0 		   
exsave		.k; 		
exsave		^K X		
exsave		^K ^X
exsave		^K x
ffirst		.f7 		 
ffirst		.F7 		
ffirst		^K F		
ffirst		^K ^F
ffirst		^K f
filt		^K /		 
fnext		.k7     	 
fnext		^L		
fmtblk		^K J		   
fmtblk		^K ^J
fmtblk		^K j
gomark		^[ 0 TO 9	  
groww		^K G		 
groww		^K ^G
groww		^K g
insc		.kI		 
insc		^@
insf		^K R		                 
insf		^K ^R
insf		^K r
lindent		^K ,		  
line		^L  		   
line		^K L	
line		^K ^L
line		^K l
ltarw		.kl		
ltarw		^[ O D
ltarw		^[ [ D
macros		^[ d		 
macros		^[ ^D
markb		.k3 		  
markb		^K B		
markb		^K ^B
markb		^K b
markk		.f3 		  
markk		.F3 		
markk		^K K		
markk		^K ^K
markk		^K k
mode		^T		 
nextpos		^K =		     
nextword	^X		  
open		^]		 
prevpos		^K -		    
prevword	^Z		  
redo		^^		  
rindent		^K .		   
rtarw		.kr		
rtarw		^[ O C
rtarw		^[ [ C
save		.f0 		 
save		.FA 		
save		^K D		
save		^K S
save		^K ^D
save		^K ^S
save		^K d
save		^K s
setmark		^[ ^[		 
shrinkw		^K T		 
shrinkw		^K ^T
shrinkw		^K t
splitw		^K O		 
splitw		^K ^O
splitw		^K o
stat		^K SP		  
tag		^K ;		  
tomatch		^G		  
undo		^_		 
uparw		.ku		
uparw		^[ O A
uparw		^[ [ A

:prompt			 
:inherit main
complete	^I

:menu			 
:inherit windows
abort		^[ ^[
backsmenu	^H
bofmenu		^K U
bofmenu		^K ^U
bofmenu		^K u
bolmenu		.kh
bolmenu		^A
dnarwmenu	.kd
dnarwmenu	^N
dnarwmenu	^[ [ B
dnarwmenu	^[ O B
eofmenu		^K V
eofmenu		^K ^V
eofmenu		^K v
eolmenu		.kH
eolmenu		^E
ltarwmenu	.kl
ltarwmenu	^B
ltarwmenu	^[ [ D
ltarwmenu	^[ O D
pgdnmenu	.kN		  
pgdnmenu	^V
pgdnmenu	^[ [ 6 ~
pgupmenu	.kP		  
pgupmenu	^U
pgupmenu	^[ [ 5 ~
rtarwmenu	.kr
rtarwmenu	^F
rtarwmenu	^[ [ C
rtarwmenu	^[ O C
rtn		SP
rtn		^I
rtn		^K H
rtn		^K h
rtn		^K ^H
uparwmenu	.ku
uparwmenu	^P
uparwmenu	^[ [ A
uparwmenu	^[ O A

:query			Single-key query window
:inherit windows

:querya			Single-key query window for quoting
type		^@ TO 

:querysr		Search & replace query window
type		^@ TO 
