Slackware :: Bash-completion-1.3-noarch-1 Causes Xorg Failure?

Feb 16, 2011

/etc/bash_completion.d/slapt has a syntax error that causes x to fail to load. I had to move the file to be able to run x. Here is the offending file:

[URL]

View 12 Replies


ADVERTISEMENT

Ubuntu :: Bash-completion + Mount = Failure To Complete Directories?

May 27, 2011

I've spent some time searching for answers to this and I haven't found much at all.Please feel free to post pointers to other threads that discuss this particular problem, if you find any.The problem is that in bash I want to mount an iso file to inspect the contents with the command:Code:sudo mount myCD.iso CDMount -o loopThe command works fine, but pressing tab to complete either the iso filename or the CDMount directory does not work. The completion suggestions I get are existing mountpoints which The completion suggestions should include the files and directories in the current directory. This worked with Ubuntu 10.04 and not with 11.04.

View 1 Replies View Related

General :: Make Zsh Completion Behave Like Bash Completion?

Jun 2, 2010

I switched to zsh, but I dislike the completion. If I have 20 files, each with a shared prefix, on pressing tab, zsh will fully complete the first file, then continue going through the list with each press of tab. If I want one near the end, I would have to press tab many times.

In bash, this was simple - press tab and I would get the prefix. If I continued typing (and pressing tab), bash would complete as far as it could be certain of. I find this behavior to be much more intuitive but prefer the other features of zsh to bash.

Is there a way to get this style of completion? Google suggested setopt bash_autolist, but this had no effect for me (and no error message was printed upon starting my shell).

View 1 Replies View Related

Slackware :: Meaning Of -noarch- In The Name Of Some Slack Packages?

Feb 3, 2011

'-noarch-' is a substring in the name of some slack packages. E.g., bittorrent-4.4.0-noarch-2.tgz. What's the meaning.

View 8 Replies View Related

Fedora :: SSH Knowhost Bash Completion In F12?

Dec 10, 2009

New Fedora 12 install - I installed the bash_completion package, but it's not filling in knowhosts for ssh. It worked fine in Fedora 11. Is there something I've done wrong, or is this missing in F12?

View 6 Replies View Related

General :: Making Bash TAB Completion More Like Cmd.exe?

Dec 15, 2010

I wondered if theres a way to do rotational style completion in bash similar to the behavoir on cmd.exe, I've found it speeds me up in regard to entering commands

View 2 Replies View Related

Ubuntu :: No Bash Completion With Sudo?

Apr 29, 2010

Just installed 10.04 64bit and in gnome-terminal i have no bash completion when sudo is used.For example:apt- gives apt-getbut sudo apt- does nothing, i get no suggestions from the terminal.

View 6 Replies View Related

Software :: No Bash Completion With Apt In Su Session?

Mar 28, 2011

I have disabled root ssh logins for security. When I am logged in as a normal user over SSH and do a su into root the tab-completion stops working with apt. It still works when doing normal file-browsing, on the original user1, and it has worked previously when logged directly into root. How do I make it autocomplete again? I am using Debian Stable on a headless homeserver.

View 3 Replies View Related

Fedora :: Do Bash Completion Of Package Names In Yum?

Jul 12, 2011

Can fedora do bash completion of package names in yum?

View 4 Replies View Related

Ubuntu :: Bash Completion With Leading Wildcard?

Jul 17, 2010

Out of the box, Bash in 10.04 is configured such that it won't expand/complete parameters when there's a single match for a parameter with a leading wildcard. For example, if I have the following files in a directory:

Code:

ABC.bin
DEF.bin
GHI.bin

...and I type cp *E*, I expect to be able to press TAB and have Bash expand *E* to DEF.bin, since that's the only file in the directory with a capital E in its name.

