shell should not depend on readline
Bug #719075 reported by
Martin Packman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BzrTools |
Fix Released
|
Undecided
|
Martin Packman |
Bug Description
The readline module is unix only. However, the cmd module that shell is based on carefully supports configurations where readline is not available. In bug 267674 the all-in-one windows installers had pyreadline added just so shell would work, this doesn't cover alternative installation methods.
Looking at the source, it seems that readline is used to provide:
1) History
2) Autocompletion
My shell provides history anyway, and path completion as an option, readline is mostly redundant and feels alien.
Related branches
lp://qastaging/~gz/bzrtools/shell_without_readline_719075
- Aaron Bentley: Needs Fixing
-
Diff: 39 lines (+13/-6)1 file modifiedshell.py (+13/-6)
Changed in bzrtools: | |
assignee: | nobody → Martin [gz] (gz) |
status: | New → Fix Released |
status: | Fix Released → Fix Committed |
Changed in bzrtools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11-02-14 06:44 PM, Martin [gz] wrote:
> My shell provides history anyway, and path completion as an option,
> readline is mostly redundant and feels alien.
If you're using "bzr shell", then your own shell's facilities are not
relevant. Why do you mention them?
Aaron enigmail. mozdev. org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk1 ZxF8ACgkQ0F+ nu1YWqI1AFgCeLz D3HFMUWrqbugqJd fcS+qbo y8Gup3xBJ4F7VJF yE
idwAn3Qg6CpcI6e
=3jp3
-----END PGP SIGNATURE-----