[MacPorts] #25968: MacPorts bash completion leaves tty echo off after tail -f

MacPorts noreply at macports.org
Thu Aug 5 19:57:42 PDT 2010


#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


More information about the macports-tickets mailing list