zsh-users
 help / color / mirror / code / Atom feed
From: Andy Spiegl <zsh.Andy@spiegl.de>
To: zsh-users@sunsite.dk
Subject: Re: simple completion example? (aptitude completion doesn't work)
Date: Fri, 5 Aug 2005 21:36:52 +0200	[thread overview]
Message-ID: <20050805193652.GA6842@spiegl.de> (raw)
In-Reply-To: <32449.1123262228@trentino.groupinfra.com>

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] <Aktion> ...
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] <action> ...
  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


  reply	other threads:[~2005-08-05 19:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-02 18:01 simple completion example? Andy Spiegl
2005-08-03  8:48 ` Oliver Kiddle
2005-08-03 10:10   ` Andy Spiegl
2005-08-03 10:19     ` Oliver Kiddle
2005-08-05 15:40       ` simple completion example? (aptitude completion doesn't work) Andy Spiegl
2005-08-05 17:17         ` Oliver Kiddle
2005-08-05 19:36           ` Andy Spiegl [this message]
     [not found]             ` <30056.1123491980@trentino.groupinfra.com>
2005-08-09 13:29               ` Andy Spiegl
2005-08-10 11:39                 ` Mikael Magnusson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050805193652.GA6842@spiegl.de \
    --to=zsh.andy@spiegl.de \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).