CCON: - a console handler with output scrollback for AmigaOS.
=================================================================
WHAT IT IS
A mounted console handler - what CON:, KingCON and ViNCEd are -
built around the one feature the stock 3.2 console cannot be
given from outside: output scrollback. 512 lines of history
behind every window by default (up to 5000), and a line editor
that brings the modern shell feel to the Amiga prompt.
FEATURES
- Output scrollback: Shift/Ctrl+arrows and the mouse wheel,
working in raw mode too for a client that isn't fullscreen
(More/Ed refuse it on their own alternate screen, xterm
manners); Ctrl+R searches it once you're scrolled back (same
key as history search, retargeted) - matches shown inverted
AND land on your prompt live, same as history search already
does; Return/Tab/typing hand the live prompt straight back
with the found line ready to edit or run, n/N re-walk the
same matches if you scroll back again later
- A window per open, stock CON: fashion; the full stock option
set (AUTO, WAIT, SCREEN, WINDOW0xADDR, NOBORDER, ...) per window
- Hosts real AmigaShells: NewShell CCON:
- fish-style autosuggestions: history's continuation as grey
ghost text; Right accepts, Ctrl+Right/Tab take it word by word
- zsh-style Tab completion with a cycling candidate menu
- bash-style Ctrl+R incremental history search - the prompt
becomes an inverse (search: ...) banner and is restored
pixel-perfect from the scrollback model afterwards
- readline line surgery: Ctrl+W/U/K, and Ctrl+L clearing into
HISTORY (Shift+Up undoes the clear)
- Copy & paste with the stock console family, both directions
(IFF FTXT); drag, double-click word, triple-click line;
output freezes under a drag like stock; RAMIGA-V pastes
safely - one ordinary-looking line at a time, a grey hint
shows how many more are queued, Enter runs one and loads the
next, Esc cancels the rest (RAMIGA+SHIFT+V or PASTEEXEC for
the old instant-run way)
- SGR colour with the ANSI/Workbench pen separation: ls is
genuinely blue everywhere, Ed is never red - plus real
italic/underline/inverse soft styles
- FONT and LINES per window: pick your own font/size (loaded
from disk if needed) or scrollback depth; unset FONT follows
your Font Prefs default font instead of a hardcoded topaz 8
- Fullscreen programs work: Ed with working MENUS, block
cursor, resize re-measure, and proper whole-view scrolling
(ANSI Scroll Up/Down honoured, not just the one changed line);
More with real timed paging, and it restores your scrollback
transcript on exit exactly as xterm's alternate screen does -
paged content never enters your history
- xterm-style window titles (OSC) that survive scrollback
- CRAW: - the same handler as a raw-from-byte-one device
- Swedish (and other) dead-key composition survives raw mode
- can replace CON:/RAW: system-wide, KingCON style (Assign
DISMOUNT + Mount FROM the same mountlist) - experimental,
see ccon.doc section 14
LIMITATIONS
- ~120K of model per window at 80 columns and the default 512
lines (LINES=n scales it, up to 5000)
- Borrowed windows (WINDOW0xADDR) keep their owner's font
- CSI K erases to black under colour
- Completion: no quoted words, one menu page of 80
- SMART/SIMPLE, ALT, ICONIFY not implemented
INSTALL
copy L/ccon-handler L:
copy DEVS/#? DEVS:
Mount CCON: FROM DEVS:CCON-mountlist
Mount CRAW: FROM DEVS:CCON-mountlist
NewShell CCON:
The drawers mirror SYS:. Put the Mounts in S:User-Startup to
keep them. After updating the handler: reboot, not re-Mount.
CCON: is part of the LTX AmigaTools collection.
|