Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2012 11:48:00 +0200
From:      Olivier Smedts <olivier@gid0.org>
To:        Mike Meyer <mwm@mired.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Better error messages for command not found (was Re: Pull in upstream before 9.1 code freeze?)
Message-ID:  <CABzXLYMQL45jL0zadC22%2BHAvz7xP8g1G-smg8yku2TQR85V8KA@mail.gmail.com>
In-Reply-To: <20120704214216.29085927@bhuda.mired.org>
References:  <86bojxow6x.fsf@ds4.des.no> <4FF35864.5030109@FreeBSD.org> <CAC8HS2Hx%2BqV1zYSzyM6wYzbyA6BStd3HEwc-VDhv40DHM=qCvw@mail.gmail.com> <CAOjFWZ5ikPz_yDhEQutiXVG354qRHYJTn-M_S4Cx-=YRgFP7eQ@mail.gmail.com> <20120704185104.GA42355@DataIX.net> <4FF4B36A.2040608@FreeBSD.org> <20120704180134.7c649e1b@bhuda.mired.org> <4FF4BEED.10103@FreeBSD.org> <20120704225519.GB19945@DataIX.net> <4FF4CAD1.8080804@FreeBSD.org> <20120704234104.GA392@DataIX.net> <8E9DECBB-3D1E-4129-A958-9DB0DF69ECC3@kientzle.com> <4FF4E105.50502@FreeBSD.org> <20120704203711.2732b645@bhuda.mired.org> <2EA305F0-87D9-47BE-B3E6-366659BF77AF@kientzle.com> <20120704214216.29085927@bhuda.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2012/7/5 Mike Meyer <mwm@mired.org>:
> My objection was not due to misunderstanding about auto-install. I
> find the feature annoying - spewing a bunch of crap at me because of a
> typo. It annoys me far more often than it actually helps me, because
> more often than not the "missing command" is a typo, *not* an attempt
> to run a command I don't have. I.e., if I type mmap instead of nmap, I
> get:
>
> mwm@IPGhosterCrawlerI:~$ mmap
> No command 'mmap' found, did you mean:
>  Command 'jmap' from package 'openjdk-6-jdk' (main)
>  Command 'jmap' from package 'openjdk-7-jdk' (universe)
>  Command 'gmap' from package 'gmap' (multiverse)
>  Command 'gmap' from package 'scotch' (universe)
>  Command 'tmap' from package 'emboss' (universe)
>  Command 'smap' from package 'slurm-llnl' (universe)
>  Command 'pmap' from package 'procps' (main)
>  Command 'moap' from package 'moap' (universe)
>  Command 'umap' from package 'libunicode-map8-perl' (main)
>  Command 'map' from package 'sgt-puzzles' (universe)
>  Command 'amap' from package 'amap-align' (universe)
> mmap: command not found

And it really annoys me too because usually, instead of an immediate
"command not found", you've got a reply seconds later if on a not so
fast computer. When working on Ubuntu, after a typo or missing command
I have the time to realize that something strange is happening, to
read again what I typed and to hit ^C before any message is displayed.

-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier@gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABzXLYMQL45jL0zadC22%2BHAvz7xP8g1G-smg8yku2TQR85V8KA>