LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   1st March 2010 -current - bash completion (http://www.linuxquestions.org/questions/slackware-14/1st-march-2010-current-bash-completion-792976/)

lopid 03-03-2010 04:02 PM

1st March 2010 -current - bash completion
 
bash-completion doesn't work in the current -current because /etc/profile.d/bash_completion.sh only sources /etc/bash_completion for versions 2 and 3 of bash, and bash has just been updated to version 4. One must add in support for it into that file.

Where is the best place to tell this to the maintainers?

Daedra 03-05-2010 03:47 AM

is this why some of my slackbuilds aren't finishing?

fixed - found this
http://lists.slackbuilds.org/piperma...ch/005316.html

rmjohnso 03-05-2010 08:40 AM

Quote:

Originally Posted by Daedra (Post 3886692)
is this why some of my slackbuilds aren't finishing?

fixed - found this
http://lists.slackbuilds.org/piperma...ch/005316.html

I was having the same problems with my SlackBuild scripts. I just downgraded bash back to bash-3.1, which is what Slackware 13.0 ships with. I haven't seen anything (so far) that requires bash-4, so I'm content to stay with 3.1.

GazL 03-05-2010 09:00 AM

Personally, I think the bash v4 behaviour is the more correct one, and the new behaviour brings it inline with other shells such as ksh. It'll take slackbuild authors a while to adjust to the new scheme that's all.

Anyway, I don't actually think that this is the issue the OP was posting about.

rmjohnso 03-05-2010 09:15 AM

Quote:

Originally Posted by lopid (Post 3884555)
bash-completion doesn't work in the current -current because /etc/profile.d/bash_completion.sh only sources /etc/bash_completion for versions 2 and 3 of bash, and bash has just been updated to version 4. One must add in support for it into that file.

Where is the best place to tell this to the maintainers?

Have you installed the bash-completion package in /extra?

vbatts 03-05-2010 01:59 PM

Quote:

Originally Posted by lopid (Post 3884555)
bash-completion doesn't work in the current -current because /etc/profile.d/bash_completion.sh only sources /etc/bash_completion for versions 2 and 3 of bash, and bash has just been updated to version 4. One must add in support for it into that file.

Where is the best place to tell this to the maintainers?

thanks for the report.

Take care,

rmjohnso 03-06-2010 09:29 AM

From the latest -current changelog...
Quote:

extra/bash-completion/bash-completion-1.1-noarch-2.txz: Rebuilt.
Patched to recognize bash-4.

willysr 03-06-2010 10:03 AM

it's not yet on the repository :)
probably Pat forgot to include them

sahko 03-06-2010 12:38 PM

Bash-completion is there but only for x86_64. Since its a -noarch package you might as well use it on 32bit as well.

edit: Regarding SlackBuilds read the following: http://slackbuilds.org/faq/#bash4

hitest 03-06-2010 01:07 PM

Quote:

Originally Posted by sahko (Post 3888407)
Bash-completion is there but only for x86_64. Since its a -noarch package you might as well use it on 32bit as well.

edit: Regarding SlackBuilds read the following: http://slackbuilds.org/faq/#bash4

Bash completion is available today for x86 -32 bit as well.

Quote:

extra/bash-completion/bash-completion-1.1-noarch-2.txz: Rebuilt.
Patched to recognize bash-4.
http://www.slackware.com/changelog/current.php?cpu=i386

sahko 03-06-2010 01:27 PM

Quote:

Originally Posted by hitest (Post 3888433)
Bash completion is available today for x86 -32 bit as well.



http://www.slackware.com/changelog/current.php?cpu=i386

Some people reported its not in the mirrors in 32bit extra/ even in ftp.slackware.com.
But just checked and it is.

willysr 03-06-2010 06:28 PM

yes, i have just rsynced and it's there now :)


All times are GMT -5. The time now is 07:50 PM.