Exécuter un fichier HLP

Résolu
mimi2060 -  
mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   -
Bonjour,
Est ce que je peux lancer un fichier *.HLP sous linux fedora core 4,
j'ai essayé la commande ./ *.HLP mais il m'affiche : cannot execute binary file,
Merci d'avance.
Configuration: Linux Fedora
Firefox 1.0.4

5 réponses

  1. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 944
     
    Un fichier hlp est un fichier d'aide windows, non ? Pourquoi veux-tu l'exécuter ?
    0
  2. mimi2060
     
    je veux faire un fichier d'aide pour un logiciel fonctionnant sous linux.
    0
  3. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 944
     
    Sous linux les fichiers d'aides sont les "man". Exemple avec ifconfig, pour t'inspirer :
    (mando@aldur) (~) $ whereis ifconfig
    ifconfig: /sbin/ifconfig /usr/share/man/man8/ifconfig.8.gz
    

    Le manuel de ifconfig est compressé dans un fichier gz dans /usr/share/man/man8/ifconfig.8.gz. Mais on peut visualiser le contenu de ce fichier non compressé par exemple avec vim :
    vim /usr/share/man/man8/ifconfig.8.gz

    Ce qui donne :
    .TH IFCONFIG 8 "2007-12-02" "net-tools" "Linux Programmer's Manual"
    .SH NAME
    ifconfig \- configure a network interface
    .SH SYNOPSIS
    .B "ifconfig [-v] [-a] [-s] [interface]"
    .br
    .B "ifconfig [-v] interface [aftype] options | address ..."
    .SH DESCRIPTION
    .B Ifconfig
    is used to configure the kernel-resident network interfaces.  It is
    used at boot time to set up interfaces as necessary.  After that, it
    is usually only needed when debugging or when system tuning is needed.
    .LP
    If no arguments are given,
    .B ifconfig
    displays the status of the currently active interfaces.  If
    a single
    .B interface
    argument is given, it displays the status of the given interface
    only; if a single
    .B -a
    argument is given, it displays the status of all interfaces, even
    those that are down.  Otherwise, it configures an interface.
    

    Donc tu vois que la mise en forme est relativement simple à mettre en place :
    .TH => titre (nom de la commande, section de man, date...)
    .B => ligne qui suit en gras,
    .SH => titre, .br => retour à la ligne,
    .LP => nouveau paragraphe,
    .TP => nouveau paragraphe tabulé,
    .I => ligne soulignée.

    Pour voir le rendu correpondant tape simplement
    man ifconfig

    Bonne chance
    0
  4. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  5. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 944
     
    Pas de soucis, bonne continuation ;-)
    0