From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17237 invoked from network); 5 Aug 2005 19:37:31 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Aug 2005 19:37:31 -0000 Received: (qmail 53741 invoked from network); 5 Aug 2005 19:37:25 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Aug 2005 19:37:25 -0000 Received: (qmail 6490 invoked by alias); 5 Aug 2005 19:37:19 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9252 Received: (qmail 6480 invoked from network); 5 Aug 2005 19:37:18 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Aug 2005 19:37:18 -0000 Received: (qmail 52795 invoked from network); 5 Aug 2005 19:37:18 -0000 Received: from lila.akte.de (213.239.211.75) by a.mx.sunsite.dk with SMTP; 5 Aug 2005 19:37:12 -0000 Received: (root@lila.akte.de) by lila.akte.de id convert rfc822-to-8bit; Fri, 5 Aug 2005 21:36:54 +0200 KRecCount: 1 KInfo: virscan ok KInfo: !spam auth Received: from condor.int.spiegl.de (p54976BC2.dip.t-dialin.net [84.151.107.194]) by lila.akte.de via kasmail (2.9) id <1E17zw-6mh-0-lila>; Fri, 05 Aug 2005 19:36:52 GMT Received: from condor.int.spiegl.de (spiegl@localhost [127.0.0.1]) by condor.int.spiegl.de (8.13.4/8.13.4/Debian-3) with ESMTP id j75JaqRI007265 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 5 Aug 2005 21:36:52 +0200 Received: (from spiegl@localhost) by condor.int.spiegl.de (8.13.4/8.13.4/Submit) id j75JaqUY007261 for zsh-users@sunsite.dk; Fri, 5 Aug 2005 21:36:52 +0200 X-Authentication-Warning: condor.int.spiegl.de: spiegl set sender to zsh.Andy@spiegl.de using -f Date: Fri, 5 Aug 2005 21:36:52 +0200 From: Andy Spiegl To: zsh-users@sunsite.dk Subject: Re: simple completion example? (aptitude completion doesn't work) Message-ID: <20050805193652.GA6842@spiegl.de> Mail-Followup-To: zsh-users@sunsite.dk References: <20050802180158.GA10402@spiegl.de> <19401.1123058911@trentino.groupinfra.com> <20050803101007.GA9755@spiegl.de> <2356.1123064346@trentino.groupinfra.com> <20050805154030.GA16800@spiegl.de> <32449.1123262228@trentino.groupinfra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <32449.1123262228@trentino.groupinfra.com> X-PGP-GPG-Keys: mail -s "send pgp" auto@spiegl.de X-Accepted-File-Formats: ASCII OpenOffice .rtf .pdf - *NO* Microsoft files please. X-why-you-shouldnt-use-MS-LookOut: http://www.jensbenecke.de/l-oe-en.php X-warum-man-MS-Outlook-vermeiden-sollte: http://www.jensbenecke.de/l-oe-de.php X-Message-Flag: LookOut! You are using an insecure mail reader which can be used to spread viruses. X-how-to-quote: http://learn.to/quote/ X-how-to-ask-questions: http://www.catb.org/~esr/faqs/smart-questions.html X-stupid-disclaimers: http://goldmark.org/jeff/stupid-disclaimers/ User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 Hi Oliver, > Otherwise, the best is to start with zsh -f, run compinit and then try > bits of your setup file until it breaks. But that's what I did! :-) > If aptitude -h is giving you a German (or other) translation, try adding > LC_MESSAGES=C in but I don't think that translation would actually break > it in this particular case. YES, that was it! Of course, why didn't I think of that!? But there isn't such a big difference...Hm, maybe Verwendung instead of usage? Can you think of a workaround for international users like me? Here is the German version: condor:~#aptitude -h aptitude 0.2.15.9 Verwendung: aptitude [-S dname] [-u|-i] aptitude [Optionen] ... Aktionen (wenn keine angegeben wird, startet Aptitude interaktiv): install Installiere/Aktualisiere Pakete remove Entferne Pakete purge Entferne Pakete und ihre Konfigurationsdateien hold Pakete auf »zurückhalten« setzen unhold Einen »hold«-Befehl zurücknehmen markauto Pakete als automatisch installiert markieren unmarkauto Pakete als manuell installiert markieren forbid-version Upgrade auf eine bestimmte Paketversion verbieten update Neue Listen neuer/aktualisierbarer Paketen laden upgrade Sicheres Upgrade durchführen dist-upgrade Upgrade durchführen, dabei ggf. Pakete installieren/entfernen forget-new Vergessen welche Pakete »neu« sind search Pakete nach Namen oder Ausdruck suchen show Details über ein Paket anzeigen clean Heruntergeladene Pakete löschen autoclean Alte heruntergeladene Pakete löschen changelog Änderungsprotokoll eines Pakets download Die .deb-Datei eines Pakets herunterladen Optionen: -h Dieser Hilfetext -s Aktionen simulieren, aber nicht wirklich durchführen. -d Pakete nur herunterladen, nichts installieren oder entfernen. -P Immer zur Bestätigung nachfragen -y Annehmen, dass die Antwort auf einfache ja/nein-Fragen "ja" ist -F format Format für die Suchergebnisse angeben; vgl. Anleitung -O order Wie die Suchergebnisse sortiert werden sollen; vgl. Anleitung -w breite Die Breite für die Formatierung der Suchergebnisse angeben -f Aggressiv versuchen kaputte Pakete zu reparieren. -V Anzeigen, welche Version eines Pakets installiert wird -D Abhängigkeiten automatisch veränderter Pakete anzeigen -Z Größenveränderung der einzelnen Pakete anzeigen -v Mehr Informationen ausgeben (kann mehrfach verwendet werden) -t [release] Das »Release«, aus dem Pakete installiert werden sollen (z.B. stable, unstable, sarge, ...) -o schl=wert Die Einstellung 'schl' direkt setzen --with(out)-recommends Angeben, ob »Empfehlungen« wie starke Abhängigkeiten gehandhabt werden sollen -S fname Die erweiterten Aptitude-Statusinformationen aus »fname« laden -u Neue Paketlisten beim Start laden. -i Installationslauf am Anfang durchführen. And English: condor:~#aptitude -h aptitude 0.2.15.9 Usage: aptitude [-S fname] [-u|-i] aptitude [options] ... Actions (if none is specified, aptitude will enter interactive mode): install - Install/upgrade packages remove - Remove packages purge - Remove packages and their configuration files hold - Place packages on hold unhold - Cancel a hold command for a package markauto - Mark packages as having been automatically installed unmarkauto - Mark packages as having been manually installed forbid-version - Forbid aptitude from upgrading to a specific package version. update - Download lists of new/upgradable packages upgrade - Perform a safe upgrade dist-upgrade - Perform an upgrade, possibly installing and removing packages forget-new - Forget what packages are "new" search - Search for a package by name and/or expression show - Display detailed information about a package clean - Erase downloaded package files autoclean - Erase old downloaded package files changelog - View a package's changelog download - Download the .deb file for a package Options: -h This help text -s Simulate actions, but do not actually perform them. -d Only download packages, do not install or remove anything. -P Always prompt for confirmation or actions -y Assume that the answer to simple yes/no questions is 'yes' -F format Specify a format for displaying search results; see the manual -O order Specify how search results should be sorted; see the manual -w width Specify the display width for formatting search results -f Aggressively try to fix broken packages. -V Show which versions of packages are to be installed. -D Show the dependencies of automatically changed packages. -Z Show the change in installed size of each package. -v Display extra information. (may be supplied multiple times) -t [release] Set the release from which packages should be installed -o key=val Directly set the configuration option named 'key' --with(out)-recommends Specify whether or not to treat recommends as strong dependencies -S fname: Read the aptitude extended status info from fname. -u : Download new package lists on startup. -i : Perform an install run on startup. This aptitude does not have Super Cow Powers. Thanks, Andy. -- http://francisco.spiegl.de Our cute son :-) http://peru.spiegl.de Projekt Radio Marañón, Jaén, Perú o _ _ _ ------- __o __o /\_ _ \\o (_)\__/o (_) -o) ----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\ ---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Debian - when you have better things to do than fixing a system