Alle Konsolenprogramme, die zusammen mit Haiku installiert werden, befinden sich entweder in /boot/system/bin oder /boot/common/bin. Eigene oder zusätzliche Konsolenprogramme sollten nach ~/config/bin wandern. Diese Orte sind alle Teil der PATH Variable und werden daher automatisch gefunden.
+Die folgende Liste an Haiku-spezifischen Programmen ist natürlich nicht vollständig; sie beschreibt nur einige der nützlichsten um auf den Geschmack zu kommen. Es ist empfehlenswert die bin/ Verzeichnisse selbst etwas zu erkunden. Wird ein Konsolenprogramm mit dem Parameter --help aufgerufen, wird der Gebrauch des Befehls mit sämtlichen Optionen angezeigt.
Diese Befehle werden benutzt um Attribute einer Datei aufzulisten, anzuzeigen, hinzuzufügen, zu entfernen und zu kopieren. Diese Metadaten werden momentan nur auf BFS formattierten Medien unterstützt. Schiebt man die Dateien auf andere Dateisysteme, gehen alle Attribute verloren!
+All diese Befehle sind im Kapitel Attribute im Terminal beschrieben.
Mit diesen Befehlen lassen sich Attribute in BFS' Index auflisten, hinzufügen, re-indizieren und entfernen. Werden Dateien zwischen Partitionen ausgetauscht, sollte man daran denken, dass jede Partition ihren eigenen Index hat.
+Die Befehle sind im Kapitel Index beschrieben.
Hier einige Konsolenprogramme, die besonders beim Skripten interessant sind (siehe auch Bash und Skripten).
+
+
alert
+
alert erzeugt das typische Hinweis-Fenster mit einem vordefinierten Symbol, erklärenden Text und bis zu drei Buttons. Als Rückgabewert dient der Titel des geklickten Buttons, bzw. ein Exitstatus, beginnend mit 0). Zum Beispiel:
+
alert --idea "SpitzenApp(tm) wurde erfolgreich installiert!
+Soll eine Verknüpfung erstellt werden?" "Auf dem Desktop" "In der Deskbar" "Nein Danke"
+
+
+
filepanel
+
filepanel öffnet einen Öffnen- oder Speicher-Dialog, in dem der Benutzer eine Datei oder Verzeichnis auswählen kann. Der Rückgabewert ist der gewählte Datei- oder Ordnerpfad. Es stehen diverse Parameter zur Verfügung um beispielsweise einen Startordner oder einen Fenstertitel zu setzen, oder einen Dateinamen beim Speichern vorzugeben oder erlaubte Dateitypen einzuschränken. Zum Beispiel:
Mittels waitfor lässt sich auf den Start bzw. die Beendigung eines bestimmten Threads oder einer Anwendung warten.
+
+
query
+
query ist die Konsolen-Variante des Find Panels. Um eine Suchformel bequem zu generieren lässt sich übrigens sehr gut eben dieses Find Panel benutzen: Einfach dort die entsprechende Suche zusammenklicken, dann umschalten zum "by formula" Mode, Anführungszeichen (") an Anfang und Ende und anschließend das Ganze hinter den query Befehl ins Terminal oder Skript einfügen.
checkfs ist ein wichtiges Tool um das Dateisystem zu überprüfen. Es wird einfach ein Partitions- oder Gerätename übergeben, um dort jede Datei durchzusehen und Inkonsistenzen zu beheben, sofern möglich.
+
+
open
+
open ist ein nützliches kleines Tool. Es öffnet jedwede Datei mit ihrer bevorzugten Anwendung oder startet eine bestimmte Anwendung anhand ihrer Signatur ohne ihren genauen Pfad kennen zu müssen. Das funktioniert auch mit URLs und sogar den "virtuellen" Verzeichnissen, . für das aktuelle Verzeichnis und .. für das übergeordnete, die dann im Tracker geöffnet werden.
+
+
desklink
+
Mit desklink kann im Deskbar Tray ein Icon für jedwede Datei, Ordner, Query oder Anwendung installiert werden. Dabei gibt es die Möglichkeit bei einem Rechtsklick auf das entsprechende Icon ein Kontextmenü mit besonderen Funktionen anzubieten. Folgendes Beispiel macht das mit der Anwendung Screenshot (das "\" in der ersten Zeile dient nur einem Zeilenumbruch im Terminal):
Magnify stellt den Bildschirmbereich unter dem Mauszeiger vergrößert dar.
Im Programmfenster oben stehen die Größe des angezeigten Bereichs und der Vergrößerungsgrad. "32 x 32 @ 8 pixels/pixel" bedeutet, man sieht einen 32 x 32 Pixel großen Bereich unter dem Mauszeiger und jedes Pixel ist um den Faktor 8 vergrößert.
-
Darunter ist die Farbe des Pixels angegeben, der rot umrandet dargestellt ist. Sie wird nach dem RGB-Schema und in HEX angegeben. Die rote Umrandung kann mit den Pfeiltasten verschoben werden.
+
Darunter ist die Farbe des Pixels angegeben, der rot umrandet dargestellt ist. Sie wird nach dem RGB-Schema und in HEX angegeben. Die rote Umrandung kann mit ← / → / ↑ / ↓.verschoben werden.
Zum Ausrichten und Messen von Entfernungen können bis zu zwei blaue Fadenkreuze mittels ALTH angezeigt werden. Deren X/Y-Koordinaten bezogen auf die linke obere Ecke und - wenn zwei angezeigt werden - die Entfernung der beiden zu einander werden am unteren Rand des Programmfensters angezeigt.
-Das jeweils aktivierte, durch ein X markierte der beiden kann mit den PFEILTASTEN verschoben werden.
-
Der Mauszeiger kann über die Tastenkombination OPTPfeiltaste verschoben werden.
+Das jeweils aktivierte, durch ein X markierte der beiden kann mit ← / → / ↑ / ↓ verschoben werden.
+
Der Mauszeiger kann über die Tastenkombination OPT← / → / ↑ / ↓ verschoben werden.
Das Auswahlmenü oben rechts enthält mehrere Einträge:
Save Image
ALTS
Das aktuell angezeigte Bild wird als "Resource"-Datei gespeichert.
Das Terminal ist Haikus Schnittstelle zur Bash, der "Bourne Again Shell".
-
Einige Anleitungen zum Arbeiten in der Konsole finden sich in Bash und skripten. Hier geht es um die Anwendung Terminal an sich.
+
Einige Anleitungen zum Arbeiten in der Konsole finden sich in Bash und Skripten. Außerdem werden im Kapitel Haikus Konsolenprogramme einige Haiku-spezifischen Befehle vorgestellt. Hier geht es um die Anwendung Terminal an sich.
@@ -104,7 +106,7 @@ Man kann Verknüpfungen zu Dateien und Ordnern also auch dort direkt anlegen und
Das nächstgelegene Objekt, das Replikanten aufnehmen kann, ist der Desktop: Man lässt einfach das kleine Symbol per Drag&Drop darauf fallen. Ab sofort ist es ein Teil des Desktops und die ursprüngliche Anwendung muss nicht mehr laufen damit es funktioniert.
Ein Rechtsklick auf ein Replikanten-Symbol öffnet ein Kontextmenü, um das About Fenster der ursprünglichen Anwendung anzuzeigen und zum Entfernen den Befehl Remove Replicant.
-
Sollte ein Replikant auf dem Desktop mal Schwierigkeiten machen und sich auch nicht mehr entfernen lassen, kann man die Datei ~/config/settings/Tracker/tracker_shelf löschen. Dadurch werden allerdings alle Replikaten vom Desktop entfernt.
+
Sollte ein Replikant auf dem Desktop mal Schwierigkeiten machen und sich auch nicht mehr entfernen lassen, kann man die Datei ~/config/settings/Tracker/tracker_shelf löschen. Dadurch werden allerdings alle Replikanten vom Desktop entfernt.
Hier eine Liste mit den meist genutzten Tastaturkürzel, die immer zur Verfügung stehen, auch falls es dafür gerade kein entsprechendes Menü gibt:
-
ALTFx
Wechselt zum Workspace X (Fx ist dabei die dem Workspace entsprechende Funktionstaste). Bei gleichzeitigem Drücken der SHIFT-Taste wird das aktive Fenster mit zum neuen Workspace genommen.
-
STRGALT←/→/↑/↓
Zum Bewegen durch die Reihen und Spalten der verfügbaren Workspaces. Bei gleichzeitigem Drücken der SHIFT-Taste wird das aktive Fenster mit zum neuen Workspace genommen.
+
ALTFx
Wechselt zum Workspace X (Fx ist dabei die dem Workspace entsprechende Funktionstaste). Hält man dabei zusätzlich die SHIFT-Taste, wird das aktive Fenster zum neuen Workspace mitgenommen.
+
STRGALT← / → / ↑ / ↓
Zum Bewegen durch die Reihen und Spalten der verfügbaren Workspaces. Hält man dabei zusätzlich die SHIFT-Taste, wird das aktive Fenster zum neuen Workspace mitgenommen.
Öffnet eine neue Terminal Session in einem neuen Fenster.
ALTT
Öffnet eine neue Terminal Session in einem neuen Reiter.
ALT1, 2, 3...
Wechselt zum entsprechenden Reiter.
-
SHIFT←/→
Wechselt zum vorigen/nächsten Reiter.
+
SHIFT← / →
Wechselt zum vorigen/nächsten Reiter.
ALTTAB
Wechselt zum nächsten Terminal Fenster.
-
ALT+, -
Vergrößern/Verkleinern der Schriftgröße.
+
ALT+ / -
Vergrößern/Verkleinern der Schriftgröße.
ALTENTER
Wechsel Vollbild-/Fenstermodus.
-
SHIFT↑/↓
Scrollt die Terminal Ausgabe um eine Zeile rauf/runter.
-
SHIFTBild↑/Bild↓
Scrollt die Terminal Ausgabe um eine Seite rauf/runter.
+
SHIFT↑ / ↓
Scrollt die Terminal Ausgabe um eine Zeile rauf/runter.
+
SHIFTBild↑ / Bild↓
Scrollt die Terminal Ausgabe um eine Seite rauf/runter.
TAB
Tab-Vervollständigung. Nachdem einige Zeichen eingegeben wurden, komplettiert ein Druck der
TAB Taste einen Dateinamen oder Pfad. Gibt es mehr als einen Treffer, hält die Ausgabe an der Stelle die beginnt sich zu unterscheiden und man muss noch einige Zeichen zur weiteren Unterscheindung nachliefern. Drückt man TAB zweimal, werden alle Treffer aufgelistet.
-
↑/↓
Bewegt einen rauf und runter in einer Liste aller vorher schon mal eingegebenen Befehle.
+
↑ / ↓
Bewegt einen rauf und runter in einer Liste aller vorher schon mal eingegebenen Befehle.
STRGR
Bash Historie. Alle eingegebenen Befehle werden in der Datei ~/.bash_history gespeichert. Drückt man STRGR und beginnt einen Befehl einzugeben, erhält man den ersten Treffer aus der Bash Historie. Jetzt kann immer wieder STRGR gedrückt werden bis man die gewünschte Befehlszeile finden, die man mit ENTER ausführt.
Neben dem Keymap Panel existiert noch eine weitere Möglichkeit sein Tastaturlayout zu individualisieren. Dabei wird eine Textdatei mit einer Unmenge HEX-Werten bearbeitet, was auf den ersten Blick erstmal erschreckt, aber grundsätzlich begreifbar ist.
Das aktuelle Layout lässt sich mit einem Befehl im Terminal ausgeben:
-
keymap -d MyKeymap
+
keymap -d > MyKeymap
Die so generierte Textdatei lässt sich anschließend in einem Texteditor öffnen. Hier sollte man auf alle Fälle eine Schrift mit fester Breite verwenden, sonst findet man sich hier bestimmt nicht zurecht...
Am Anfang der Datei befindet sich die Legende für eine stilisierte Tastatur mit den entsprechenden HEX-Werten für jede Taste. Darunter folgen die eigentlichen Zuweisungen der einzelnen Werte. Hiermit lässt sich all das ändern, was auch mit den Keymap Einstellungen möglich ist, und noch mehr. Besitzt die eigene Tastatur spezielle Tasten, lassen sie sich hier u.U. aktivieren. Zumindest als normale Tasten oder weitere Option- oder Control-Taste. Dadurch kann man immer noch nicht z.B. Multimediatasten zum lauter/leiser machen benutzen oder um bestimmte Anwendungen zu starten. Dazu existiert z.B. SpicyKeys.
Ist man fertig, wird die Datei abgespeichert und das geänderte Layout mit diesem Befehl geladen:
-
keymap -l MyKeymap
+
keymap -s < MyKeymap
+
Möchte man dieses Layout in der Keymap Anwendung importieren, muss es erst in ein Binärformat konvertiert werden:
+
keymap -c < MyKeymap
+
Das erzeugt eine Datei keymap.out die man in Keymap über das Open... Menü öffnen kann. Der Konsolenbefehl keymap kann so eine Binärdatei übrigends auch laden: keymap -l < keymap.out
So sieht die ausgegebene Datei aus (die ganz rechten Tasten wurden hier ausgeblendet, damit es besser auf die Seite passt):
-
#!/bin/keymap -l
+
#!/bin/keymap -s
#
# Raw key numbering for 101 keyboard...
#
diff --git a/userguide/de/preferences/locale.html b/userguide/de/preferences/locale.html
index 5489e876..6635825d 100644
--- a/userguide/de/preferences/locale.html
+++ b/userguide/de/preferences/locale.html
@@ -36,6 +36,8 @@
All commandline applications shipped with Haiku are in either /boot/system/bin or /boot/common/bin. Your own or additionally installed commandline apps should go in ~/config/bin. All these locations are part of the PATH variable and are therefore automatically found.
+The following isn't an exhaustive list of all Haiku-specific CLI apps, it serves just to highlight a few of the most useful to give you a taste. Feel encouraged to explore what's in the bin/ folders on your own a bit. Executing an app with the parameter --help shows the usage of the command and all its various options.
These commands are used to display, read out, add and remove attributes of files. Remember that these meta data are currently only available on BFS formatted volumes. Moving files onto other file systems will strip all attributes!
+All these commands are described in topic Attributes in Terminal.
With these commands you list, make, reindex and remove attributes to BFS' index. Every volume has it's own index, remember that when copying files from one volume to another.
+These commands are described in topic Index.
Here are a few commandline tools that are especially useful for scripting (see also topic Bash and Scripting).
+
+
alert
+
alert conjures up the typical alert window with a pre-defined icon, explanatory text and up to three buttons. It will return the title of the pressed button and an exit status (starting with 0). For example, this is made of the line:
+
alert --idea "FantasticApp(tm) installed successfully!
+Would you like a link to it?" "On Desktop" "In Deskbar" "No thanks"
+
+
+
filepanel
+
filepanel displays a load or save file panel and lets the user choose a file or location. As a return value you'll get the chosen file or folder's path. There are several parameters available, for example to set a starting directory, a window title, a default name when saving or restrictions to the allowed types of files. This is an example of
+
filepanel -s -t "Save your logfile" -d ~/config/settings -n Fantastic.log
+
+
+
waitfor
+
waitfor is a nice way to wait for a particular application or thread to be started or to have ended.
+
+
query
+
query is the commandline version of the Find panel. In fact, a quick way to generate the search term is to build a query in the Find panel, switch to by formula, add double quotes (") in front and back and paste the whole string after your query command in Terminal or your script.
checkfs is an important tool to check for errors in your file system. Simply add the volume or device name and it'll run through every file and correct inconsistencies where possible.
+
+
open
+
open is a very handy little tool. With it you open any file with its preferred application, or start a specific application by its signature without the need to know its exact path. It also works with URLs and even with the "virtual" directories . for the current directory and .. for the parent, opening the folder in Tracker.
+
+
desklink
+
desklink can install an icon for any file, folder, query or application in the Deskbar tray. It also offers the option to provide a context menu when right-clicking an icon to execute special actions. As an example, try this to add Screenshot with various options (the "\" in the first line is just for the line break in Terminal):
At the top you'll find the size and magnification level of the area. "32 x 32 @ 8 pixels/pixel" means that you look at a 32x32 pixel square around your mouse pointer and every pixel is enlarged by a factor of 8.
Below that is the color of the pixel that's marked by a red outline. Its color is presented as RGB and hex value.
-You can move the red outline with the CURSOR keys.
+You can move the red outline with ← / → / ↑ / ↓.
To measure distances and align objects, you can add up to two blue crosshairs with ALTH. Their X/Y coordinates toward the top left corner and, if both are added, their X/Y distance from each other, are displayed at the bottom.
-They can also be moved with the CURSOR keys. The active crosshair is marked with an "x".
-
You can move the mouse pointer pixel by pixel with OPTCURSOR keys.
+They can also be moved with ← / → / ↑ / ↓. The active crosshair is marked with an "x".
+
You can move the mouse pointer pixel by pixel with OPT← / → / ↑ / ↓.
Clicking on the pop-up menu gives you a number of options:
The Terminal is Haiku's interface to bash, the Bourne Again Shell.
-
Please refer to the topic on Scripting for a few links to online tutorials on working in the shell. Here, we'll concentrate on the Terminal application itself.
+
Please refer to the topic on Scripting for a few links to online tutorials on working in the shell and also have a look at Haiku's commandline applications. Here, we'll concentrate on the Terminal application itself.
Besides the normal commandline tools coming with the bash shell or are necessary to be POSIX compliant, there are a few Haiku-specific commandline applications worth mentioning. These commands are often useful for scripting purposes, see also topic Bash and Scripting.
Aparte de los programas listados más arriba, los cuales están mantenidos por el proyecto Haiku, hay algunas aplicaciones esenciales incluídas en un sistema Haiku estándar. Los errores y solicitudes de mejoras deben enviarse al mantenedor de esa aplicación en particular.
La traducción de esta página no está completa aún. Hasta que esté, las partes sin terminar vienen en su inglés original.
+
+
Commandline applications
+
+
Ubicación:
/boot/system/bin /boot/common/bin ~/config/bin
+
+
+
All commandline applications shipped with Haiku are in either /boot/system/bin or /boot/common/bin. Your own or additionally installed commandline apps should go in ~/config/bin. All these locations are part of the PATH variable and are therefore automatically found.
+The following isn't an exhaustive list of all Haiku-specific CLI apps, it serves just to highlight a few of the most useful to give you a taste. Feel encouraged to explore what's in the bin/ folders on your own a bit. Executing an app with the parameter --help shows the usage of the command and all its various options.
These commands are used to display, read out, add and remove attributes of files. Remember that these meta data are currently only available on BFS formatted volumes. Moving files onto other file systems will strip all attributes!
+All these commands are described in topic Attributes in Terminal.
With these commands you list, make, reindex and remove attributes to BFS' index. Every volume has it's own index, remember that when copying files from one volume to another.
+These commands are described in topic Index.
Here are a few commandline tools that are especially useful for scripting (see also topic Bash and Scripting).
+
+
alert
+
alert conjures up the typical alert window with a pre-defined icon, explanatory text and up to three buttons. It will return the title of the pressed button and an exit status (starting with 0). For example, this is made of the line:
+
alert --idea "FantasticApp(tm) installed successfully!
+Would you like a link to it?" "On Desktop" "In Deskbar" "No thanks"
+
+
+
filepanel
+
filepanel displays a load or save file panel and lets the user choose a file or location. As a return value you'll get the chosen file or folder's path. There are several parameters available, for example to set a starting directory, a window title, a default name when saving or restrictions to the allowed types of files. This is an example of
+
filepanel -s -t "Save your logfile" -d ~/config/settings -n Fantastic.log
+
+
+
waitfor
+
waitfor is a nice way to wait for a particular application or thread to be started or to have ended.
+
+
query
+
query is the commandline version of the Find panel. In fact, a quick way to generate the search term is to build a query in the Find panel, switch to by formula, add double quotes (") in front and back and paste the whole string after your query command in Terminal or your script.
checkfs is an important tool to check for errors in your file system. Simply add the volume or device name and it'll run through every file and correct inconsistencies where possible.
+
+
open
+
open is a very handy little tool. With it you open any file with its preferred application, or start a specific application by its signature without the need to know its exact path. It also works with URLs and even with the "virtual" directories . for the current directory and .. for the parent, opening the folder in Tracker.
+
+
desklink
+
desklink can install an icon for any file, folder, query or application in the Deskbar tray. It also offers the option to provide a context menu when right-clicking an icon to execute special actions. As an example, try this to add Screenshot with various options (the "\" in the first line is just for the line break in Terminal):
Magnify muestra una versión ampliada del área alrededor del puntero del ratón.
En la zona superior se encuentra el grado de aunmento de la zona. "32 x 32 @ 8 pixels/pixel" significa que se muestra un cuadrado de 32x32 píxeles alrededor del cursor, y cada píxel es ampliado un factor 8.
-
Debajo de eso está el color del píxel marcado con una línea roja. Su color e muestra como un valor RGB hexadecimal.
-Se puede mover el marco rojo con las teclas CURSOR.
-
Para medir distancias y alinear objetos, se pueden encuadrar dos guías azules ALTH. Sus coordenadas X/Y hacia la esquina superior , y , si ambas son añadidas, su distancia X/Y de la una a la otra , se muestra en la parte inferior. Pueden también ser movidas con las teclas CURSOR . La guía activa está marcada con una "x".
-
Se puede mover el puntero de píxel en píxel con las teclas OPTCURSOR.
+
Debajo está el color del píxel marcado con una línea roja. Su color se muestra como un valor RGB hexadecimal.
+Se puede mover el marco rojo con las teclas ← / → / ↑ / ↓.
+
Para medir distancias y alinear objetos, se pueden agregar dos guías azules con ALTH. Sus respectivas coordenadas X/Y se dirigen hacia la esquina superior, y, si se añaden ambas, su distancia X/Y mutua se muestra en la parte inferior. Pueden también ser movidas con las teclas ← / → / ↑ / ↓. La guía activa se marca con una "x".
+
Se puede mover el puntero de píxel en píxel con las teclas OPT← / → / ↑ / ↓.
Clicar en el menú emergente muestra diversas opciones:
Guardar Imagen
ALTS
Guarda lo mostrado actualmente como un archivo de fuente.
La traducción de esta página no está completa aún. Hasta que esté, las partes sin terminar vienen en su inglés original.
Terminal
@@ -58,7 +61,7 @@
La Terminal es la interfaz de Haiku a Bash, un intérprete de comandos (Bourne Again Shell en inglés).
-
Por favor refiérase al tema Scripting para ver algunos enlaces a tutoriales en línea sobre trabajo en el intérprete de comandos. Aquí nos concentraremos en la aplicación Terminal.
+
Please refer to the topic on Scripting for a few links to online tutorials on working in the shell and also have a look at Haiku's commandline applications. Here, we'll concentrate on the Terminal application itself.
Aquí hay una tabla de muchos de los atajos más comúnmente usados que están siempre disponibles, incluso si no haya un menú correspondiente:
ALTFx
Intercambia al Espacio de trabajo X (donde Fx es la tecla de función correspondiente a ese espacio de trabajo). Lleve la ventana activa con usted agregando la tecla MAYÚSCULAS
-
CTRLALT←/→/↑/↓
Navega espacialmente entre filas y columnas de los espacios de trabajo disponibles. Agregue MAYÚSCULAS para llevar la ventana activa con usted.
+
CTRLALT←/→/↑/↓
Navega espacialmente entre filas y columnas de los espacios de trabajo disponibles. Agregue MAYÚSCULAS para llevar la ventana activa con usted.
@@ -80,10 +83,13 @@ Cuando haya terminado puede guardar el resultado desde el menú SpicyKeys.
Cuando termine, guardará el archivo y hará que el sistema cargue la distribución de teclado modificada con este comando:
-
keymap -l MyKeymap
+
keymap -s < MyKeymap
+
Si quisiera importar esta distribución dentro del panel Distribución de teclado, tiene que compilarla primero en un formato binario:
+
keymap -c < MyKeymap
+
Esto producirá un archivo keymap.out el cual se puede cargar mediante el menú Open... (Abrir). Por cierto, el comando keymap es capaz de cargar también este formato binario: keymap -l < keymap.out
Este es el archivo arrojado (las teclas en extrema derecha del teclado estilizado se cortan para un desplegado más agradable en esta página):
-
#!/bin/keymap -l
+
#!/bin/keymap -s
#
# Raw key numbering for 101 keyboard...
#
diff --git a/userguide/es/preferences/locale.html b/userguide/es/preferences/locale.html
index 2f8ef3cd..3b5f29a7 100644
--- a/userguide/es/preferences/locale.html
+++ b/userguide/es/preferences/locale.html
@@ -36,6 +36,8 @@
Cette page n'est pas encore entièrement traduite. Les parties non encore traduites seront en anglais.
+
+
Programmes en ligne de commande
+
+
Localisation :
/boot/system/bin /boot/common/bin ~/config/bin
+
+
+
Vous trouverez tous les programmes en ligne de commande livrés avec Haiku soit
+dans /boot/system/bin, soit dans /boot/common/bin.
+Ces répertoires faisant tous partie de la variable PATH, l'emplacement d'un programme est donc automatiquement détecté. Ce qui suit n'est pas une liste exhaustive de tous les programmes en ligne de commande spécifiques à Haiku, mais juste un mise en évidence des quelques commandes les plus utiles pour vous en donnez un aperçu. N'hésitez pas à explorer le contenu du dossier bin/. En exécutant un programme avec le paramètre --help, vous verrez comment utiliser cette commande, ainsi que le détail de toutes ses différentes options.
Ces commandes sont utilisées pour afficher, lire, ajouter et supprimer des attributs de fichiers. Rappelez-vous que ces méta-données ne sont actuellement disponibles que sur les volumes formatés en BFS. Si vous déplacez un fichier vers un autre systèmes de fichiers, vous perdrez tous les attributs !
+Toutes ces commandes sont décrites dans le sujet consacré aux attributs dans le Terminal.
Avec ces commandes vous pouvez lister, créer, ré-indexer et retirer des attributs au mécanisme d'indexation BFS. Chaque volume a son propre index, souvenez-vous en quand copiez des fichiers d'un volume à l'autre.
+Ces commandes sont décrites dans le sujet qui traite des Index.
Voici quelques outils en ligne de commande qui sont particulièrement utiles pour les scripts (voir aussi le sujet sur le Bash et les Scripts).
+
+
alert
+
alert invoque la fenêtre d'alerte typique avec une icône ad-hoc, un texte explicatif et jusqu'à trois boutons. le titre du bouton pressé sera renvoyé avec un code d'état (commençant à 0). Voici un exemple et son résultat :
+
alert --idea "FantasticApp(tm) installed successfully!
+Would you like a link to it?" "On Desktop" "In Deskbar" "No thanks"
+
+
filepanel
+
filepanel affiche une boite de dialogue pour ouvrir ou enregistrer un fichier en permettant à l'utilisateur de choisir un fichier ou un emplacement. Vous obtiendrez comme valeur de retour, le fichier choisi ou le chemin du dossier.
+Parmi les paramètres disponibles, vous pouvez définir un répertoire de départ, un titre de fenêtre, un nom par défaut pour le fichier à enregistrer ou des restrictions aux types de fichiers autorisés. En voici un exemple :
+
filepanel -s -t "Save your logfile" -d ~/config/settings -n Fantastic.log
+
+
+
waitfor
+
waitfor est une méthode élégante pour attendre qu'une application ou une tâche particulière soit démarrée, ou terminée.
+
+
query
+
query est la version ligne de commande de la fenêtre de recherche. En fait, une façon rapide de créer une expression de recherche, est de construire une requête dans la fenêtre de recherche, de basculer vers les formules (by formula), et de copier le tout entre doubles quottes (") en paramètre à la commande query que vous appelez à partir du Terminal ou de votre script.
checkfs est un outil important pour détecter les erreurs dans votre système de fichiers. Il suffit d'ajouter le nom du volume ou du périphérique, et il va parcourir tous les fichiers et si possible, corriger des incohérences.
+
+
open
+
open est un petit outils très pratique pour ouvrir n'importe quel fichier avec son application préférée, ou pour démarrer une application particulière à partir de sa signature sans avoir besoin de connaître son emplacement exact. Ça fonctionne également avec les URLs, et même avec les dossiers "virtuels" . et .. qui représentent respectivement le dossier courant et le dossier parent, qui seront ainsi ouvert dans le Tracker.
+
desklink
+
desklink can install an icon for any file, folder, query or application in the Deskbar tray. It also offers the option to provide a context menu when right-clicking an icon to execute special actions. As an example, try this to add Screenshot with various options (the "\" in the first line is just for the line break in Terminal):
En haut, vous trouverez la taille et le niveau d'agrandissement de la zone. "32 x 32 @ 8 pixels/pixel" signifie que vous regardez un carré de 32 pixels de coté autour de votre pointeur de souris et que chaque pixel est agrandi 8 fois.
En-dessous, une valeur RVB et hexadécimale représente la couleur du pixel marqué par un contour rouge
-Vous pouvez déplacer le contour rouge avec les touches CURSEUR.
-
Pour mesurer les distances et aligner des objets, vous pouvez ajouter jusqu'à deux cibles bleues avec ALTH.
+Vous pouvez déplacer le contour rouge avec les touches ← / → / ↑ / ↓.
+
Pour mesurer les distances et aligner des objets, vous pouvez ajouter jusqu'à deux cibles bleues avec CMDH.
Leurs coordonnées X/Y à partir du coin supérieur gauche sont affichés en bas.
si les deux sont ajoutées, l'affichage sera complété de la distance X/Y entre l'un et l'autre.
-elles peuvent aussi être déplacées avec les touches CURSEUR. La cibles active est marquée d'un "x".
-
Vous pouvez déplacer le pointeur de la souris pixel par pixel avec les touches ALTCURSEUR.
+elles peuvent aussi être déplacées avec les touches ← / → / ↑ / ↓. La cibles active est marquée d'un "x".
+
Vous pouvez déplacer le pointeur de la souris pixel par pixel avec les touches OPT← / → / ↑ / ↓.
un clic sur le menu déroulant vous proposera
un certain nombre d'options :
Le Terminal est l'interface de Haiku à bash, le Bourne Again Shell.
-
Veuillez vous référer à la rubrique sur les Scripts, vous y trouverez quelques liens vers des tutoriels en ligne concernant le travail dans le shell. Ici, nous traiterons seulement de l'application Terminal.
+
Veuillez vous référer à la rubrique sur les Scripts, vous y trouverez quelques liens vers des tutoriels en ligne concernant le travail dans le shell, Jetez aussi un œil aux programmes en ligne de commande spécifiques à Haiku. Ici, nous traiterons seulement de l'application Terminal.
Voici une table des raccourcis clavier les plus courants qui sont toujours disponibles, même en l’absence d’élément de menu équivalent :
CMDFx
Passe à l’espace de travail X (Fx est la touche de fonction correspondant à cet espace de travail). Pressez en plus MAJ pour y déplacer la fenêtre active.
-
CTRLCMD←/→/↑/↓
Se déplace entre les lignes/colonnes des espaces de travail disponibles. Comme ci-dessus, utilisez MAJ pour déplacer la fenêtre active.
+
CTRLCMD←/→/↑/↓
Se déplace entre les lignes/colonnes des espaces de travail disponibles. Comme ci-dessus, utilisez MAJ pour déplacer la fenêtre active.
Il existe une autre méthode pour personnaliser votre disposition de clavier. Vous devez pour cela éditer un fichier contenant un grand nombre de valeurs hexadécimales, ce qui peut apparaître compliqué au premier abord, mais qui n’est pas impossible à réaliser.
Vous pouvez décompiler la disposition courante de clavier à l’aide ce cette commande de Terminal :
-
keymap -d MyKeymap
+
keymap -d > MyKeymap
Le fichier généré peut être ouvert dans un éditeur de texte. Utilisez de préférence une police de pas fixe pour l’affichage…
Au début de ce fichier, vous trouverez une représentation de clavier avec les valeurs hexadécimales correspondant à chaque touche. À la suite sont indiquées les assignations de touches pour chaque valeur. Vous pouvez donc y effectuer toutes les personnalisations disponibles depuis le panneau de préférences Keymap, et bien plus. Si vous avez des touches spéciales sur votre clavier, vous devriez pouvoir les faire fonctionner en éditant ce fichier. Toutefois, elle fonctionneront comme des touches ordinaires ou comme touches modificatrices. Vous ne pourrez pas, par exemple, utiliser vos touches multimédia pour augmenter/réduire le volume ou lancer des applications. Pour cela, vous aurez besoin de SpicyKeys.
Lorsque vous avez terminé, vous pouvez enregistrer le fichier, et activer la nouvelle disposition du clavier avec cette commande :
-
keymap -l MyKeymap
+
keymap -s < MyKeymap
+
Si vous voulez importer cette disposition de clavier dans le panneau de préférence Keymap, vous devez au préalable le compiler dans un format binaire :
+
keymap -c < MyKeymap
+
Le fichier keymap.out ainsi généré pourra être chargé dans Keymap via le menu Open.... Soit dit en passant, la commande keymap peut aussi charger ce fichier binaire : keymap -l < keymap.out
Voici un fichier décompilé (les touches les plus à droite du clavier représenté ont été coupées pour améliorer l’affichage de cette page) :
-
#!/bin/keymap -l
+
#!/bin/keymap -s
#
# Raw key numbering for 101 keyboard...
#
diff --git a/userguide/fr/preferences/locale.html b/userguide/fr/preferences/locale.html
index 642d5354..299709b8 100644
--- a/userguide/fr/preferences/locale.html
+++ b/userguide/fr/preferences/locale.html
@@ -36,6 +36,8 @@
La traduzione di questa pagina non è stata completata. Per questo motivo le parti non tradotte sono visibili in inglese.
+
+
Commandline applications
+
+
Location:
/boot/system/bin /boot/common/bin ~/config/bin
+
+
+
All commandline applications shipped with Haiku are in either /boot/system/bin or /boot/common/bin. Your own or additionally installed commandline apps should go in ~/config/bin. All these locations are part of the PATH variable and are therefore automatically found.
+The following isn't an exhaustive list of all Haiku-specific CLI apps, it serves just to highlight a few of the most useful to give you a taste. Feel encouraged to explore what's in the bin/ folders on your own a bit. Executing an app with the parameter --help shows the usage of the command and all its various options.
These commands are used to display, read out, add and remove attributes of files. Remember that these meta data are currently only available on BFS formatted volumes. Moving files onto other file systems will strip all attributes!
+All these commands are described in topic Attributes in Terminal.
With these commands you list, make, reindex and remove attributes to BFS' index. Every volume has it's own index, remember that when copying files from one volume to another.
+These commands are described in topic Index.
Here are a few commandline tools that are especially useful for scripting (see also topic Bash and Scripting).
+
+
alert
+
alert conjures up the typical alert window with a pre-defined icon, explanatory text and up to three buttons. It will return the title of the pressed button and an exit status (starting with 0). For example, this is made of the line:
+
alert --idea "FantasticApp(tm) installed successfully!
+Would you like a link to it?" "On Desktop" "In Deskbar" "No thanks"
+
+
+
filepanel
+
filepanel displays a load or save file panel and lets the user choose a file or location. As a return value you'll get the chosen file or folder's path. There are several parameters available, for example to set a starting directory, a window title, a default name when saving or restrictions to the allowed types of files. This is an example of
+
filepanel -s -t "Save your logfile" -d ~/config/settings -n Fantastic.log
+
+
+
waitfor
+
waitfor is a nice way to wait for a particular application or thread to be started or to have ended.
+
+
query
+
query is the commandline version of the Find panel. In fact, a quick way to generate the search term is to build a query in the Find panel, switch to by formula, add double quotes (") in front and back and paste the whole string after your query command in Terminal or your script.
checkfs is an important tool to check for errors in your file system. Simply add the volume or device name and it'll run through every file and correct inconsistencies where possible.
+
+
open
+
open is a very handy little tool. With it you open any file with its preferred application, or start a specific application by its signature without the need to know its exact path. It also works with URLs and even with the "virtual" directories . for the current directory and .. for the parent, opening the folder in Tracker.
+
+
desklink
+
desklink can install an icon for any file, folder, query or application in the Deskbar tray. It also offers the option to provide a context menu when right-clicking an icon to execute special actions. As an example, try this to add Screenshot with various options (the "\" in the first line is just for the line break in Terminal):
The translation of this page isn't yet complete. Until it is, unfinished parts use the English original.
+
La traduzione di questa pagina non è stata completata. Per questo motivo le parti non tradotte sono visibili in inglese.
Magnify
@@ -58,10 +60,10 @@
At the top you'll find the size and magnification level of the area. "32 x 32 @ 8 pixels/pixel" means that you look at a 32x32 pixel square around your mouse pointer and every pixel is enlarged by a factor of 8.
Below that is the color of the pixel that's marked by a red outline. Its color is presented as RGB and hex value.
-You can move the red outline with the CURSOR keys.
+You can move the red outline with ← / → / ↑ / ↓.
To measure distances and align objects, you can add up to two blue crosshairs with ALTH. Their X/Y coordinates toward the top left corner and, if both are added, their X/Y distance from each other, are displayed at the bottom.
-They can also be moved with the CURSOR keys. The active crosshair is marked with an "x".
-
You can move the mouse pointer pixel by pixel with OPTCURSOR keys.
+They can also be moved with ← / → / ↑ / ↓. The active crosshair is marked with an "x".
+
You can move the mouse pointer pixel by pixel with OPT← / → / ↑ / ↓.
Clicking on the pop-up menu gives you a number of options: