#29534: Use rlwrap if available for oracle backend dbshell -------------------------------------+------------------------------------- Reporter: Dan Davis | Owner: Dan Davis Type: New feature | Status: assigned Component: Core (Management | Version: 1.11 commands) | Severity: Normal | Resolution: Keywords: | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Dan Davis): Having worked on this briefly, I'm not really sure whether it is a good idea to support calling rlwrap if it is installed by hand - in that case, you can subclass the backend. Both on CentOS 6, CentOS 7, and Ubuntu 16.04, the path to rlwrap is /usr/bin/rlwrap if it has been installed as a package. So, the question is whether it is better to look for it in the path with shutil.which('rlwrap'), or whether it is better to only do this when it is "properly" installed in /usr/bin/rlwrap. I guess I should then check OS X, because there it may go elsewhere. -- Ticket URL: <https://code.djangoproject.com/ticket/29534#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.86261394f822f9ef98dfec39ab915950%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.