Could someone explain this to me I installed NetBeans in /opt/Netbeans. I run it with /opt/NetBeans/bin/runide.sh. But I can't get bash to complete it. I type in /opt/NetBeans/bin/r and press tab like mad. Normally I'd get a list of matching names, but here I get nothing. If I continue typing "unide.sh" and press enter, it starts up as it should. I have full permissions on every directory in the path to the shell script. I also installed Forte in /opt/forte_jdk/. I run it with /opt/forte_jdk/forte4j/bin/runide.sh. If I type /opt/forte_jdk/forte4j/bin/r and press tab it completes. So my question is: why does it complete in the second case but not in the first. Any hints at all? Anders
On Sunday 08 September 2002 23.11, Anders Johansson wrote: but I forgot to mention I use bash and I haven't touched the default SuSE complete.bash or anything else that I can think of as being related to this.
Anders Johansson wrote:
Could someone explain this to me
I installed NetBeans in /opt/Netbeans. I run it with /opt/NetBeans/bin/runide.sh. But I can't get bash to complete it. I type in /opt/NetBeans/bin/r and press tab like mad. Normally I'd get a list of matching names, but here I get nothing. If I continue typing "unide.sh" and press enter, it starts up as it should. I have full permissions on every directory in the path to the shell script.
Is /opt/NetBeans/bin/runide.sh executable? I've occasionally found this problem with files that should be executable but aren't. JDL -- Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
On Monday 09 September 2002 09.31, John Lamb wrote:
Anders Johansson wrote:
Could someone explain this to me
I installed NetBeans in /opt/Netbeans. I run it with /opt/NetBeans/bin/runide.sh. But I can't get bash to complete it. I type in /opt/NetBeans/bin/r and press tab like mad. Normally I'd get a list of matching names, but here I get nothing. If I continue typing "unide.sh" and press enter, it starts up as it should. I have full permissions on every directory in the path to the shell script.
Is /opt/NetBeans/bin/runide.sh executable? I've occasionally found this problem with files that should be executable but aren't.
Yes, if I type in the whole path it runs without problems. And the NetBeans installer is clinically insane, it set permissions 777 on every directory, so I'm fairly sure it's not a permissions problem :) //Anders
On Mon, Sep 09, 2002 at 08:47:45AM +0200, Anders Johansson wrote:
On Monday 09 September 2002 09.31, John Lamb wrote:
Anders Johansson wrote:
Could someone explain this to me
I installed NetBeans in /opt/Netbeans. I run it with /opt/NetBeans/bin/runide.sh. But I can't get bash to complete it. I type in /opt/NetBeans/bin/r and press tab like mad. Normally I'd get a list of matching names, but here I get nothing. If I continue typing "unide.sh" and press enter, it starts up as it should. I have full permissions on every directory in the path to the shell script.
Is /opt/NetBeans/bin/runide.sh executable? I've occasionally found this problem with files that should be executable but aren't.
Yes, if I type in the whole path it runs without problems. And the NetBeans installer is clinically insane, it set permissions 777 on every directory, so I'm fairly sure it's not a permissions problem :)
Maybe narrowing down could shed some light? At what point in the dir structure does completion stop working? Just a thought... Jon Clausen
On Monday 09 September 2002 09.02, Jon Clausen wrote:
Maybe narrowing down could shed some light?
At what point in the dir structure does completion stop working?
/o<tab> completes to /opt/ /opt/N<tab> completes to /opt/NetBeans/ /opt/NetBeans/bi<tab> completes to /opt/NetBeans/bin/ (yeah, I know, but it shows completion works) /opt/NetBeans/bin/<tab><tab> only lists the subdirectories, not the two executable shell scripts in that directory. //Anders
On Monday 09 September 2002 09.10, Anders Johansson wrote:
On Monday 09 September 2002 09.02, Jon Clausen wrote:
Maybe narrowing down could shed some light?
At what point in the dir structure does completion stop working?
/o<tab> completes to /opt/ /opt/N<tab> completes to /opt/NetBeans/ /opt/NetBeans/bi<tab> completes to /opt/NetBeans/bin/ (yeah, I know, but it shows completion works) /opt/NetBeans/bin/<tab><tab> only lists the subdirectories, not the two executable shell scripts in that directory.
Hm. I know what it is, though I still don't understand why. In the above I called the directory NetBeans because I couldn't be bothered to type the whole name, which is "NetBeans IDE 3.4". On a hunch I tried renaming it to Netbeans, and then completion worked. I renamed it back to "NetBeans IDE 3.4" and completion stopped working again. Completion worked on the "bin" subdirectory. Completion worked if I preceded the path with "ls". After a bit more experimentation it looks like completion for executables fails if there's a space in a dir name in the path, although completion for anything else seems to work. It almost has to be a bug. //Anders
On Monday 09 September 2002 14:47, Anders Johansson wrote:
Yes, if I type in the whole path it runs without problems. And the NetBeans installer is clinically insane, it set permissions 777 on every directory,
Side note: I'm using version 3.4, and the permissions are ok (not 777). ls -alR /opt/netbeans | grep rwxrwxrwx produces nothing. Regards, Verdi
//Anders
On Monday 09 September 2002 10.37, Verdi March wrote:
Side note: I'm using version 3.4, and the permissions are ok (not 777). ls -alR /opt/netbeans | grep rwxrwxrwx produces nothing.
Are you using NetBeans IDE or NetBeans Base? I installed both, Base got OK permissions, IDE got the 777s //Anders
participants (4)
-
Anders Johansson
-
John Lamb
-
Jon Clausen
-
Verdi March