You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For auto-completion, command history and key bindings, DTSh relies on the GNU Readline (libreadline) variant of the standard Python readlineAPI.
On GNU Linux, Python should load libreadline by default.
On non-GNU POSIX systems, where Python might prefer the Editlib (libedit) library, the GNU Readline variant of readline is available as a standalone module (gnureadline): on macOS, it's automatically installed as a dependency, and DTSh will substitute the readline module of the Python standard library with this implementation.
Important
On non-POSIX systems, there's basically no sane and straight forward way to build and distribute the GNU Readline library: on Windows, Python simply gave up and does no longer implement the readline module in the standard library (see e.g. There's no readline module on Windows Python (cmd.Cmd) for some historical context).
As a consequence, on Windows the GNU Readline integration will very likely be disabled, resulting in a degraded user experience, especially the lack of command history and auto-completion.
Alternatives to proper GNU Readline (pyreadline3, Prompt Toolkit) have been investigated, but all introduce other architectural issues.
Although DTSh may eventually work around this limitation, this is clearly not a priority at the moment.
For auto-completion, command history and key bindings, DTSh relies on the GNU Readline (libreadline) variant of the standard Python
readlineAPI.On GNU Linux, Python should load libreadline by default.
On non-GNU POSIX systems, where Python might prefer the Editlib (libedit) library, the GNU Readline variant of
readlineis available as a standalone module (gnureadline): on macOS, it's automatically installed as a dependency, and DTSh will substitute thereadlinemodule of the Python standard library with this implementation.Important
On non-POSIX systems, there's basically no sane and straight forward way to build and distribute the GNU Readline library: on Windows, Python simply gave up and does no longer implement the
readlinemodule in the standard library (see e.g. There's no readline module on Windows Python (cmd.Cmd) for some historical context).As a consequence, on Windows the GNU Readline integration will very likely be disabled, resulting in a degraded user experience, especially the lack of command history and auto-completion.
Alternatives to proper GNU Readline (pyreadline3, Prompt Toolkit) have been investigated, but all introduce other architectural issues.
Although DTSh may eventually work around this limitation, this is clearly not a priority at the moment.
Thanks.