[MacPorts] #25968: MacPorts bash completion leaves tty echo off after tail -f
#25968: MacPorts bash completion leaves tty echo off after tail -f -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: -----------------------------------+---------------------------------------- Enable the following in your bashrc: {{{ if [ "${BASH-no}" != "no" ]; then if [ -f /opt/local/etc/bash_completion ]; then . /opt/local/etc/bash_completion fi fi }}} Run the following using tab-completion to complete the path to system.log: {{{ $ tail -f /var/log/system.log }}} Hit ^c to end the tail. You will notice that tty echo is off at this point. -- Ticket URL: <http://trac.macports.org/ticket/25968> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25968: MacPorts bash completion leaves tty echo off after tail -f -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: -----------------------------------+---------------------------------------- Changes (by jeremyhu@…): * owner: macports-tickets@… => raimue@… Old description:
Enable the following in your bashrc: {{{ if [ "${BASH-no}" != "no" ]; then if [ -f /opt/local/etc/bash_completion ]; then . /opt/local/etc/bash_completion fi fi }}}
Run the following using tab-completion to complete the path to system.log: {{{ $ tail -f /var/log/system.log }}}
Hit ^c to end the tail.
You will notice that tty echo is off at this point.
New description: Enable the following in your bashrc: {{{ if [ "${BASH-no}" != "no" ]; then if [ -f /opt/local/etc/bash_completion ]; then . /opt/local/etc/bash_completion fi fi }}} Run the following using tab-completion to complete the path to system.log: {{{ $ tail -f /var/log/system.log }}} Hit control-c to end the tail. You will notice that tty echo is off at this point. -- -- Ticket URL: <http://trac.macports.org/ticket/25968#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25968: MacPorts bash completion leaves tty echo off after tail -f -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: bash-completion -----------------------------------+---------------------------------------- Changes (by jeremyhu@…): * port: => bash-completion Comment: Note that this happens with no scripts in /opt/local/etc/bash_completion.d -- Ticket URL: <http://trac.macports.org/ticket/25968#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25968: MacPorts bash completion leaves tty echo off after tail -f -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: bash-completion -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): This happens with /bin/bash, but it works fine with /opt/local/bin/bash -- Ticket URL: <http://trac.macports.org/ticket/25968#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25968: MacPorts bash completion leaves tty echo off after tail -f -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: bash-completion -----------------------------------+---------------------------------------- Changes (by raimue@…): * status: new => assigned Comment: I was able to reproduce this, yet I don't see anything where bash- completion would set flags on the tty. I suspect this is a readline bug, but can't confirm it yet. -- Ticket URL: <http://trac.macports.org/ticket/25968#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25968: MacPorts bash completion leaves tty echo off after tail -f -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: bash-completion -----------------------------------+---------------------------------------- Comment(by drew@…): I have found this same issue to exist with the stock bash and bash- completion as provided by Homebrew (http://mxcl.github.com/homebrew/). -- Ticket URL: <https://trac.macports.org/ticket/25968#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25968: MacPorts bash completion leaves tty echo off after tail -f -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: bash-completion -----------------------------------+---------------------------------------- Comment(by jeremyhu@…): Right, it's an issue with bash-completion rather than bash itself. -- Ticket URL: <https://trac.macports.org/ticket/25968#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25968: MacPorts bash completion leaves tty echo off after tail -f ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: bash-completion | ------------------------------------+--------------------------------------- Changes (by raimue@…): * status: assigned => closed * resolution: => fixed Comment: I am unable to reproduce this issue with /bin/bash and bash-completion @1.3_0. -- Ticket URL: <https://trac.macports.org/ticket/25968#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts