You are not logged in.

#1 2008-11-25 15:28:40

belerofontr
Member
Registered: 2008-11-25
Posts: 3

Offline

#2 2008-11-25 15:31:40

nuttygamergeek
Member
Registered: 2008-11-24
Posts: 15

Re: Feature Proposal for Archlinux

I quite like the idea but it's one of those things I can live without.

Offline

#3 2008-11-25 15:41:07

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Feature Proposal for Archlinux

I don't like this at all. "command not found" is all you ever need to know.  If you are using arch then you know what a path is and you know how to find out of programs are installed.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#4 2008-11-25 15:55:51

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: Feature Proposal for Archlinux

I don't really like it. It seems like more output in my terminal that I don't need. Besides that, I can always just google to find out what programs are in what packages.


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#5 2008-11-25 15:59:24

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,680

Re: Feature Proposal for Archlinux

What do you Think?

I'd personally be opposed to implementing this as well.

Nothing wrong with asking for opinions, though.


oz

Offline

#6 2008-11-25 15:59:51

winch
Member
Registered: 2008-04-13
Posts: 43

Re: Feature Proposal for Archlinux

I turned it off when I used ubuntu. Make a typo and there is a nice delay as it searches the database. Probably makes a lot more sense when the usebase rarely uses the CLI.

Offline

#7 2008-11-25 16:13:11

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Feature Proposal for Archlinux

If you use zsh as your shell, pkgfile from pkgtools provides a feature to automatically list packages with the binary. See the install message for how to enable it.

EDIT: FTR, ubuntu patches bash to do this.

EDIT2: Alright, I got it working with bash as well. It may be found at http://github.com/Daenyth/pkgtools/tree … -hook.bash
It will be included in the next release.
Caveats with my method are that it overrides PROMPT_COMMAND, so if you use that you need to merge mine with yours or get rid of yours. It also relies on using "history" as well, so you have to have shell history enabled and have a sane HISTIGNORE.

Last edited by Daenyth (2008-11-25 17:11:10)

Offline

#8 2008-11-25 16:30:23

hbekel
Member
From: Germany
Registered: 2008-10-04
Posts: 310
Website

Re: Feature Proposal for Archlinux

I have to say no, thanks. This feels just like a cartoon of a paper clip popping up, trying to guess what I'm trying to do.

What's even worse, the ubuntu implementation depends on a debian-only extension to bash (command_not_found_handle). This is opposed to the arch way of delivering vanilla packages.


echo '#!/bin/rm' > vanity && chmod +x vanity && ./vanity

Offline

#9 2008-11-25 16:51:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,604

Re: Feature Proposal for Archlinux

belerofontr - please feel free to go ahead with this yourself, if you think it will be useful to you. When you have it working on your own machine, you also have the option of submitting a package for it to the AUR, in case others might be interested.

Personally, I wouldn't have any use for it, and it is definitely not something that would be considered for inclusion in the core Arch system.

Offline

#10 2008-11-25 16:57:17

hbekel
Member
From: Germany
Registered: 2008-10-04
Posts: 310
Website

Re: Feature Proposal for Archlinux

belerofontr - If you want to implement this, note that you could achieve something similar without patching bash:

PROMPT_COMMAND='if [ "$?" == "127" ]; then history -w; echo "NOT FOUND: `tail -n1 $HISTFILE`"; fi'

a bit of a hack, but still better than depending on an unofficial patch.


echo '#!/bin/rm' > vanity && chmod +x vanity && ./vanity

Offline

#11 2008-11-25 17:13:00

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Feature Proposal for Archlinux

I should have made a reply instead of editing my post, I didn't see all the new replies. Funny too, hbekel came up with almost the same method.

Anyway: http://bbs.archlinux.org/viewtopic.php? … 53#p454153

Offline

#12 2008-11-25 21:57:04

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Feature Proposal for Archlinux

I probably wouldn't use it, but can't say that others wouldn't find it useful. This is one of those things that best fits as an addon package for those that want the feature, not installed by default.

Offline

#13 2008-11-25 22:07:22

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,675

Re: Feature Proposal for Archlinux

I remember Ubuntu having this. It's interesting but not something I could live without.
As someone else posted, you get severely punished for making a typo and hitting <tab> smile


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#14 2008-11-25 22:12:55

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 324
Website

