[Date Prev][Date Next][Subject Prev][Subject Next][Date Index][Subject Index]

Re: XyScript v0.1.6 is here!



Reply to note from Fred Weiner <dmarc-noreply@xxxxxxxxxxxxx> Thu, 15 Oct 2026 13:36:44 -0700

Fred,

> Regarding bringing the command history up with the up-arrow key, is 
> it possible to add the "hint" function to this capacity? 

Yes. Best done via the KBD file, with either or both of these assignments:

; Up arrow:
nn=IF $TX;LU;ELSE;IF $CM;HI $CM;ELSE;HI;EI;EI

; Down arrow:
nn=IF $TX;LD;ELSE;IF $CM;HI $CM;ELSE;HI;EI;EI

How it works: If the cursor is on the CMline and the CMline is empty, Up/Down gives you the full
command history. If there is a "hint" (substring) on the CMline, Up/Down gives you only
commands containing the hint.

-- 
Carl Distefano
cld@xxxxxxxxxx