JOE() JOE() (NAME) JOE - Joe's Own Editor (SYNOPSIS) joe [global-options] [ [local-options] filename ]... jstar [global-options] [ [local-options] filename ]... jmacs [global-options] [ [local-options] filename ]... rjoe [global-options] [ [local-options] filename ]... jpico [global-options] [ [local-options] filename ]... (DESCRIPTION) JOE . << >> (mode-less) . WordStar Micro-Pro <> Borland . JOE UNIX . JOE . JSTAR WordStar JOE . JPICO PICO Pine . JMACS GNU-EMACS . RJOE JOE . JOE . <> JOE . JOE (GNU General Public License) (Free Software Foundation) . JOE http://www.sourceforge.net/projects/joe-editor . (USAGE) joe . ( ). ( ). . / . Filenames . . ^K H . : ^ Control ( Shift ). Control : Esc ^[ Del ^? Backspace ^H Tab ^I Return Enter ^M Linefeed ^J . . ^_ ^^ ^@ Shift ( ^- ^6 ^2 ). ^. ^, ^/ . ^Space ^@ . ^\ ^] telnet kermit . Alt Esc . ^K H . . Esc , Esc . ( Esc , Esc .) . ^K H . JOE ( /etc/joe/joerc ) .joerc . joerc . JOE (News) EDITOR VISUAL (.cshrc .profile) JOE ( /usr/bin/joe ). . Environment variables . (OPTIONS) joerc . . ( .c .h .p) (autoindent) . (Wordwrap) rc . : -wordwrap : --wordwrap . : -lmargin 5 : o asis . . UTF-8 . o assume_256color ANSI termcap . o assume_color ANSI termcap . o text_color color . o status_color color . o help_color color . o menu_color color . o prompt_color color (prompts). o msg_color color . o autoswap ^K B ^K K . backpath path . () . o backup_file_suffix string . () ~ . o baud nnn (baud rate) ( stty ). JOE 19200 tty (typeahead) . (scrolling) 38400 . X-term tty . o beep (beep) . o break_links JOE (hard-links) (symbolic-links) . o break_hardlinks JOE . o brpaste JOE << >> (bracketed paste mode) ( ANSI ). ESC [ 2 0 0 ~ ESC [ 2 0 1 ~ . o columns nnn ( termcap ). ioctl << >> (get window size) . o csmode : ^K F . o dopadding JOE (padding) NUL ( ). o exask ^K X . o floatmouse . o guess_crlf JOE MS-DOS UNIX . o guess_indent JOE . . o guess_non_utf8 UTF-8 UTF-8 . o guess_utf8 UTF-8 UTF-8 . o guess_utf16 UTF-16 . UTF-16BE UTF-16LE UTF-8 UTF-16 . o helpon . o help_is_utf8 joerc UTF-8 . o icase . o joe_state ~/.joe_state . o joexterm xterm --paste64 . o keepup . language language aspell . o lightoff ^K B ^K K . o lines nnn ( termcap ). ioctl "get window size" . o marking : ^K B . o menu_above . o menu_explorer ( ). o menu_jump Tab Tab . o mid . . o left nn crawll . nn -2 1/2 . o right nn crawlr . nn -3 1/3 . o mouse xterm . o nobackups . o nocurdir . o noexmsg ("File not changed so no update needed"). o nolinefeeds linefeed ( notite ). o nolocks EMACS . o nomodcheck . o nonotice . o nosta . vt52 . o notagsmenu tags . o notite ti te termcap JOE . o pastehack autoindent wordwrap . noxon ^S ^Q ^S ^Q . o orphan ( switch-buffer ). o pg nnn Page Up Page Down ( -1 / ). o regex (regular expression) JOE ( ). o restore . o rtbutton . o search_prompting ( PICO). o skiptop nnn N N JOE . JOE . o square . o transpose . o title () . . context.jsf . o type . ftyperc . o undo_keep nnn (undo) (0 ). o usetabs . o wrap . : o +nnn . o autoindent . Enter . o c_comment C /.../ ^G o cpara characters () . o cnotpara characters . o cpp_comment ++C // ... ^G o crlf JOE CR-LF LF . MS-DOS VMS . encoding encoding ( utf-8 8859-1). o flowed . o force . o french . o hex hex-dump. o highlight (syntax highlighting). o highlighter_context ^G . o indentc nnn (^K , ^K .). Space 32 Tab 9 . o indentfirst home 1 . o istep nnn . o linums . o lmargin . o lmsg . o overwrite (overtype). . o picture "picture" - . o pound_comment ^G # ... . o purify . indentc . o rdonly . o rmargin nnn . o rmsg string . o semi_comment ^G ; ... . o single_quoted ^G '...' . o smartbacks . istep indentc . smarthome Home . o smsg string . o spaces (space) Tab. o syntax syntax (syntax highlighting). o tab nnn (tab stop width). o text_delimiters word delimiter list ^G . "begin=end:if=elif=else=endif" ^G if elif else endif . o vhdl_comment ^G -- ... . o wordwrap JOE (wordwrap). o zmsg string . o xmsg string ( ). o aborthint string ( ^C). o helphint string ( ^K H). (Colors and attributes) text_color . : bold+bg_green+blue o : bold inverse blink dim underline italic o : white cyan magenta blue yellow green red black o : bg_white bg_cyan bg_magenta bg_blue bg_yellow bg_green bg_red bg_black (export TERM=xterm-16color) : o : WHITE CYAN MAGENTA BLUE YELLOW GREEN RED BLACK o : bg_WHITE bg_CYAN bg_MAGENTA bg_BLUE bg_YELLOW bg_GREEN bg_RED bg_BLACK (export TERM=xterm-256color) : o fg_RGB bg_RGB R G B 0 5 . : fg_500 . o fg_NN bg_NN NN 0 23 . -lmsg -rmsg . -rmsg . -smsg (^K Space) . -zmsg . smsg zmsg . (escape sequences) : %t %u %T O (overtype) I (insert) %W W (wordwrap) %I A (autoindent) %X (Rectangle mode) %n %m '(Modified)' %* '*' %R %r () %c %o %O (hex) %a (Ascii) %A (hex) %w %p %l %k %S '*SHELL*' %M %y (Syntax) %e (Encoding) %x ( ) %dd %dm %dY %Ename% %Tname% (ON OFF ) : \i (Inverse) \u (Underline) \b (Bold) \d (Dim) \f (Blink) \l (Italic) (Basic Editing) ( ). . . Backspace : Backspace . (line-break) Enter Return . Enter . Backspace . . ( ) ^F () ^B () ^P () ^N () . : . . (indent) Tab . (tab stop) . ^T D . C PASCAL . ( biff) ^R . . ^D Backspace . ^D . ^Y ^J . ^A . ^E . ^U ^V (scroll) . <<>> . ^K U ^K V . . ^_ (<>) . ^- ^_ Shift Control . ^^ (<>) ( ^6 ). (Cursor position history) ^K - . . ^K - ^K = <> <> . (Save and exit) ^K X . . . ^C . ~ . (File operations) ^K D ( ). ^K E . Blocks . ^K R . JOE : o !command . joe '!ls' ^K D !mail jhallen@world.std.com . o >>filename JOE "filename" . o filename,START,SIZE . START SIZE (: 123) (: 0777) (: 0xFF) . joe /dev/fd0,508,2 508 509 . o - . JOE : quota -v | joe | mail root. JOE (Using JOE in a shell script) JOE /dev/tty . ( JOE tty ) JOE /dev/tty JOE : echo "hi" | joe JOE stdin/stdout stdin/stdout JOE /dev/tty : joe filename /dev/tty (Word wrap and formatting) C PASCAL . ( .c .h .p ) JOE Enter . (word-wrap mode) . Word-wrap ^T W . JOE . joerc . Word-wrap JOE . ^K J . << >> . . JOE ^T L ^T R . 1 . : o cpara . > cpara . o cnotpara . nroff '.' . o (Autoindent) . autoindent . autoindent . o french . o flowed . . o overtype . (Centering) ^K A . (Spell checker) aspell ( ispell joerc ) Esc N . Esc L . JOE . ^T V . en_US . (Overtype mode) . . ^T T . . Backspace . ^T T (insert-mode) . ^@ . Space . . 'A' 65 '1' 49 . 32 - 126 ( ASCII ). 0 255 . 10 . ^Q @ A B C ... X Y Z [ ^ ] \ _ 0 - 31 ? 127 . ^Q J ^Q I Tab ( Tab ). 12 (^Q L) . JOE L . 127 ^\ . 128 ( ) . JOE 128 (inverse-video) . . asis . : JOE 8 (locale) C POSIX . C POSIX asis . : JOE Esc ' . UTF-8 (Character sets and UTF-8) JOE : UTF-8 ( ISO-8859-1). UTF-8 . UTF-16 GB2312 . : LF (0x0A) CR-LF (0x0D - 0x0A) 0x20 0x09 . UNIX MS-DOS . EBCDIC ( ) CR ( ) . JOE UTF-16 ( big endian little endian) . UTF-8 UTF-16 . . JOE . UTF-8 . 'LC_ALL' ( LC_CTYPE LANG ). LC_ALL : de_DE ISO-8859-1 . LC_ALL : de_DE.UTF-8 UTF-8 . ^T E . Tab Tab . ~/.joe/charmaps /usr/share/joe/charmaps . /usr/share/i18n/charmaps . . gzip ( charmap /usr/share/i18n/charmaps ). /usr/share/joe/charmaps . ^K Space . UTF-8 ^Q x . (Prompts) . . . << >> . ^K F . ^K P ^K N . (Completion and selection menus) Tab JOE . JOE . <> Tab . . ^K P ( ) . . ^T . Page Up Page Down ( ). Tab . JOE . Tab ^Q Tab . Esc Enter JOE . JOE . Esc Enter . (Where am I?) ^K Space JOE . ( ASCII ) . / . joerc . ^K (What if I hit ^K by accident?) (space bar) . ( ). (Temporarily suspending the editor) ^K Z . . fg exit ( ^K Z ). (Searching for text) ^K F (string) . . Enter . Enter : o b . o i . . o nnn ( nnn ) JOE N . . o r . r . . : y n r ( nnn ) ^C . B Backspace ( ). o a . "foo" "bar" .c : joe *.c ^K F foo ra bar o e grep make . UNIX . "foo" "bar" .c f . grep "ls" "find" . Esc G grep -n foo f*.c ^K F foo re bar o x JOE . (escape) : ., *, +, ?, {, }, (, ), |, ^, $ [. o y JOE JOE . <<-regex>> . o v JOE (startup log) . showlog . ^L . ^K H . (Regular Expressions) : o \* . AB\*C JOE A B C . o \+ . AB\+C JOE A B C . o \? . AB\?C JOE AC ABC . o \{min,max} JOE . AX\{2,5}B : AXXB AXXXB AXXXXB AXXXXXB. Min . Max ( ) . o \. . A\.B JOE AXB AB AXXB . o \! . C . malloc(\!\*) JOE malloc ) . o \| . A\|B JOE A B . o \( \) . \(foo\)\+ JOE <> <> . o ^ \$ . ^test\$ JOE test . o \\\ . \is\\ JOE <> <> <> . o \[...] . \[Tt]his JOE This this . . \[A-Z] . ^ JOE . - ( ^) . o \\ \ . o \n (line-break) . : o \& . \\*\\ "\&" JOE . \1 - \9 N N \( \). o \l, \u . o \L, \U . \E . o \\ \ . o \n . : "Address:" . : Address: S. Holmes, 221b Baker St., London, England : ^K F : Address:\(\.\*\),\(\.\*\),\(\.\*\),\(\.\*\)\$ "Address:" . r : Address:\4,\3,\1,\2 . return : Address: England, London, S. Holmes, 221b Baker St. (Escape sequences) JOE : o \x{10ffff} (code point) . o \xFF . o \377 . o \p{Ll} . "Latin-1 Supplement" "Arabic" : ftp://ftp.unicode.org/Public/8.0.0/ucd/Blocks.txt "Ll" : ftp://ftp.unicode.org/Public/5.1.0/ucd/UCD.html#General_Category_Values . \p{N} ( ) \p{Nd} ( ) \p{Nl} ( ) \p{No} ( ) . o \d . \p{Nd} . o \D . \[^\p{Nd}] . o \w . \[^\p{C}\p{P}\p{Z}] . o \W . \[\p{C}\p{P}\p{Z}] . o \s . \[\t\r\f\n\p{Z}] . o \S . \[^\t\r\f\n\p{Z}] . o \i . \[\p{L}\p{Pc}\p{Nl}] . o \I . \[^\p{L}\p{Pc}\p{Nl}] . o \c . \[\i\p{Mn}\p{Mc}\p{Nd}\x{200c}\x{200d}] . o \C . \[^\i\p{Mn}\p{Mc}\p{Nd}\x{200c}\x{200d}] . o \t (Tab) o \n (Newline) o \r (Carriage return) o \b (Backspace) o \a (Alert) o \f (Formfeed) o \e (Escape) o \\ (Backslash) (Incremental search) Esc S Esc R . . Esc S Esc R . ^S ^\ ^L Esc S . ^R Esc R . JMACS . Backspace . . ^Q . ` . . (Goto matching delimiter) ^G . ( '(' ')') Pascal Verilog "begin" "end" . XML . ^G . ^G . XML < > . 'f' . C ^G #if #else #endif '#'. ^G . JOE : ftyperc . ^G . ^G : o c_comment o cpp_comment o pount_comment o semi_comment o vhdl_comment ^G : o single_quoted o double_quoted (syntax) ^G : o highlighter_context ^G . string comment . o text_delimiters . "begin=end:if=elif=else=endif" ^G if elif else endif . begin end . ^G ( ) . ^G / XML . () . ^K B . ^K K . ^K B ^K K () . ^K M . ^K C . ^K Y . ^K W . ^K / UNIX . ^K B ^K K ^K / sort . UNIX ^K / tr . ^K / tr a-z A-Z . ( ^K Y ). ^K B ^K K . JOE 4.2 ^C . ^K B ^K K . markb markk . Esc B markb Esc K markk . : Ctrl-Right Arrow . Ctrl-Right Arrow . : "begin_marking,rtarw,toggle_marking". Ctrl-Right Arrow . joerc . Xterm gnome-terminal . JOE ^Q Ctrl-Right Arrow . Putty Esc Esc [ C ^Q Right Arrow ( Esc Esc Putty ). Ctrl-Delete (Cut) Ctrl-Insert (Paste) . JOE . (Indenting program blocks) ^T I . joerc .p .c .h . Enter . ^K , ^K . . ( ) ^K , ^K . . istep indentc . ^T . ^T = . JOE : o smartbacks (backspace) . Backspace Tab istep indentc . o smarthome Home ^A . o indentfirst (Smart home) . o purify . indentc . o guess_indent JOE . . (Rectangle mode) ^T X ^K B ^K K . (columnar mode) . . ^K / - . ^K R . (overtype mode) (^T T). . (^K Y) Spaces Tabs () . (^K /) . (Picture mode) ^T P . ASCII . JOE . . : . . (Windows) . ^K O . ^K P ^K N . ^K E . ^K X ^C . . ^K O . ^K I . . ^K N ^K P . JOE . ^K G ^K T . JOE . . . ^K N . JOE . explode (^K I) . JOE <<>> (orphan) - . ^C . ^C . ^C . orphan joe -orphan *.c JOE . orphan ^K E ( ). bufed . . Esc V Esc U ( nbuf pbuf) . (shell) . . (Scratch buffers) (scratch) JOE . JOE . (startup log) compile grep . scratch . : o showlog o mwind ( compile / grep Esc C Esc G). (Keyboard macros) . . ^K [ 0 9 . (Macro n recording...) . . . ^K ] . ^K . <<**>> : ^K [ 0 ^A **down arrow\ ^K ] <<**>> . . (Keyboard macro subroutines) . . (Query suspend) ^K ? . . . ^K ? . . (Repeat) ^K \ . ^K \ Enter . . : ^K \ 20return^Y (Macros and commands) . ( ) . (^T B) . Esc D . <<**>> : home,"**",dnarw ^K 0 Macro 0 .joerc ( K 0) . (Define your own) joerc . foo : :def foo eof,bol foo . eof . bol . Esc X . (Command prompt) . Esc X . Tab . . (Macro don't stop modifier) . '!' . : prevw,pgdn!,nextw prevw . pgdn ( ) nextw . (Macro repeat argument modifiers) ^K \ . . ( ) . <> - <> . . . . . '-' . : prevw,pgdn-!,nextw - pgdn pgup . ( ). . : prevw,pgdn#!,nextw prevw pgdn nextw . <> : if~,"arg<0",then, ltarw, else, rtarw, endif <> . <> true . argset false . ~ ( if ) . 'arg' . 'psh' ^K B ^K K . ( 'pop' ) . 'query' . 'pop' - 'query' ^K B ^K K . (Tags search) C ctags tags . . tags <> . : ctags *.c *.h <> . JOE <> . TAGS . tags tags . tags : identifier filename /search-expression/[;comments] identifier filename ?search-expression?[;comments] identifier filename line-number[;comments] ctags : class::member JOE : member ::member class::member ctags : filename:identifier JOE . search-expression vi JOE : ^ $ \x x ( / ? ^ $) ^K ; . . Tab ( tags ). Enter : JOE . notagsmenu . notagsmenu JOE . ^K ; JOE . <> . notagsmenu JOE . JOE . ^K ; . ^K - ( ^C ). ^K ; ^K O . JOE Esc M . (Math functions) sin, cos, tan, exp, sqrt, cbrt, ln, log, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh, int, floor, ceil, abs, erf, erfc, j0, j1, y0, y1 (Variables) o e 'e' o pi 'pi' o top o lines o line o col o byte o size o height o width o char ASCII o markv (True) (^KB ... ^KK) o rdonly (True) o arg o argset (True) o is_shell (True) o no_windows o ans o hex (Hex) o dec (Decimal) o ins 'ans' o sum o cnt o avg o dev o eval ( ). o joe(...) JOE ( joerc ). JOE ( true () ). : joe(sys,"[ 1 == 1 ]",rtn) ([ 1 == 1 ]) . "[" "test" . true . : "if" JOE . : if,"joe(sys,\"[ 1 == 1 ]\",rtn)",then,"TRUE",endif TRUE . o !x x. o x x y. o a*b . o a/b . o a%b . o a+b . o a-b . o a a b . o a<=b a b . o a>b a b . o a>=b a b . o a==b a b . o a!=b a b . o a&&b a b . o a||b a b . o a?b:c a b c. o a=b b a. o a:b a b. && || ? : C sh : && . . JOE ^K ' . ( ^K V ) . ( ). make grep FTP. ^C Backspace Del Return ^D . exit . ^C (kill) . Bash ^Q Up Arrow ^Q Down Arrow Bash . : ^Q ^A ^Q ^E . JOE (dumb terminal) Backspace . ^Q (quote) . : Tab Backspace Enter ^C ^D. (Pop-up shell windows) F1 - F4 . "man ls" ( ). . ( ) : ^K ' . . . :vtshell joerc . Ctrl-C . bash Ctrl-C . Ctrl-C . ( Ctrl-P) Ctrl-C . ^K Q . 'pop' . JOE (quote) . "emacs -nw" : ^Q ^X ^C ^K V . JOE (source) . /etc/joe/shell.sh ( /etc/joe/shell.csh) . (alias) JOE . : o clear ( ) o joe file JOE o math 1+2 JOE o cd xyz JOE o markb ^KB o markk ^KK o mark command o parse command ( find grep) o parser comman ( gcc) o release o pop ( ^K Q) (escape sequence) : Esc { joe_macro }. . joerc "shell_" . : o (man) F1 "man fopen" . 'b' ('u') more ( less) . . o F1 cd . ^K E ( "edit file" ). o F1 . grep find ( ) : parse grep -n FIXME *.c : markb; find . | xargs grep -n FIXME; markk; parse ( : parse find . | xargs grep -n FIXME ... pipe parse ). ^P . Esc Space JOE ( Esc - Esc = ). o JOE ( ) 'e' : ^K F Find: Options: re Replace: o (Build) : parserr make Esc = Esc - . .. o "ansi" (Esc X mode ansi). (escape sequences) . 'ls' . o (syntax) : "ansi" (^T Y ansi). ANSI . o . . o ioctl TIOCSSIZE TIOCSWINSZ . . JOE ( / ) . "parserr" . : file.name line-number : '/' '.' '-' . '.' . (:) . . "gparse" "grep -n" "find" . filename filename: filename:line-number: JOE : o / Esc - Esc = o 'e'. o "release". Esc Space ( 'jump') . 'jump' grep/find 'parserr' . Grep-find (prompt) Esc G . : 'grep -n fred *.c'. 'fred' *.c . '-n' . Esc Space . Esc = Esc - . (Compile) Esc C . ( "make -w"). . . '-w' "make" . : make[1]: Entering directory `/home/jhallen/joe-editor-mercurial/joe' Esc Space . Esc = Esc - . (Syntax highlighting) ^T H . ^T Y . Tab . JOE . /etc/joe/ftyperc . /usr/share/joe/syntax/ . JOE (How JOE syntax highlighting works) c.jsf http://joe-editor.hg.sourceforge.net/hgweb/joe-editor/joe-editor/file/tip/syntax/c.jsf.in . ( << >> . NFA ). : : name\ . color-name\ ( ). context\ JOE . JOE . highlighter_context . ftyperc . : o comment . : /* comment */ o string . : "string" 'c' 'string' . recolor=-N recolormark . . () . : [