From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 5 09:48:02 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96B60106566C for ; Thu, 5 Jul 2012 09:48:02 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0EAB28FC16 for ; Thu, 5 Jul 2012 09:48:01 +0000 (UTC) Received: by lbon10 with SMTP id n10so14474944lbo.13 for ; Thu, 05 Jul 2012 02:48:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=HIzMRn91jJHeZw2EXSMKrXGgcXGE13k03BoA071TI3o=; b=FrwXVNfRvBJ/xCNNiCVU8t6B/YzoqP7hUUx/17DAWhEMpGMtYROhTcyOizVgeZS4Z/ a93yhwQxU0X+U6lZ9XLywBV8ZLq7FJT0ElOgZMvQclDLRk2uYNFek+8YXXyhQk0PCaJ9 4TWWC0k1hkfwY01PcR4HmFezEtlUz22QCa0CFn6g42Z7I0ZWRQa6Ewi2PJnzyn3J+lTj TyW43kpm1af2EPMSIbSvQgKNQNDhHA4koy/iW3Xntv4wwYcwdvV7ZhAcNO+ggJt4TMTW O/N1oOfzvgoppvnI+3rYfAgIQdhDZLtAnSfi6Aj3z4zDQ+mGicO3bEGL4hFdkh8ROQLP CY/g== MIME-Version: 1.0 Received: by 10.112.49.227 with SMTP id x3mr11651128lbn.73.1341481680923; Thu, 05 Jul 2012 02:48:00 -0700 (PDT) Received: by 10.112.100.68 with HTTP; Thu, 5 Jul 2012 02:48:00 -0700 (PDT) In-Reply-To: <20120704214216.29085927@bhuda.mired.org> References: <86bojxow6x.fsf@ds4.des.no> <4FF35864.5030109@FreeBSD.org> <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> Date: Thu, 5 Jul 2012 11:48:00 +0200 Message-ID: From: Olivier Smedts To: Mike Meyer Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnIVu2mqNaf9jZFMfv/gk4XexA5dW+Y1GdBjzMRoF2vVALJBKxW19RDSq+7EQHeDNt44AA7 Cc: freebsd-hackers@freebsd.org Subject: Re: Better error messages for command not found (was Re: Pull in upstream before 9.1 code freeze?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2012 09:48:02 -0000 2012/7/5 Mike Meyer : > 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."