LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-03-2010, 05:02 PM   #1
lopid
Member
 
Registered: Jun 2008
Posts: 107

Rep: Reputation: Disabled
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?
 
Old 03-05-2010, 04:47 AM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,223

Rep: Reputation: 187Reputation: 187
is this why some of my slackbuilds aren't finishing?

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

Last edited by Daedra; 03-05-2010 at 04:52 AM.
 
Old 03-05-2010, 09:40 AM   #3
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
Quote:
Originally Posted by Daedra View Post
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.
 
Old 03-05-2010, 10:00 AM   #4
GazL
Senior Member
 
Registered: May 2008
Posts: 3,475

Rep: Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014
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.
 
Old 03-05-2010, 10:15 AM   #5
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
Quote:
Originally Posted by lopid View Post
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?
 
Old 03-05-2010, 02:59 PM   #6
vbatts
Member
 
Registered: Jun 2005
Location: Raleigh, NC, USA
Distribution: slackware
Posts: 69

Rep: Reputation: 26
Quote:
Originally Posted by lopid View Post
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,
 
Old 03-06-2010, 10:29 AM   #7
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
From the latest -current changelog...
Quote:
extra/bash-completion/bash-completion-1.1-noarch-2.txz: Rebuilt.
Patched to recognize bash-4.
 
Old 03-06-2010, 11:03 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,594

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
it's not yet on the repository
probably Pat forgot to include them
 
Old 03-06-2010, 01:38 PM   #9
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
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

Last edited by sahko; 03-06-2010 at 01:55 PM.
 
Old 03-06-2010, 02:07 PM   #10
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,240

Rep: Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570Reputation: 570
Quote:
Originally Posted by sahko View Post
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
 
Old 03-06-2010, 02:27 PM   #11
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by hitest View Post
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.
 
Old 03-06-2010, 07:28 PM   #12
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,594

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
yes, i have just rsynced and it's there now
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: DistroWatch Weekly, 1 March 2010 LXer Syndicated Linux News 0 03-01-2010 11:40 PM
Massive Ubuntu Installfest for Schools... We need your help! (March 1st) andrewfife Ubuntu 1 02-17-2008 12:47 PM
Massive F/OSS Installfest for Schools on Recycled Computers (March 1st) andrewfife Linux - News 0 02-15-2008 01:53 AM
-current (march 19 '07) + NVIDIA driver. truthfatal Slackware 1 03-20-2007 09:01 AM
xterm and bash completion athanatos Slackware 12 07-22-2006 01:47 PM


All times are GMT -5. The time now is 05:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration