3 ms·
JOE has pop-up terminal emulators: hit F1 - F4 to bring up one of four terminals, or flip between them (like Alt-Fn on Linux). It's nice, you don't have to exi
by jhallenworld 11y ago
JOE has pop-up terminal emulators: hit F1 - F4 to bring up one of four terminals, or flip between them (like Alt-Fn on Linux). It's nice, you don't have to exit the editor to read a man page. But there is more...
JOE tracks the current directory of each of these emulators, so they are great for navigation: use cd and grep to find something to edit, then type 'joe filename' within the terminal emulator to replace the terminal emulator with the requested file.
Also you can play games with regions and the compiler and grep parsers. This, from one of the terminal emulators:
parse grep -n main *.c
will find all of the .c files containing main, mark the grep command's output as a region, and use the editor's grep parser to load the list of file locations into the editor. So then you can step forwards or backwards through the locations with Esc = and Esc - as you would step through compiler error messages.
(Use 'parserr' instead of 'parse' to parse compiler error messages: type 'parserr make')
You can control the editor by writing programs which send editor macros to JOE: just echo Esc { macro } to the editor. JOE runs a shell startup file /etc/joe/shell.sh to provide some aliases. 'joe' and 'parse' are two of the aliases from shell.sh.
- CaptSpify 11y agolink?
- jhallenworld 11y agohttps://sourceforge.net/p/joe-editor/wiki/Home/ https://sourceforge.net/p/joe-editor/wiki/Home/ This part of the manual talks about the shell windows: https://sourceforge.net/p/joe-editor/mercurial/ci/default/tree/docs/man.md#pop-up-shell-windows https://sourceforge.net/p/joe-editor/mercurial/ci/default/tr... (BTW, I recently found an issue with installation on OS X: use "LC_ALL=C make install" to make sed happy.)