(Note: if I actually submit the command with the wildcards in place, the correct file will be used then, but I don't get to see it beforehand.) I imagine there's something in /etc/bash_completion that's preventing this from working properly. Does anyone know what it is?

View 1 Replies View Related

Ubuntu :: Turn On Bash Smart Completion?

Aug 26, 2010

[URL]

Code:
#if [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
#fi

What versions of Ubuntu have this commented out? Every version I have used always has this uncommented.

View 1 Replies View Related

General :: Handling Wordbreaks In Bash Completion?

Feb 16, 2010

I am writing completion function for one PHP framework called symfony. It has command line interface with syntax:

Code:

symfony [options] [namespace:]action

I want to make action be autocompletable. The function is simplest so far:

Code:

function _symfony_commands()
{
[ -r "cache/completion/.sf" ] && cat cache/completion/.sf
}

[code]....

But, if there is : symbol which separate namespace from action problems coming:

symfony doct[TAB]
will be completed to
symfony doctrine:

But nothing happens if you want complete after : symbol. I've found out that for readline there is three words because it splits line with $COMP_WORDBREAKS

Code:

$ echo $COMP_WORDBREAKS
"'><=;|&(:

I played with $COMP_WORDS array and tried every thought I had to make it work, but failed.
What I should do to escape colon and make readline consider it as one word? Or there is way perhaps to workaround it?

View 2 Replies View Related

Software :: Bash Hostname Completion Not Working?

Nov 25, 2009

According to the Bash man pages, Quote: HOSTFILE Contains the name of a file in the same format as /etc/hosts that should be read when the shell needs to complete a hostname. The list of possible hostname completions may be changed while the shell is running; the next time hostname completion is attempted after the value is changed, bash adds the contents of the new file to the existing list. If HOSTFILE is set, but has no value, bash attempts to read /etc/hosts to obtain the list of possible hostname completions. When HOSTFILE is unset, the hostname list is cleared.

Here's the line in my .bashrc where HOSTFILE is set:

Code:

export HOSTFILE="~/.hosts"

I opened a new bash session, created ~/.hosts, filled it with the names of servers that I wanted to expand using tab completion. then typed

Code:

ssh p<tab><tab>

expecting to get a lists of all of the hosts in ~/.hosts starting with 'p'. Bash simply beeped at me twice.

I tried

Code:

$ shopt hostcomplete
hostcomplete on

Code:

ssh bchittenden@p<tab><tab>

same results.

[code].....

View 2 Replies View Related

General :: Bash - Get Colored Output When Using Tab Completion In A Terminal?

Feb 27, 2011

Is there a way to get colored output when using tab completion in a terminal? My colors are fine everywhere else so I know that I've enabled a color terminal successfully. Using bash in Ubuntu (10.10).

View 1 Replies View Related

General :: Tab-Completion In Bash Indexing System Folders?

Nov 15, 2010

tab-completion indexes system folders (like /usr/bin, /usr/local/bin)! so say i'm in a folder that has two files, 'text' and 'myprog', i type in an 'm' then tab, and i get hundreds of results including 'mysql', 'mysqlconfig', and others as im sure you can imagine. is there a way to set it to default or something else that will only make it index the current folder?

i tried changing my PATH variable so i could execute programs in the current directory without './' - what i added to PATH was ':.' at the end (apparently this is not the way to do it... :S). i tried resetting PATH various times ('unset PATH', 'PATH=$whatever...') but this has not fixed the problem. using 'unset PATH', of course, removes everything from PATH, which meant that functions (like 'ls') in /usr/bin and /usr/local/bin can't be found. obviously i want those to be found, but i would rather not tab through them!

View 2 Replies View Related

Programming :: Bash Checking For File Write Completion Before Acting?

Jan 20, 2011

I have a bash script that checks for contents in a folder every 15 seconds and then acts on it's contents. This works great for the average size file however on very large files it starts acting on the file before it's completely written. Is there a facility in bash shell to get a file complete signal or such? here is trigger to launch a larger script.

Code:

#!/bin/sh
while true
do
$HOME/bin/hpgl.sh >/dev/null 2>&1 &

[code].....

View 10 Replies View Related

Fedora Installation :: Xorg Failure On Bootup \ Can't Use Ctrl-Alt -backspace To Killl X?

Nov 6, 2010

After loading all the apps I use last night with a working FC14 x86_64, I powered up this morning and nothing happened after starting atd.1 try an alternat kernel same effectstart in init 1, OK go to init 3 OKran startx .. failedlook for xorg.conf.. no fileNow if Iwas still running mandriva , I would have typed mcc and bought up the control panel so I could have sorted out the Xorg problem, or tried. There really needs to be something like this.I found that gdm was not installed so installed it.It will now boot up to the login screnn, but wont accept my passwd.restart in init 3, login as root and add another user and set the password for that user.I also rest my passwd as welll.boot up again and get authentication failure on both users, and I cant login as root as someone removed that feature.

Also I can't use Ctrl-Alt -backspace to killl X so I have access to CLI so I can login there and run startx.I suspect several gnome packages have been removed/lost as I use lefthand mouse settings and the mostsetting are back to default.All I have is a live CD to gain access to the forum, and I only have one computer.There really needs to be a fallback to one of the smalll DMs on fedora so in situations like this you are nt forced to use CLI, thats if a new user would know how to access it. As there is no bootsplash, you have to already know to hit return and wait for the bootsplash.

IMO this a is a seriouss flaw, in what otherwise is a good OS.In the meantime I'll try and install XFCE to get X running, but I will need some help getting gnome back.I'll load gnome-panel and see if yum will pick up the rest as depemdencies.I hope this isn't a bug, as to lost the DM after the first machine power cycle is fairly drastic---------- Post added at 08:52 AM GMT ---------- Previous post was at 08:18 AM GMT ----------I resorted to yum install gnome-*which loaded 255 packages, including gnome-desktop, gnome-common, all the gnome applettsThis wasn't just one or two packages corupted, it was removal of the DM altogetherSimilar effect to running "rm -rf gnome-* "

View 7 Replies View Related

Slackware :: Difference Between Files (xorg.conf And Xorg.conf-vesa)?

Feb 16, 2011

1. What is the difference between files (xorg.conf and xorg.conf-vesa)

2. No matter how hard I try I can't change keyboard layout in xorg.conf-vesa (I change it in file ) but there is no actually anything changing, it starts to get annoying - for example - below goes my xorg.conf-vesa, if I uncomment and set line from

[Code]...

View 3 Replies View Related

Slackware :: Using The Default Xorg Server Without Using Xorgconfig In Slackware?

Jul 13, 2011

i can normally adjust the back light settings of my lap top by pressing fn and the up and down aarows. I am using the default xorg server without using xorgconfig in slackware, and it works perfect so far dispite this slight problem. When i do, do that key combo, (in kde) it does display the the meter of brightness, but i can't move the settings. I believe this may be an x issue, but not sure.

View 6 Replies View Related

Slackware :: Bash - Random Headers When Starting Bash In X?

Jan 13, 2011

I have searched and searched and maybe I don't know how to articulate this issue with out just posting the problem I'm having. Every time I bring up a terminal window I get the following "Header"

declare -x COLORTERM="gnome-terminal"
declare -x CPLUS_INCLUDE_PATH="/usr/lib64/qt/include"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-xSFd6zqrYQ,guid=dc5e07974559da016842742900000090"
declare -x DISPLAY=":0.0"

[Code]...

To be honest I cheated and used the .bashrc / .profile files from Ubuntu and all was working fine for a while now and it seems something changed to cause this... any ideas on why I am getting this? I checked my .bashrc and my /etc/profile and it doesn't look like anything is amiss..

View 3 Replies View Related

General :: Bash Variable Naming The Server - Monitor Trunk Failure?

May 30, 2010

I'm writing a script for asterisk to monitor trunk failure, i do a loop for every trunk it got nad would like to name variable like server1=, server2= naming the server upgoing as the trunk is. here is the scripts:

[Code]....

what i would like to do is name the variable server, username and status with the count variable, like this server$COUNT to have server1 when on trunk one, bu as soon as i add the $COUNT after the server, it seems to try to make it a command, it says that:

Code:
./test.sh: line 45: server1=74.63.41.218: command not found

View 7 Replies View Related

Slackware :: No More Xorg.conf?

Jun 2, 2010

Sorry if this was well covered here when most up-to-date Slackers moved to 13.0, but I have just jumped from 12.1 to 13.1. Generally very happy that I do not have to think about xorg.conf as I always found the structure of this conf file a tad confusing. However if I do need to (for example) change my video driver (I might for example want to try the nvidia driver from NVIDIA) or configure my touchpad - how do I do this ?

I understand that xorg.conf can still be created. If I do so, do I have to put all the stuff in that used to be there or can I just add the stuff I need to make the changes I am looking for?

View 4 Replies View Related

General :: Installed Noarch Rpm Isn't Working From CUI Or GUI?

Feb 22, 2010

I generated noarch rpm using alien for rapidsvn tar.gz file. After generating and installation of the rapidsvn rpm it isn't working for CUI or GUI. When I checked for rpm installation status using 'rpm -qa' it is showing as the rpm is installed. But no output of the installation

View 6 Replies View Related

Slackware :: No Xorg.conf.d Directory In 13.1?

Feb 20, 2011

I just did a clean install of 13.1 on one of my laptops and the scroll doesn't work on the synaptics touchpad. I've seen some comments about adding a file to the /etc/X11/xorg.conf.d/ directory. I don't have this directory. Is it ok to add this, or did I screw something up during the install. I did another 13.1 install about a week ago and it is also missing this directory. Is this just something in current and not in 13.1?

View 1 Replies View Related

Slackware :: 13 X64 Doesn't See Xorg.conf?

Apr 9, 2010

I have freshly installed Slackware 13 64-bit.

After messing around last time trying to compile fglrx for my ATi card, I now understand it uses a built in radeon driver.

My question is this: how do I get X to recoqnise my custom xorg.conf file? I dropped it in /etc/X11 but to no avail.

HAL does it great job - but I need my xorg.conf as I have dual monitors which HAL doesn't configure correctly (displays mirrored, not stretched).

View 14 Replies View Related

Slackware :: Steps Xorg Install New

Jan 21, 2010

I am new to Slackware/Linux and completed the install (Slackware 13 64-bit x86_64).Everything is running correctly.During the install I was asked if I wanted to install X-Windows and I declined.Now I want to install it.I downloaded xorg-server-1.6.3-x86_64-1.txz and installed it using slackpkg.It seemed to me to install very quickly. I see it in the list of installed packages now.What are the steps install a fresh X-Windows on Slackware if I did not pick it during install?

View 5 Replies View Related

Slackware :: TV - MONITOR 26 And Xorg.conf ?

Jun 9, 2011

I bought a very beaultiful pink tv-monitor 26", model LG26LED6500 for my daughter and I also intend to enjoy it setting up in my slackware 13.37. Then I use a VGA cable and 6600GT nvidia card, but now I'm having a doubt because there aren't vertical and horizontal frequencies specs in this manual. Only:

I did a xorg.conf using a vesa driver and kde screen output was a 1024x768 - 61hz.

If I try to use a nvidia driver and xorg.conf piece above X break down. If I use any manual frequency parameters X break down too.

1)What's the difference between CRT config and tv-monitor xorg?

