A humble text editor for fox32os written in Jackal.
Hjkl can be invoked in the shell, like so:
0> 1:hjkl 0:startup.bat
The N:
syntax specifies the disk ID of the file or application, and can be elided if it is in the currently selected disk.
Hjkl is a non-modal editor, which means typing a character immediately inserts that character at the cursor, and other commands require special keys or keybinds to perform. We use C-p
to represent holding the Ctrl key while pressing the P key.
C-p
orUp
: move cursor upC-n
orDown
: move cursor downC-f
orRight
: move cursor rightC-b
orLeft
: move cursor leftC-a
: move cursor to start of lineC-e
: move cursor to end of lineC-u
: scroll upBackspace
: delete character before cursorC-d
: delete character at cursorC-s
: save fileC-c
: quit
Hjkl can be built with Make, requires variables JACKAL
(Jackal compiler), XRASM
(assembler), XRLINK
(linker), and RTLLIB
(object file of Jackal's standard library), all from the XR/station SDK. The run
convenience recipe also requires variables RYFS
, FOX32
, and FOX32OS
.