PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Re: Linux/Debian documentation suggestion [attempt to elaborate more]
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Re: Linux/Debian documentation suggestion [attempt to elaborate more]

Réponse
 
LinkBack Outils de la discussion
Vieux 28/04/2007, 09h00   #1
Glenn Moeller-Holst
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Linux/Debian documentation suggestion [attempt to elaborate more]

Hi Karl and other interested people

Karl E. Jorgensen wrote:
> On Fri, Apr 27, 2007 at 07:44:01AM +0200, Glenn Moeller-Holst wrote:
>>>> This Linux/Debian documentation suggestion, regards Linux and
>>>> applications commands.
>>>>
>>>> It is proposed that the kernel and applications packets (.deb, .rpm)
>>>> includes (or has the possibilty to include) documentation about the
>>>> package commands. Maybe in many languages like Mac OS X. Mac OS X has
>>>> each language text in each data-fork.

....
>> Glenn:
>> I know about man-pages.

>
> Good :-) What documentation did you mean then? At the moment packages
> already have the possibility to include documentation - and most do..
> (yes: for some the documentation is so bit to warrant a separate -doc
> package)


Further down I elaborate an example of need.

>

....
>> Glenn:
>> Here are some examples of what would be nice:
>> pc:/# sud?
>> bash: sud?: command not found
>> pc:/# sud*
>> bash: sud*: command not found
>> pc:/#

>
> Try command-line completion instead: type "sud" and then hit the TAB
> key. Hitting it once will autocomplete as much as possible - if it
> beeps, hit TAB again to get a list


That is a good feature I did not know of. That is extremely close to
what I need.

>
>> Glenn:
>> Instead of "command not found" it could have responded:
>> pc:/# sud*
>> More than one command found:
>> sudo
>> suddock
>> ...
>> pc:/#


Then it could be nice with a response that resemple this:

pc:/# *
More than one command found:
/abc/openoffice.bin - Application command, class DTP (from package abc).
/abc/zgrepxyz.bin - Primarily for internal use (from package xxyz).
/somewhere/abc.pl - Perl script (not installed via package system -
possibly "home made").
/abc/mozilla.bin - Application command, class www-browser (installed
via tar.gz source files).

Another nice response:
pc:/# * | grep -E "Application" | grep -E "www"
More than one command found:
/abc/mozilla.bin - Application command, class www-browser (installed
via waz.tar.gz source files).
/bcd/mozilla.bin - Application command, class www-browser (installed
via package ddf).
/abc/safari.bin - Application command, class www-browser (installed
via package xyzz).
/abc/seamonkey.bin - Application command, class www-browser
(installed via package xyzzy).

> Let me guess: Do you have a VMS background?


I do not know, but "suddock" was just an "invented" command to show
that more possible commands was present.

>
> In linux/unix the *shell* expands wildcards before the command(s) get
> invoked. Wouldn't it be more confusing to have different rules for
> wildcards in command names?
>
>> I am not the most experienced Debian-user. I have made approx. 5
>>installation -
>> my latest is Etch. From an end-user standpoint it is the best Debian I have
>> used.

>
> Hope this s


Thanks,

Glenn
  Réponse avec citation
Vieux 01/05/2007, 20h20   #2
Andrei Popescu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Linux/Debian documentation suggestion [attempt to elaborate more]

On Sat, Apr 28, 2007 at 09:30:33AM +0200, Glenn Moeller-Holst wrote:

> Then it could be nice with a response that resemple this:
>
> pc:/# *
> More than one command found:
> /abc/openoffice.bin - Application command, class DTP (from package abc).
> /abc/zgrepxyz.bin - Primarily for internal use (from package xxyz).
> /somewhere/abc.pl - Perl script (not installed via package system -
> possibly "home made").
> /abc/mozilla.bin - Application command, class www-browser (installed
> via tar.gz source files).


Did you try 'apropos'?

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGN5F2qJyztHCFm9kRAujQAJ9Sz/V8Mx9AwEBOJ0VDKEy+rhRtewCdFtr2
qkEYfvR/Pha6SLS5q/Bi+T4=
=+6zo
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h08.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08363 seconds with 10 queries