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

Re: XyScript v0.1.6 is here!



That works beautifully Carl. Thanks . . . FW

On Thu, Oct 15, 2026 at 6:14 PM Carl Distefano <dmarc-noreply@xxxxxxxxxxxxx> wrote:
Reply to note from Fred Weiner <dmarc-noreply@xxxxxxxxxxxxx> Thu, 15 Oct
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