Re: Feature Proposal for Archlinux

The one thing I did like though, is the idea page on openSUSE. Should have something similar for Arch.

Birger smile

Offline

#15 2008-11-25 22:15:46

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: Feature Proposal for Archlinux

I already got three things for that purpose:

1) epi [TAB] #(Tab-completion)
2) which epiphany ifconfig
3) pacman -Qo /sbin/ifconfig

Offline

#16 2008-11-25 22:27:08

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Feature Proposal for Archlinux

This is one of the most annoying things on ubuntu. "foobar is not found, perhaps you need to install the foobar-tools package with apt-get?"

Offline

#17 2008-11-25 22:29:46

neotuli
Lazy Developer
From: San Francisco, CA
Registered: 2004-07-06
Posts: 1,201
Website

Re: Feature Proposal for Archlinux

Seems idiot proof. Too bad arch isn't for idiots.
Ok, but I kid with the pseudo-trolling (or maybe I don't, I can't tell anymore).

Really if you want to see something like this in arch, you should provide it yourself.
You may be interested in reading about:
http://wiki.archlinux.org/index.php/AUR
http://wiki.archlinux.org/index.php/Bui … Arch_Linux
http://wiki.archlinux.org/index.php/AUR_User_Guidelines


The suggestion box only accepts patches.

Offline

#18 2008-11-25 22:43:48

Roberth
Member
From: Norway
Registered: 2007-01-12
Posts: 873

Re: Feature Proposal for Archlinux

This just reminds me of these things in windows that tries to make it more userfriendly but is just useless.


Use the Source, Luke!

Offline

#19 2008-11-25 23:27:15

string
Member
Registered: 2008-11-03
Posts: 286

Re: Feature Proposal for Archlinux

Ok I have a suggestion too..

    __         ________________________________________________________
   /  \       /                                                        \
   |  |       | It looks like you are trying to launch a program which |
   @  @       | does not exist on your system. Would you me like to:   |
   || ||   <--|                                                        |
   || ||      |   o Run `epiphany`                                     |
   |\_/|      |   o Search the package database for `epihpany`         |
   \___/      |   o rm -rf / so that you can install a superior OS     |
              |     like Windows Vista?                                |
              \________________________________________________________/

$ epihpany

Offline

#20 2008-11-25 23:42:40

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Feature Proposal for Archlinux

If someone actually implements that, I will (try to) fix their favourite bug!

Offline

#21 2008-11-26 00:31:57

Onyros
Member
From: Lisbon, Portugal
Registered: 2007-10-11
Posts: 286

Re: Feature Proposal for Archlinux

string wrote:

Ok I have a suggestion too..

    __         ________________________________________________________
   /  \       /                                                        \
   |  |       | It looks like you are trying to launch a program which |
   @  @       | does not exist on your system. Would you me like to:   |
   || ||   <--|                                                        |
   || ||      |   o Run `epiphany`                                     |
   |\_/|      |   o Search the package database for `epihpany`         |
   \___/      |   o rm -rf / so that you can install a superior OS     |
              |     like Windows Vista?                                |
              \________________________________________________________/

$ epihpany

Hahahaha, that was brutally genius smile

OnT: I share the exact same opinion.

Offline

#22 2008-11-26 00:33:40

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Feature Proposal for Archlinux

Onyros wrote:

OnT: I share the exact same opinion.

As the people who like it, or the people who do not?  tongue

Offline

#23 2008-11-26 00:39:20

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: Feature Proposal for Archlinux

Allan wrote:
Onyros wrote:

OnT: I share the exact same opinion.

As the people who like it, or the people who do not?  tongue

Perhaps both?


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#24 2008-11-26 02:10:11

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: Feature Proposal for Archlinux

Allan wrote:

If someone actually implements that, I will (try to) fix their favorite bug!

Bug squashed. wink


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#25 2008-11-26 02:48:00

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Feature Proposal for Archlinux

rson451 wrote:
Allan wrote:

If someone actually implements that, I will (try to) fix their favorite bug!

Bug squashed. wink

Nah, I spell "ye olde" school....

Offline

Board footer

Powered by FluxBB