[opensuse-factory] sax2 and command not found
package sax2-tools is installed # sax2 If 'sax2' is not a typo... # cnf sax2 sax2: command not found # sax2-tools If 'sax2' is not a typo... # cnf sax2-tools sax2: command not found # man sax2 ... No manual entry for sax2 # man sax2-tools ... No manual entry for sax2 What is this convoluted new command not found behavior - why doesn't bash just say command not found like it always did before? What is sax2-tools for? FWIW, 'X -configure' produces segfault on i845G, and an xorg.conf.new file that as of yet cannot be adapted to produce desired screen resolution or DPI (stuck @ 1024x768 on 2048x1536 screen). -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
What is this convoluted new command not found behavior - why doesn't bash just say command not found like it always did before?
What is sax2-tools for?
FWIW, 'X -configure' produces segfault on i845G, and an xorg.conf.new file that as of yet cannot be adapted to produce desired screen resolution or DPI (stuck @ 1024x768 on 2048x1536 screen).
Another question going with command not found is why it is asking to install the necessary package manually instead of installing the needed packages. Is this too long or complicated ? (the user just asked for a command which dependencies are not fullfilled). -- Fabrice -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Am Sonntag, 13. Juni 2010, 23:36:51 schrieb fabrice:
What is this convoluted new command not found behavior - why doesn't bash just say command not found like it always did before?
It's supposed to be more userfriendly, the user can 'ask' another tool to look for the command he typed (which currently just looks into some general $path table afaik). Ubuntu started this and people liked it, but looking into some big *** table for every false typed command just wasn't what people expected, as in 'yeah I know there is no yasr' takes too long. So openSUSE decided to make it optional, you can call the 'lookup xyz' for me with cnf. If you ask me, I'd hate bash to go through some big table everytime just because I was unable to hit the right keys.
What is sax2-tools for?
As of 11.3 outdated, it used to be the kick ass xorg/xf86 (yeah way back!) tools to set up xorg.conf, or whatever we used to call it! Even in times where it used to disregard any user modification and just replaced it with it's kept backup ;-)
FWIW, 'X -configure' produces segfault on i845G, and an xorg.conf.new file that as of yet cannot be adapted to produce desired screen resolution or DPI (stuck @ 1024x768 on 2048x1536 screen).
If that is still the case check for existing bug reports or file a new one, X -congfigure is the XOrg self setup, there currently is nothing else supported for 11.3, sax2 is 'community supported' right now, which boils down to good luck using it =/
Another question going with command not found is why it is asking to install the necessary package manually instead of installing the needed packages.
Is this too long or complicated ?
(the user just asked for a command which dependencies are not fullfilled).
That's about user capabilities and the tools they call(in posix terms it boils down to root or not), I can call kopete myself as a user, why would I do that inside of a cli? I don't know! Alas I could, but still I'd need root rights to install it, or at least the policykit authorization. That's just over the scope of such a simple 'tell me where I am wrong' tool. It's part of the keep it simple principle, making cnf suid is just wrong and policykit, ugh! I expect someone to get that kind of result to solve it himself when beeing told to install xyz on the cli. Cheers! Karsten -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Karsten König wrote:
Am Sonntag, 13. Juni 2010, 23:36:51 schrieb fabrice:
What is this convoluted new command not found behavior - why doesn't bash just say command not found like it always did before?
It's supposed to be more userfriendly, the user can 'ask' another tool to look for the command he typed (which currently just looks into some general $path table afaik). Ubuntu started this and people liked it, but looking into some big *** table for every false typed command just wasn't what people expected, as in 'yeah I know there is no yasr' takes too long. So openSUSE decided to make it optional, you can call the 'lookup xyz' for me with cnf. If you ask me, I'd hate bash to go through some big table everytime just because I was unable to hit the right keys.
I have to say, I really like it - btw, it is in 11.2 as well, isn't it? -- Per Jessen, Zürich (14.7°C) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 06/14/2010 12:53 AM, Karsten König wrote:
as in 'yeah I know there is no yasr' takes too long. So openSUSE decided to make it optional, you can call the 'lookup xyz' for me with cnf. If you ask me, I'd hate bash to go through some big table everytime just because I was unable to hit the right keys.
man command-not-found: Handler doesn't call the command-not-found binary directly, it only prints info about it. If you want to invoke it automatically, just add export COMMAND_NOT_FOUND_AUTO=1 to your bash profile. -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Boosters Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9 prusnak[at]opensuse.org Czech Republic -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-06-14 12:29, Pavol Rusnak wrote:
On 06/14/2010 12:53 AM, Karsten König wrote:
as in 'yeah I know there is no yasr' takes too long. So openSUSE decided to make it optional, you can call the 'lookup xyz' for me with cnf. If you ask me, I'd hate bash to go through some big table everytime just because I was unable to hit the right keys.
man command-not-found:
Handler doesn't call the command-not-found binary directly, it only prints info about it. If you want to invoke it automatically, just add export COMMAND_NOT_FOUND_AUTO=1 to your bash profile.
It was called automatically on some version, 10.3 perhaps? There were many complains, because it took a long time (on slow machines or slow network) checking to find which package supplied the missing program - which is a real nuisance when you already know the typing error you made a second after hitting "enter". It is much better the current way: just suggest to run "cnf whatever" to find out more info. Really nice. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkwWuSQACgkQU92UU+smfQWk6QCgkinnp3duLa8z59xJKQ3dMmpC 0LIAni5HJOXU+NepGJHhQ9JPFSbviZ+t =06vt -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Carlos E. R. wrote:
man command-not-found:
Handler doesn't call the command-not-found binary directly, it only prints info about it. If you want to invoke it automatically, just add export COMMAND_NOT_FOUND_AUTO=1 to your bash profile.
It was called automatically on some version, 10.3 perhaps?
It was in 11.1, and in 11.2 it was then disabled, but with the hint that one could use 'cnf'. -- Per Jessen, Zürich (16.5°C) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (6)
-
Carlos E. R.
-
fabrice
-
Felix Miata
-
Karsten König
-
Pavol Rusnak
-
Per Jessen