This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

CLI autocomplete

Hey. Has anybody played with autocomplete for command line interface. I like it alot and it is very helpfull. Now a autocomplete would be cool!

Here is what comes to mind:

  • key as arrows and tab should be treated as return with the same text written again.

  • when is pressed we should compare our last argument with some kind of list.

  • when up and down arrows are pressed we should also go through some history list. I think 5 or 10 are enough.

Parents Reply
  • So it will be easy from here to make it working as you expect :) My recommendation is to do following in case of RTT:

    • open connection using JLink.exe (not JLink viewer!)
    • as terminal please use Putty. It is the only terminal I found which can be easly configured to handle VT100 escape codes. Mandatory Putty configuration:
    • inside Terminal->Line discipline options-> Local echo and local line editiong set to: "Force off"
    • Terminal->Keybord: you shall have set: Control-H, rxvt, SCO, Normal, Normal
Children
No Data
Related