Readline support: Phase 2
Final Release Note
Description
#88 (closed) and associated MR !1382 (merged) resulted in the addition of Readline to YottaDB direct mode, MUPIP, DSE and LKE.
The following was not implemented and is documented here to be implemented in the next phase:
- DSE/LKE/MUPIP: No history listing (the "rec" command)
- DSE/LKE/MUPIP: No history expansion
- DSE/LKE/MUPIP: Tab completion (see https://thoughtbot.com/blog/tab-completion-in-gnu-readline).
- Direct mode: Implement the Alternate-Interface API for readline, which will allow us to read character by character, not line by line as is the case now. This will enable us to fix these issues:
- Direct mode: Handle alternate terminators (YottaDB has the ability to ask direct mode to terminate reads using a non-traditional terminator (e.g. the character 0) rather that the traditional line ending characters (CR, LF, FF, and their UTF-8 variants) using the TERMINATOR device parameter.
- Direct mode: Wrap on device width (set using WIDTH device parameter).
- Direct mode: Interrupt (SIGUSR1) turns off line editing on the line being entered.
- Direct mode: Rollback the sigsetjmp code as it won't be needed anymore.
- READ command readline support
- Also re-enable
mupip intrpt
on READ command in case ofydb_readline=1
. See !1382 (comment 1739393549) for details.
- Also re-enable
- Debug (with
-version
): Ability to print where the readline files are - Debug (with
-version
): Ability to print readline version - Enabled bracketed paste as long as the test system can handle it.
Draft Release Note
Edited by Narayanan Iyer