2)Have I use strings modeline monitor and modes screen in this situation?

View 3 Replies View Related

Slackware :: Xorg Segmentation Fault?

Jul 3, 2010

I am using Slackware 13.1 and recently Xorg servercaused segmentation fault under KDE 4.4.3 twice. Here are listings from Xorg.log files

Code:
Backtrace:
0: X (xorg_backtrace+0x3b) [0x80a1e6b]

[code]....

View 4 Replies View Related

Fedora Installation :: The Automake16-1.6.3-14.noarch.rpm Cannot Be Opened

Mar 14, 2009

I have a server running Fedora 8 which I installed via the DVD that came with the book I am using as a learning aid. Anyway, I downloaded (via bit torrent) the Fedora 10 DVD and everything reported success, so I burned the DVD and booted the machine on which I want to install 10 (not my server).

Things were moving along fine until it started doing the actual install (partitioning etc. was complete). I had selected all three repositories. Somewhere in the middle of doing the install an error window opened with the following message "The Automake16-1.6.3-14.noarch.rpm.cannot be opened. This is due to a missing file, a corrupt package or corrupt media. verify your installation source. If you exit your system will be left in an inconsistent state that will likely require reinstallation."

It then gave me the choices of rebooting or ejecting. I took reboot which left me in text mode with a limited version of GRUB. So Thinking it might be a problem with the added repos I tried again this time taking just the default repo. Then I got the same error but having a problem with authconfig-gtk-5.4.4-1.fc10.i386.rpm.I again took the reboot option it restarted from the DVD to take me to the regualr start of installation.

So that leaves me with a nicely partitioned system but I don't know how much as been installed or what do I do to get it to install. I didn't have the startup test the disk per the online instructions. So after all this I did and errors were found. I had errors on two different disks, so now I'm going to try using CDs instead.

View 1 Replies View Related

Slackware :: Trackinstall Failure / Resolve This?

Jan 8, 2010

This post was originally placed in the src2pkg thread, just below.
But to avoid it being overlooked I am placing it in a new thread here.

I am using src2pkg v.2.0 with Slack 13.0 running kernel 2.6.29.6

In the past I used trackinstall to run 'make install' after configuration and compilation (using a makefile). Here's an example
of what happens when I use the current trackinstall that comes bundled
with src2pkg code...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved