Skip to content

CCON 1.2.7 — the configuration release

Latest

Choose a tag to compare

@creep-ltx creep-ltx released this 11 Aug 19:45
· 24 commits to main since this release

CCON: gains a defaults file, so the options you always want no longer have to be retyped on every open string. It is entirely optional — a missing file is not an error and nothing changes without one — and it introduced no second parser and no second vocabulary, because every key in it is an ordinary open-string option.

What changed

  • A defaults file, L:ccon.cfg — colours, scrollback depth, font, where the window opens, its title, even the AppIcon it shows while iconified. One rule decides who wins: built-in default < L:ccon.cfg < the open string, so the file sets what you usually want and any single window can still say otherwise. Comments with ; or #, KEY=value a line, and a key CCON: doesn't recognise is ignored — which is what lets an older handler read a newer file. Read once per window as it opens, so edits take effect on the next window with no reboot.
  • Named [sections] — a profile a window asks for by name (newshell CCON:CONFIGtall), stating only what it changes, or DEFAULTS to ignore the file altogether for a script that can't know what's in somebody else's config. Anything written before the first [name] belongs to [DEFAULT], so a flat file with no sections is perfectly valid.
  • New keys — the window's edges (LEFT/TOP/RIGHT/BOTTOM, where the number is the edge and -1 fills the screen), TEXT as a clearer name for PEN, TITLE= and ICON=, and DIRS/HIDDEN/GHOST to pin the menu colours by hand. Every switch can now also be spoken the other way round (BORDER, DRAG, ACTIVE, NOWAIT, …), because a setting made for every window in the file has to be takeable back by one window's open string.
  • Tab completes device namesdu<Tab> reaches DUMP:. Devices, volumes and assigns all appear, complete with their colon and no trailing space so you can type straight on into the path, and they're offered alongside what the current directory holds rather than instead of it.
  • The completion menu walks — Left and Right by one entry, Up and Down by a row, wrapping within the column. Esc now aborts: the word goes back to what it was when the menu opened, so trying candidates costs nothing. Ctrl and Shift arrows keep their usual scrollback meanings.
  • Menu colours come from your screen — fixed pen numbers read wrong on a CyberGraphX screen, wrong again on a dark terminal palette, and wrong a third time on the boot shell, where the nearest pen to the midpoint between background and text is the directory blue, so hidden entries and directories rendered identically. Directories now follow the screen's own fill-pen role and the hidden class is chosen by scanning the palette for a pen that stays readable against the background while still reading as dimmer than the text.
  • Fixed: resizing a window with the completion menu open no longer leaves the frame damaged behind it.

Built as beta ladder 1.2.7b4–b16, every one boot-verified before the next, with a seventh source audit over the campaign before release. Full details in the changelog.

Download: ltx-cc127.lha (attached) — extract on the Amiga, copy L/ccon-handler and Devs/CCON-mountlist over SYS:, then Mount CCON: FROM DEVS:CCON-mountlist and NewShell CCON:. For the defaults file, copy L/ccon.cfg-example L:ccon.cfg — note the rename: under its shipped name the handler ignores it, so unpacking an upgrade over an existing install can never overwrite a config you have already written. Full installation and handbook in CCon.doc inside the archive.