Updated user guide pages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39577 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
* Humdinger <[email protected]>
|
||||
* Translators:
|
||||
* miguel~1.mx
|
||||
* Oscar Carballal
|
||||
*
|
||||
-->
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
@@ -50,27 +51,27 @@
|
||||
<div>
|
||||
<div class="box-info">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.</div>
|
||||
|
||||
<h2><img src="../../images/apps-images/cli-app-icon_64.png" alt="cli-app-icon_64.png" width="64" height="64" />Commandline applications</h2>
|
||||
<h2><img src="../../images/apps-images/cli-app-icon_64.png" alt="cli-app-icon_64.png" width="64" height="64" />Aplicaciones de línea de comandos</h2>
|
||||
<table summary="layout" border="0" cellspacing="0" cellpadding="2">
|
||||
<tr><td>Ubicación:</td><td style="width:15px;"></td><td><span class="path">/boot/system/bin</span><br /><span class="path">/boot/common/bin</span><br /><span class="path">~/config/bin</span></td></tr>
|
||||
<tr><td>Ubicación:</td><td style="width:15px;"></td><td><span class="path">/bin</span><br /><span class="path">/boot/common/bin</span><br /><span class="path">~/config/bin</span></td></tr>
|
||||
</table>
|
||||
<p><br /></p>
|
||||
<p>All commandline applications shipped with Haiku are in either <span class="path">/boot/system/bin</span> or <span class="path">/boot/common/bin</span>. Your own or additionally installed commandline apps should go in <span class="path">~/config/bin</span>. All these locations are part of the PATH variable and are therefore automatically found.<br />
|
||||
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 <span class="path">bin/</span> folders on your own a bit. Executing an app with the parameter <tt>--help</tt> shows the usage of the command and all its various options.</p>
|
||||
|
||||
<h3><a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
<a id="cli-attributes" name="cli-attributes">Relating to attributes: <span class="cli">listattr</span>, <span class="cli">catattr</span>, <span class="cli">addattr</span>, <span class="cli">rmattr</span>, <span class="cli">copyattr</span></a></h3>
|
||||
<p>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!<br />
|
||||
All these commands are described in topic <a href="../attributes.html#attributes-terminal">Attributes in Terminal</a>.</p>
|
||||
<a id="cli-attributes" name="cli-attributes">Relacionados con los atributos: <span class="cli">listattr</span>, <span class="cli">catattr</span>, <span class="cli">addattr</span>, <span class="cli">rmattr</span>, <span class="cli">copyattr</span></a></h3>
|
||||
<p>Estos comandos son utilizados para mostrar, leer, añadir o eliminar atributos de ficheros. Recuerde que estos metadatos sólo están disponibles actualmente en los volúmenes formateados como BFS. ¡Mover los ficheros a otro sistema de ficheros eliminará todos los atributos!<br />
|
||||
Todos estos comandos están descritos en el tema <a href="../attributes.html#attributes-terminal">Atributos en la Terminal</a>.</p>
|
||||
|
||||
<h3><a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
<a id="cli-index" name="cli-index">Relating to the index: <span class="cli">lsindex</span>, <span class="cli">mkindex</span>, <span class="cli">reindex</span>, <span class="cli">rmindex</span></a></h3>
|
||||
<p>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.<br />
|
||||
These commands are described in topic <a href="../index.html">Index</a>.</p>
|
||||
<a id="cli-index" name="cli-index">Relacionados con el indexado: <span class="cli">lsindex</span>, <span class="cli">mkindex</span>, <span class="cli">reindex</span>, <span class="cli">rmindex</span></a></h3>
|
||||
<p>Con estos comandos se puede listar, crear, reindexar y eliminar atributos del índice de BFS. Todo volumen tiene su propio índice, recuérdelo cuando copie ficheros de un volumen a otro.<br />
|
||||
Estos comandos están descritos en el tema <a href="../index.html">Indice</a>.</p>
|
||||
|
||||
<h3><a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
<a id="cli-scripting" name="cli-scripting">Useful scripting commands</a></h3>
|
||||
<p>Here are a few commandline tools that are especially useful for scripting (see also topic <a href="../bash-scripting.html">Bash and Scripting</a>).</p>
|
||||
<a id="cli-scripting" name="cli-scripting">Comandos útiles de scripting</a></h3>
|
||||
<p>Aquí se muestran unas pocas herramientas en línea de comandos que son especialmente útiles para scripting (ver también el tema <a href="../bash-scripting.html">Bash y Scripting</a>).</p>
|
||||
<table summary="scripting cli tools" border="0" cellpadding="2" cellspacing="0">
|
||||
<tr><td><p><span class="cli">alert</span></p></td><td style="width:10px;"> </td>
|
||||
<td valign="top"><p><span class="cli">alert</span> 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:</p>
|
||||
@@ -101,9 +102,9 @@ Would you like a link to it?" "On Desktop" "In Deskbar" "No thanks"</pre>
|
||||
<td valign="top"><p><span class="cli">open</span> 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 <tt>.</tt> for the current directory and <tt>..</tt> for the parent, opening the folder in Tracker.</p>
|
||||
</td></tr>
|
||||
<tr><td><p><span class="cli">desklink</span></p></td><td style="width:10px;"> </td>
|
||||
<td valign="top"><p><span class="cli">desklink</span> 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 <span class="app">Screenshot</span> with various options (the "<tt>\</tt>" in the first line is just for the line break in Terminal):</p>
|
||||
<pre class="terminal">desklink "cmd=Active window (2s):/boot/system/apps/Screenshot --window --border --delay 2" \
|
||||
"cmd=Remove replicant:desklink --remove=Screenshot" /boot/system/apps/Screenshot
|
||||
<td valign="top"><p><span class="cli">desklink</span> 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 the commandline app <span class="app">screenshot</span> with various options (the "<tt>\</tt>" in the first line is just for the line break in Terminal):</p>
|
||||
<pre class="terminal"> desklink "cmd=Active window (2s):/bin/screenshot --window --border --delay 2" \
|
||||
"cmd=Remove replicant:desklink --remove=screenshot" /bin/screenshot
|
||||
</pre>
|
||||
<p><img src="../images/apps-images/cli-desklink.png" alt="cli-alert.png" /></p>
|
||||
</td></tr></table>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<!--
|
||||
*
|
||||
* Copyright 2008-2009, Haiku. All rights reserved.
|
||||
* Copyright 2008-2010, Haiku. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
@@ -63,24 +63,41 @@
|
||||
<p>La Terminal es la interfaz de Haiku a Bash, un intérprete de comandos (Bourne Again Shell en inglés).</p>
|
||||
<p>Please refer to the topic on <a href="../bash-scripting.html">Scripting</a> for a few links to online tutorials on working in the shell and also have a look at <a href="cli-apps.html">Haiku's commandline applications</a>. Here, we'll concentrate on the Terminal application itself.</p>
|
||||
|
||||
<h3>
|
||||
<h2>
|
||||
<a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
<a id="appearance" name="appearance">Apariencia</a></h3>
|
||||
<a id="windows-tabs" name="windows-tabs">Windows and tabs</a></h2>
|
||||
<p>Puede abrir tantas Terminales como se necesite, cada una de ellas en su propia ventana simplemente abriendo más Terminales o con <span class="key">ALT</span> <span class="key">N</span> desde una Terminal que ya esté corriendo. O puede usar la vista por pestañas de Terminal y abrir otra pestaña con <span class="key">ALT</span> <span class="key">T</span>.</p>
|
||||
<p>Una ventana de Terminal se puede retamañar como cualquier o puede usar los ajustes preestablecidos desde el menú <span class="menu">Settings | Window Size</span> (Selecciones | Ventana). <span class="key">ALT</span> <span class="key">ENTER</span> habilita o deshabilita el modo a pantalla completa.</p>
|
||||
<p>El tamaño de ventana modificada y la codificación del texto sólo se mantienen seleccionando <span class="menu">Settings | Save as default</span> (Selecciones | Guardar como predeterminado).</p>
|
||||
<img src="../images/apps-images/terminal.png" alt="terminal.png" />
|
||||
<br />
|
||||
<p><span class="menu">Settings | Preferences</span> (Selecciones | Preferencias) abre un cuadro de diálogo donde se puede seleccionar el tipo de letra, el tamaño y los diferentes colores de texto y fondo. Puede guardar diferentes selecciones como perfiles separados, los cuales pueden abrirse con un doble clic en una Terminal configurada apropiadamente.<br />
|
||||
Al presionar <span class="button">OK</span> se guardará la selección actual como predeterminada.</p>
|
||||
<p>Double-clicking into the emtpy part of the tab bar opens a new tab; onto a tab opens a dialog to rename its title. There are several %-designated variables that are explained with a tooltip when you hover the mouse over the text field.<br />
|
||||
By default, <tt>%1d: %p</tt>, a tab shows the current directory and, separated by a <tt>:</tt>, the name of the currently running process (or <tt>--</tt> if it's just bash running, probably idling). The screenshot above shows the first tab with a FTP session in the <span class="path">Desktop</span> folder and a second tab idling at <span class="path">home</span>.<br />
|
||||
Via <span class="menu">Edit|Window title...</span> the Terminal window's title can be edited in a similar way.</p>
|
||||
<p>Right-clicking a tab shows a context menu to <span class="menu">Close tab</span>, <span class="menu">Close other tabs</span> or, like double-clicking, <span class="menu">Edit tab title...</span>.</p>
|
||||
<p>Una ventana de Terminal se puede retamañar como cualquier o puede usar los ajustes preestablecidos desde el menú <span class="menu">Settings | Window Size</span> (Selecciones | Ventana). <span class="key">ALT</span> <span class="key">ENTER</span> habilita o deshabilita el modo a pantalla completa.</p>
|
||||
<p>El tamaño de ventana modificada y la codificación del texto sólo se mantienen seleccionando <span class="menu">Settings | Save as default</span> (Selecciones | Guardar como predeterminado).</p>
|
||||
|
||||
<h3>
|
||||
<h2><a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
<a id="settings" name="settings">Settings</a></h2>
|
||||
<p><span class="menu">Settings | Settings...</span> opens a panel to configure the standard settings of a Terminal.</p>
|
||||
<img src="../images/apps-images/terminal-settings.png" alt="terminal-settings.png" />
|
||||
<br />
|
||||
<p>It starts off with the "formulas" for naming tab and window titles. Again, tooltips show the available variables. Below that you set font type, font size and the different text and background colors. You can choose a pre-defined color schema like <span class="menu">Black on white</span> or <span class="menu">White on black</span> or create a <span class="menu">Custom</span> one using the color picker below.<br />
|
||||
Activate the checkbox to <span class="menu">Confirm exit if active programs exist</span> and you'll be warned when trying to close a Terminal window while an app is still being executed.<br />
|
||||
You can save different settings as separate profiles, which on double-click open an accordingly configured Terminal.<br />
|
||||
Pressing <span class="button">OK</span> will save the current settings as default.</p>
|
||||
|
||||
<h2>
|
||||
<a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
<a id="customization" name="customization">Personalización de Bash</a></h3>
|
||||
<a id="shortcuts" name="shortcuts">Atajos de teclado</a></h2>
|
||||
<p>Encontrará una lista de atajos útiles en <a href="../keyboard-shortcuts.html#terminal">Atajos y combinaciones de teclas</a>.</p>
|
||||
|
||||
<h2>
|
||||
<a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
<a id="customization" name="customization">Personalización de Bash</a></h2>
|
||||
<p>Viniendo de Unix, hay incontables posibilidades para personalizar al propio Bash. Hay dos archivos que son especialmente importantes para el usuario: <span class="cli">.profile</span> y <span class="cli">.inputrc</span><br />
|
||||
Ambos archivos pueden crearse en la carpeta <span class="path">home/</span> y agregar o sobrescribir los predeterminados del sistema que se definen en <span class="path">/boot/system/etc/</span>.</p>
|
||||
|
||||
<h4>.profile</h4>
|
||||
<h3>.profile</h3>
|
||||
<p>El archivo <span class="cli">.profile</span> se caraga cada vez que se abre una Terminal nueva. Selecciona toda clase de "aliases" y variables que afectarán el comportamiento y apariencia de Bash. Encontrará muchos recursos en línea que detallen todas las posibilidades.</p>
|
||||
<p>El "Haiku/BeOS Tip Server" (Servidor de consejos de Haiku/BeOS, en inglés) tiene bastantes consejos para iniciar, por ejemplo:</p>
|
||||
<ul>
|
||||
@@ -91,17 +108,12 @@ Ambos archivos pueden crearse en la carpeta <span class="path">home/</span> y ag
|
||||
</ul>
|
||||
<p>Y hay más, <a href="http://betips.net/index.php?s=.profile">déle un vistazo</a>.</p>
|
||||
|
||||
<h4>.inputrc</h4>
|
||||
<h3>.inputrc</h3>
|
||||
<p>El archivo <span class="cli">.inputrc</span> trata con teclas de acceso rápido. Ya que Haiku proporciona predeterminados útiles, probablemente no tenga que lidiar con estas selecciones más envueltas. Si tiene necesidades especiales aquí, consulte alguno de los vastos recursos en línea, p. ej., <a href="http://tiswww.case.edu/php/chet/readline/rluserman.html">The GNU Readline Library</a> (La biblioteca de lectura en línea de GNU, en inglés).</p>
|
||||
|
||||
<h3>
|
||||
<h2>
|
||||
<a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
<a id="shortcuts" name="shortcuts">Atajos de teclado</a></h3>
|
||||
<p>Encontrará una lista de atajos útiles en <a href="../keyboard-shortcuts.html#terminal">Atajos y combinaciones de teclas</a>.</p>
|
||||
|
||||
<h3>
|
||||
<a href="#"><img src="../../images/up.png" style="border:none;float:right" alt="index" /></a>
|
||||
<a id="hints" name="hints">Pistas para trabajar con la Terminal</a></h3>
|
||||
<a id="hints" name="hints">Pistas para trabajar con la Terminal</a></h2>
|
||||
<ul><li><p>Al arrastrar un archivo o carpeta desde una ventana de Tracker a la Terminal insertará su ruta en la posición del cursor. Arrastrar con el botón derecho del ratón ofrece acciones adicionales en un menú contextual:</p>
|
||||
<table summary="layout" border="0" cellpadding="2" cellspacing="0">
|
||||
<tr><td><span class="menu">Insert Path</span> (insertar ruta)</td><td> </td><td>Inserta la ubicación del archivo, igual que arrastrar y soltar con el botón izquierdo del ratón.</td></tr>
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
* Humdinger <[email protected]>
|
||||
* Translators:
|
||||
* miguel~1.mx
|
||||
* Oscar Carballal
|
||||
*
|
||||
-->
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
@@ -58,16 +59,16 @@
|
||||
<tr><td>Configuración:</td><td></td><td><span class="path">~/config/settings/TextSearch</span></td></tr>
|
||||
</table>
|
||||
<p><br /></p>
|
||||
<p>TextSearch looks for a string in text files. Typically it is invoked from <a href="../tracker-add-ons.html">Tracker's Add-on</a> context menu on the selection of files or folders you want to search.</p>
|
||||
<p>TextSearch busca por una cadena en los ficheros de texto. Se suele invocar típicamente desde el menú contextual <a href="../tracker-add-ons.html">agregados de Tracker</a> en la selección de ficheros o directorios que quiere buscar.</p>
|
||||
|
||||
<img src="../images/apps-images/textsearch.png" alt="textsearch.png" />
|
||||
|
||||
<p>You enter a search string in the text box on top and hit <span class="key">RETURN</span> or click <span class="button">Search</span> to start. If <span class="menu">Show lines</span> is checked, the hits are automatically expanded to show the lines of the file containing the search string.</p>
|
||||
<p>Se introduce la cadena a buscar en la caja de texto de la parte superior y se pulsa <span class="key">RETURN</span> o se hace clic en <span class="button">Buscar</span> para comenzar. Si <span class="menu">Mostrar líneas</span> está marcado, las coincidencias son expandidas automáticamente para mostrar las líneas del fichero que contiene la cadena de búsqueda.</p>
|
||||
|
||||
<p>Only a few words on some of the otherwise self-explaining menu items:</p>
|
||||
<table summary="menus" border="0" cellpadding="2" cellspacing="0">
|
||||
<tr><td colspan="5"><h3>File menu</h3></td></tr>
|
||||
<tr><td class="onelinetop"><span class="menu">New window</span></td><td></td><td><span class="key">ALT</span> <span class="key">N</span></td><td> </td><td>Opens a new window where you can enter another string and search through the same files/folders.
|
||||
<tr><td colspan="5"><h3>Menú Archivo</h3></td></tr>
|
||||
<tr><td class="onelinetop"><span class="menu">Nueva ventana</span></td><td></td><td><span class="key">ALT</span> <span class="key">N</span></td><td> </td><td>Opens a new window where you can enter another string and search through the same files/folders.
|
||||
</td></tr>
|
||||
<tr><td><span class="menu">Set target...</span></td><td></td><td><span class="key">ALT</span> <span class="key">F</span></td><td></td><td>Lets you choose a new set of files and folders to search through.</td></tr>
|
||||
<tr><td colspan="5"><h3>Action menu</h3></td></tr>
|
||||
|
||||
Reference in New Issue
Block a user