diff --git a/docs/userguide/de/applications.html b/docs/userguide/de/applications.html index 6dac372888..18d12bb2eb 100644 --- a/docs/userguide/de/applications.html +++ b/docs/userguide/de/applications.html @@ -24,7 +24,7 @@
English| Terminal | Accès au shell bash. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TextSearch | - | Un outil de recherche dans les fichiers texte [pas encore documenté] | Un outil de recherche dans les fichiers texte. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TV | Un visualisateur de TV analogique [pas encore documenté] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WebPositive | @@ -176,9 +176,9 @@ en ligne de commandes spécifiques à Haiku mérites d'êtres mentionnés. Ces c | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Terminal | Access to the bash. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TextSearch | - | A search tool for text files. [still missing] | A search tool for text files. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TV | A viewer for analog TV. [still missing] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WebPositive | @@ -171,7 +171,7 @@ Otherwise, uninstalling is simply done by deleting the application's folder. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| コマンドライン・アプリケーション |
| Deskbarメニュー: | Applications | |
| 場所: | /boot/system/apps/CDPlayer | |
| 設定ファイル: | ~/cd/* - Stores details to all identified CDs | |
| 設定ファイル: | ~/cd/* - 認識されたすべてのCDの詳細情報が保存されています |
-Usage is pretty much what you'd expect from looking at the control buttons.
-Activate the Repeat button to the left of Shuffle to loop the complete CD.
If you need more control like playlists, try MediaPlayer instead.
+使い方はまさに、コントロール・ボタンから予想される通りです。
+CD全体を繰り返し再生するためには、Shuffleの左隣のRepeatボタンをオンにします。
再生リストといったより複雑な制御が必要な場合には、かわりにMediaPlayerを使用してください。
| 設定ファイル: | ~/config/settings/CharacterMap settings |
CharacterMap will show you the UTF-8 code of every character a font supports.
+CharacterMapは、そのフォントがサポートしている各文字のUTF-8コードを表示します。
-To the left you have the standardized blocks, together with a handy filter function. Optionally, you can choose to also Show Private Blocks from the View menu. The right shows the actual characters in these blocks, using the font specified in the Font menu. Below that you can change the font size. And below that, the values of the character currently under the mouse pointer is displayed in hex, decimal and UTF-8 notation.
-You can drag&drop a character directly from the character map into a text editor, or right-click on one to either Copy Character (ALT C) or Copy As Escaped Byte String (SHIFT ALT C). Resulting in, e.g. either € or \xe2\x82\xac.
+左側には、便利なフィルタ機能を備えた、様々な言語間で標準化された文字コード区画が表示されます。オプションとして、各言語固有の文字コード区画を表示するために、ViewメニューからShow Private Blocksを選択することもできます。右側には、Fontメニューで選択したフォントを使用して、その文字コード区画に属する実際の文字が表示されます。その下の部分でフォント・サイズを変更することができます。さらにその下の部分には、現在マウス・ポインタの位置にある文字の文字コードが16進表記、10進表記およびUTF-8表記で表示されます。
+文字コード・マップからテキスト・エディタに対して文字を直接ドラッグ・アンド・ドロップすることができます。他の機能として、文字を右クリックしてCopy Character (ALT C)を選択することも、Copy As Escaped Byte String (SHIFT ALT C)を選択することもできます。例えば、前者の場合は€という文字が、後者の場合は\xe2\x82\xacという文字列がコピーされます。
| Location: | /boot/system/bin /boot/common/bin ~/config/bin | |
| 場所: | /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.
Haikuに同梱されているすべてのコマンドライン・アプリケーションは、/boot/system/binまたは/boot/common/binにあります。あなた自身が作ったコマンドライン・アプリケーションやあなたが追加インストールしたコマンドライン・アプリケーションは、~/config/binに配置する必要があります。これらの場所はPATH環境変数に含まれているため、自動的に検出されます。
+以下はHaiku固有のすべてのCLIアプリケーションを網羅的にリスト・アップしたものではなく、一例として示すのに最も効果的なアプリケーションのいくつかに注目したに過ぎません。ほんの少し勇気を出して、ご自身でbin/フォルダ内に何があるのか探索してみてください。--helpという引数を付けてアプリケーションを実行すると、そのコマンドの使い方と様々なオプションすべてに関する説明が表示されます。
-Relating to attributes: listattr, catattr, addattr, rmattr, copyattrThese 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.
これらのコマンドは、ファイルの属性を表示、出力、追加、削除するために使用します。現在のところ、これらのメタ・データはBFSで初期化されたボリュームでのみ使用できることに注意してください。BFS以外のファイル・システムにファイルを移動させると、すべての属性が失われてしまいます!
+これらすべてのコマンドについては、Terminalにおける属性というトピックで解説しています。
-Relating to the index: lsindex, mkindex, reindex, rmindexWith 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.
これらのコマンドを使用することにより、インデックスの一覧表示やインデックスの生成・再生生、BFSのインデックスへ結びつけられた属性の削除が行えます。各ボリュームは固有のインデックスを保持しています。ファイルをあるボリュームから別のボリュームへコピーするときには、この点に注意してください。
+これらのコマンドについては、インデックスというトピックで解説しています。
-Useful scripting commandsHere are a few commandline tools that are especially useful for scripting (see also topic Bash and Scripting).
+スクリプト処理に役立つコマンド +以下では、スクリプト処理(Bashとスクリプト処理のトピックも合わせてご覧ください)に対して特に便利なコマンドライン・ツールを紹介します。
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は既定のアイコンと説明文、および3つのボタンの付いた典型的な警告ウィンドウを表示します。このコマンドは、クリックされたボタンのタイトルと終了ステータス(0から始まります)を返します。下の例は、次の1行で作成されます: 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はファイルの読み込みまたは書き込みパネルを表示して、ユーザーがファイルや場所を選択できるようにします。戻り値として選択されたファイルまたはフォルダのパスが得られます。既定のディレクトリを指定したり、ウィンドウのタイトルを設定したり、ファイルを保存するときの既定のファイル名および許可するファイル・タイプを指定したりするための引数がいくつかあります。下は次のコマンドを実行した場合の例です: 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. + | waitforはアプリケーションやスレッドの開始および終了を待つのにピッタリの方法です。 |
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. - |
queryはFindパネルのコマンドライン・バージョンです。さらに、Findパネルでクエリを生成し、by formulaに切り替えて先頭と末尾にダブル・クオート(")を追加し、その文字列全体をTerminalまたはスクリプトのqueryコマンドの後に貼り付けることで、素早く検索語句を生成することができます。
-Other commandscheckfs | - | 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. + | checkfsはファイル・システムのエラーをチェックするための重要なツールです。実行は単にボリューム名またはデバイス名を追加するだけです。すると、すべてのファイルを走査して、可能な場合は不整合を修復します。 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. + | openは非常に便利な小さいツールです。このコマンドを使うと任意のファイルを適切なアプリケーションで開くことや、シグナチャーを用いることで正確なパスを知ることなしにアプリケーションを起動することができます。このコマンドはURLや「仮想的な」ディレクトリを用いることさえできます。ディレクトリの場合は.でカレント・ディレクトリを、..で親ディレクトリを表すことができ、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): + | desklinkを使用すると、任意のファイルやフォルダ、クエリ、アプリケーションのアイコンをDeskbarトレイにインストールすることができます。特別なアクションを実行するためにアイコンを右クリックしたときに表示されるコンテクスト・メニューを定義するためのオプションもあります。例として、次のように色々なオプション(1行目の"/"はTerminalでの改行を表します)を付けてScreenshotをDeskbarに追加してみましょう: desklink "cmd=Active window (2s):/boot/system/apps/Screenshot --window --border --delay 2" \ "cmd=Remove replicant:desklink --remove=Screenshot" /boot/system/apps/Screenshotdiff --git a/docs/userguide/jp/applications/codycam.html b/docs/userguide/jp/applications/codycam.html index 7b27bd0cfa..6ae28649e8 100644 --- a/docs/userguide/jp/applications/codycam.html +++ b/docs/userguide/jp/applications/codycam.html @@ -9,6 +9,8 @@ * * Authors: * Humdinger
-
The translation of this page isn't yet complete. Until it is, unfinished parts use the English original.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 設定ファイル: | ~/config/settings/codycam |
With CodyCam you take pictures at a specified interval from a connected webcam or any other video-in device and save it via FTP.
+CodyCamを使用すると、接続されたウェブ・カメラや他のビデオ入力機器から設定された時間間隔で画像を取得し、FTP経由でその画像を保存することができます。
-To the left under the preview, you set the filename that'll be suffixed with an increasing number for every picture taken. Beneath that you decide on the file format and the rate the pictures are taken.
-To the right you choose either FTP or sFTP (if SSH is available) and enter the needed data to save the images on a server.
+プレビュー画面の左下でファイル名を指定します。このファイル名の後に、画像が取得されるたびに1ずつ増加する数字が付け加わります。ファイル名のすぐ下の部分で、ファイルの形式と画像が取得される頻度を決定します。
+プレビュー画面の右下でFTPまたはsFTP (SSHが使用できる場合)を選択し、サーバーに画像を保存するために必要な情報を入力します。
| Deskbar: | Applications | |
| Location: | /boot/system/apps/WebPositive | |
| 場所: | /boot/system/apps/WebPositive | |
| Settings: | ~/config/settings/WebPositive/ - Configuration files, cookies, cache and browsing history | |
| ~/config/settings/WebPositive/Bookmarks - Stores every bookmark as a file |
「スクリプト化」とは、複数のコマンドを並べて書き、「スクリプト」と呼ばれるテキスト・ファイルとして保存することにより処理を自動化する方法のことです。スクリプトを走らせる度に、あたかもTerminalでそれらコマンドを1つ1つ手で打ち込んでいるようにコマンドが実行されます。
+
「スクリプト処理」とは、複数のコマンドを並べて書き、「スクリプト」と呼ばれるテキスト・ファイルとして保存することにより処理を自動化する方法のことです。スクリプトを走らせる度に、あたかもTerminalでそれらコマンドを1つ1つ手で打ち込んでいるようにコマンドが実行されます。
スクリプトは、単に数個のコマンドをある特定の順番で実行するものから、複雑なタスクを処理するための高度なコードのかたまりまで、多岐にわたります。
-スクリプト化のための必読書シェル内で作業するためのいくつかの基礎を学んだあとは、スクリプト化の世界にゆっくりと歩み出しましょう。このときも、本屋と同じくらい豊富なチュートリアルやリファレンスをオンライン上で見つけられるでしょう。Haikuにほぼピッタリの非常にすばらしい入門編に、オンラインで入手可能なScot Hacker氏によるBeOSの必読書のScripting Chapter (PDF, 900kb)があります。
+スクリプト処理のための必読書 +シェル内で作業するためのいくつかの基礎を学んだあとは、スクリプト処理の世界にゆっくりと歩み出しましょう。このときも、本屋と同じくらい豊富なチュートリアルやリファレンスをオンライン上で見つけられるでしょう。Haikuにほぼピッタリの非常にすばらしい入門編に、オンラインで入手可能なScot Hacker氏によるBeOSの必読書のScripting Chapter (PDF, 900kb)があります。
HaikuにおけるスクリプトHaikuでは、当然のことながらシステムもまたスクリプト化機能を使用しています。起動とシャット・ダウンはスクリプト化された手続きの典型です。はじめから定義されたこれら手続きは、特定のユーザー・スクリプトを用いてユーザーが拡張することができます。
+
Haikuでは、当然のことながらシステムもまたスクリプト処理を使用しています。起動とシャット・ダウンはスクリプト処理手続きの典型です。はじめから定義されたこれら手続きは、特定のユーザー・スクリプトを用いてユーザーが拡張することができます。
もしこれらユーザー・スクリプトがまだ存在しない場合は、手動でこれらファイルを作成する必要があります。ユーザー・スクリプトが存在する場合は、処理を実行したい場所に必要なコマンドを追加するだけで済みます。
Haiku's Boot Loader can help when you experience hardware related problems or want to choose which Haiku installation to start, if you have more than one (maybe on an installation CD or USB stick).
-It's also handy after you installed a software component that acts up and prevents you from booting the system to remove it again. The Disable user add-ons option that's mentioned below, will start Haiku without loading user installed components, e.g. a driver.
To enter the Boot Loader options, you have to press and keep holding the SHIFT key before the beginning of Haiku's boot process. If there's a boot manager installed, you can start holding SHIFT before invoking the boot entry for Haiku. If Haiku is the only operating system on the machine, you can begin holding the key while still seeing boot messages from the BIOS.
+ハードウェア周りに問題が生じた場合や、Haikuを2つ以上インストールしていて(おそらくインストールCD上あるいはUSBメモリ上のHaiku)、そのいずれかを選択したい場合にHaikuのブートローダーは役立ちます。
+また、あるソフトウェア・コンポーネントをインストールしたもののそれが正しく動作せず、システムの起動を妨げてしまうような状況で、そのコンポーネントを再度削除するのにもHaikuのブートローダーは役立ちます。後で述べるように、Disable user add-onsオプションを有効にすると、ドライバーといったユーザーがインストールしたコンポーネントを読み込まずにHaikuが起動します。
ブートローダーのオプションに入るには、Haikuの起動プロセスが始まる前にSHIFTキーを押しっぱなしにする必要があります。ブートマネージャーがインストールされている場合は、Haikuのブート・エントリーを実行する前にSHIFTを押し続ける動作を始めても構いません。Haikuがそのマシンの唯一のオペレーティング・システムである場合、BIOSからのブート・メッセージがまだ表示されている状態からSHIFTキーを押し続ける動作を始めることができます。
Once it's there, you're offered four menus:
+ブートローダーのオプションに入ると、次の4つのメニューが表示されます:
| Select boot volume | Choose which Haiku installation to start. | |||
| Select boot volume | インストールされたHaikuのうち、どれを起動するのか選択します。 | |||
| Select safe mode options - | There are several options to try in case of hardware related trouble. When moving the selection bar to an option, a short explanation appears at the bottom of the screen. + | ハードウェア周りに問題が生じた場合に試してみるべきオプションがいくつかあります。選択バーをあるオプションに移動させると、画面の下部に短い説明が表示されます。
- Safe mode | ||
| Select debug options - | Here you'll find several options that help with debugging or getting details for a bug report. Again, a short explanation for each option is displayed at the bottom. + | これを選択すると、いくつかのデバッグするのに役立つオプションや、バグ報告のために詳細な情報を取得するのに役立つオプションが現れます。ここでも、各オプションに関する短い説明が画面の下部に表示されます。
- Enable serial debug output If "debug syslog" is enabled, a warm reboot after a crash shows these additional options: +"debug syslog"を有効にした場合、クラッシュ後にソフトウェア・リセットを行うと、次の追加のオプションが表示されます: - Display syslog from previous session | ||
| Select fail safe video mode | If you had to activate the option Use fail-safe video mode, you can set resolution and color depth. | |||
| Select fail safe video mode | Use fail-safe video modeを有効にしなければならないときに、解像度と色深度を設定することができます。 |
After activating one or more options, you return to the main menu and continue booting, which presents you with this boot screen:
+1つ以上のオプションを有効にしてメイン・メニューに戻り、起動を続行すると、このブート・スクリーンが表示されます:
-If everything works OK, one symbol after another quickly lights up.
-The different symbols roughly correspond to these boot stages:
すべてが順調に進むと、各シンボルが次々に点灯して行きます。
+異なるシンボルは大まかに次のブート・ステージに対応します:
| Atom | Initializing modules. | |
| Disk + magnifier | Creating rootfs (/) and mounting devfs (/dev). | |
| Plug-in card | Initializing device manager. | |
| Boot disk | Mounting boot disk. | |
| Chip | Loading CPU specific modules. | |
| Folder | Final initialization of subsystems. | |
| Rocket | Boot script starting the system. | |
| 原子 | モジュールの初期化。 | |
| ディスク + 虫眼鏡 | rootfs (/)の作成とdevfs (/dev)のマウント。 | |
| プラグ・イン カード | デバイス・マネージャーの初期化。 | |
| ブート・ディスク | 起動ディスクのマウント。 | |
| ICチップ | CPU固有のモジュールの読み込み。 | |
| フォルダ | サブシステムの最終初期化。 | |
| ロケット | 起動スクリプトによるシステムの起動。 |
| Deskbar: | Preferences | |
| Location: | /boot/system/preferences/Locale | |
| 場所: | /boot/system/preferences/Locale | |
| Settings: | ~/config/settings/Locale settings |
| Deskbar: | Preferences | |
| Location: | /boot/system/preferences/Touchpad | |
| 場所: | /boot/system/preferences/Touchpad | |
| Settings: | ~/config/settings/Touchpad_settings |
English| Расположение в Deskbar: | Приложения (Applications) | |
| Расположение в Tracker: | /boot/system/apps/Screenshot -/bin/screenshot | |
| Расположение в Tracker: | /boot/system/apps/Screenshot | |
| Настройки хранятся по адресу: | ~/config/settings/screenshot |
Screenshots are taken by either starting the Screenshot application or by pressing the PRINT key,
+Помимо получения обычных скриншотов через клавишу Print Screen, которая помещает изображение текущего экрана в PNG формате в папку /boot/home, это приложение содержит и ряд других полезных настроек.

In the Screenshot panel you can toggle between taking the whole screen or just the active window and decide if the window border and mouse pointer should be included. You can also enter a delay before a screenshot is taken.
+Помимо очевидных опций - захвата всего экрана (Capture entire screen), либо только активного окна (Capture active window), включая его грани (Include window border) и курсор мыши (Include mouse pointer), также имеется возможность ввести задержку перед снятием скриншота. Эта задержка будет задействована, только если вы снимаете новый скриншот, нажимая кнопку Take Screenshot.
Below that you set the name, format and location for the screenshot that will be used when you click Save. Instead of saving the file to disk you can also decide to Copy to clipboard to be able to paste the shot directly into another application, or take a New screenshot.
All settings are remembered the next time you take a screenshot, enabling these convenient keyboard shortcuts:
| Расположение в Deskbar: | No entry, normally launched via Tracker Add-on | |
| Расположение в Deskbar: | Отсутствует в меню Deskbar, обычно запускается при помощи дополнения для Tracker | |
| Расположение в Tracker: | /boot/system/apps/TextSearch | |
| Настройки хранятся по адресу: | ~/config/settings/TextSearch |
English| 索引 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 位图图标和矢量图标 + | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 点阵图标和矢量图标 图标属性 创建图标 路径 @@ -75,28 +76,28 @@ Before we come to the actual creating of icons in Icon-O-Matic, a few words on Haiku's icons in general. +在开始正式使用 Icon-O-Matic 创建图标之前,我们需要了解一些有关Haiku图标的基本信息。
- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bitmap | SVG | HVIF |
| 点阵图标 | SVG | HVIF |
| 1,024 byte + 256 byte | 7,192 byte | 768 byte |
| 1,024 字节 + 256 字节 | 7,192 字节 | 768 字节 |
Note that the BeOS used two versions of an icon, one 16x16 and one 32x32, to achieve good visuals in List and Icon View mode.
-This trick isn't needed with vector icons. Besides only taking up a few hundred bytes in a file, vector icons also scale much better than bitmaps. (Note: BeOS offered only a 16x16 and 32x32 display.)
+注意,BeOS使用了两个版本的图标,16x16 和 32x32,分别为了在列表和图标视图模式获得良好的视觉效果。
+矢量图标则无需这种技巧。它们除了仅需使用几百字节的空间,而且缩放效果也要比点阵图标好很多。(注意:BeOS仅提供了16x16和32x32两种图标。)
| 16x16 | 32x32 | 64x64 | 128x128 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bitmap | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 点阵图标 | ![]() |
![]() | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Vector | +|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 矢量图标 | ![]() |
@@ -343,9 +344,9 @@ Of course you can move these indicators to change the gradient to your liking. Y
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Hide/Show Grid | ALT G | 在覆盖网格之间进行切换。 | ||
| Freeze/Unfreeze image | ALT F | 停止/继续更新放大区域。 | ||
| Stick Coordinates | ALT I | 持续更新放大区域,但是不再追踪鼠标指针。 | ||
| Make Square | ALT / | Reverts back to a square display after resizing the window. | ||
| Make Square | ALT / | 恢复到调整窗口大小之后的正方形显示。 | ||
| Decrease Window Size | ALT - | 缩小鼠标指针周围放大区域的面积。 | ||
| Increase Window Size | ALT + | 增加鼠标指针周围放大区域的面积。 | ||
| Decrease Pixel Size | ALT , | 缩小放大倍数。 | ||
File 菜单 | ||||
| New window | ALT N | Opens a new window where you can enter another string and search through the same files/folders. - | ||
| Set target... | ALT F | Lets you choose a new set of files and folders to search through. | ||
| New window | ALT N | 打开新窗口,您可以输入其他的字符,然后在相同的文件/文件夹中进行搜索。 | ||
| Set target... | ALT F | 让你选择新的目标文件和文件夹进行搜索。 | ||
Action 菜单 | ||||
| Trim selection | ALT T | Removes all entries from the list that are not currently selected. | ||
| Open selection | ALT O | Opens the currently selected files with their preferred application (same as a double-click). If it's a text editor supporting it (like Pe), you can jump to the exact line the search string was found. | ||
| Open files in Tracker | ALT K | Opens the location of the currently selected files in Tracker. | ||
| Copy text to clipboard | ALT B | Copies the current selection to the clipboard. | ||
| Trim selection | ALT T | 删除列表中目前未选中的所有项目。 | ||
| Open selection | ALT O | 在首选程序中打开当前选中文件(与双击文件相同)。 如果它支持文本编辑器(例如 Pe),您可以跳转至匹配字符所在的确切的行。 | ||
| Open files in Tracker | ALT K | 在 Tracker 中打开当前选中文件所在的文件夹。 | ||
| Copy text to clipboard | ALT B | 复制当前选中项目至剪贴板。 | ||
Settings 菜单 | ||||
| Skip folders starting with a dot | This is useful when working in a "unixy" environment, where often administrative files are hidden inside ".folders/". Source versioning systems like SVN and CVS are examples of applications using this and are also widely used in Haiku. | |||
| Escape search text | TextSearch uses the command line tool grep. For it, special characters like '"*\$?! and spaces have to be escaped with a \. Deactivating this setting means you have to do this yourself, but in exchange grants you the power of regular expressions. | |||
| Text files only | TextSearch is currently only useful for finding strings in plain text files. Deactivating this setting will have it look through any kind of file anyway. | |||
| Skip folders starting with a dot | 如果处在 “unixy” 环境下,所有的管理员文件隐藏在 “.folders/” 下,它将会非常有用。 源版本控制系统 SVN 和 CVS 属于此类程序,而且在Haiku中使用非常广泛。 | |||
| Escape search text | 文本搜索使用了命令行工具 grep。对于它,特殊字符如 '"*\$?! 以及空格必须要使用 \ 来进行控制显示。而撤销该设置则意味着您必须手动的进行操作,但是作为交换,它给予了您强大的 正则表达式。 | |||
| Text files only | 文本搜索目前仅可用于查找普通文本文件中的字符。如果撤销该设置,它将会对所有类型的文件进行搜索。 | |||
History 菜单 | ||||
| 包含最近查询的字符。 | ||||
Encoding 菜单 | ||||
| 设置: | ~/config/settings/Mail/* | |||
Haiku provides a system that retrieves e-mail regularly via a Mail Service (also known as mail_daemon) and saves each mail as a single text file. It parses the mail and fills its attributes with all necessary header information, like from, to, subject and its unread status. Now it can be queried by you or any application. This system also makes switching e-mail clients easy as all the data and your configuration stays the same.
-The configuration is done in the E-Mail preference panel.
Haiku提供了邮件系统,它通过邮件服务(mail_daemon)检索电子邮箱,并且将邮件保存为单个文本文件。它将邮件分为几个部分,并且将所有必须的头信息保存为邮件属性,例如发件人,收件人,主题以及未读状态。目前所有的邮件可以被您或者任何的程序所查询。该系统还可以在保持所有的数据和配置不变的情况下,切换电子邮箱客户端。
+
+邮箱的配置可以在电子邮箱首选项面板中完成。
@@ -78,16 +79,16 @@ The configuration is done in the E-Mail preference panel.
让我们开始了解有关邮箱账户的设置过程。
您可以点击 Add 按钮新建一个未命名账户。它将会打开一个用于填写有关您的账户信息的面板:
-首先, declare the Account Type which is either Receive Mail Only, Send Mail Only, or the most usual type, Send and Receive Mail. Then you set how you get your mail, via POP3 or IMAP.
-Now you enter your E-mail Address, Login Name and Password, give an Account Name under which it will be known under Haiku and your Real Name.
-If your account is from a major e-mail provider, Haiku already knows all technical details like server IP addresses and the following information is already filled in automatically. If that is not the case, just follow this guide and fill in the details to your e-mail account accordingly.
+首先,声明账户类型:Receive Mail Only ,Send Mail Only ,或常用的 Send and Receive Mail。然后您需要设置如何接收邮件,POP3 或 IMAP。
+接下来,输入您的 邮箱地址,登陆名 和 密码;之后,给出您的 账户名 以及 真实姓名,它们将在Haiku中始终可见。
+如果您的账户来自于主要的电子邮箱提供商,Haiku已经知道了所有的技术细节,例如服务器IP地址,并且 下述信息已经被自动填写。如果不是这种情况,您只需要按照提示,填写邮箱账户的相应信息。
收件箱的设置Click on Incoming under your account's name to set up how e-mails are received.
+点击您的账户名下的 Incoming 设置如何进行邮件的接收。
-From the pop-up menu you choose the protocol used by your provider. IMAP and POP3 are supported.
+从弹出菜单中,选择您的提供商所使用的协议。目前支持的协议有 IMAP 和 POP3 。
Next is the Mail Server address for incoming mails. If your provider needs you to log into a specific port, you add that to the address, separated by a colon. For example, pop.your-provider.org:1400.
Then you enter your login information, Username and Password, and if necessary change the Login Type from the default Plain Text to APOP for authentication.
If you use POP3 and retrieve mails of this account from different computers, you may want to activate the option to Leave mail on server and only Remove mail from server when deleted locally.
diff --git a/docs/userguide/zh_CN/preferences/keymap.html b/docs/userguide/zh_CN/preferences/keymap.html index 40b7050f85..36d74aeb20 100644 --- a/docs/userguide/zh_CN/preferences/keymap.html +++ b/docs/userguide/zh_CN/preferences/keymap.html @@ -41,7 +41,7 @@
English| Defaults | 恢复到系统默认的设置状态。 | |
| Revert | 返回到您启动触摸板首选项之前的设置状态。 |
Here is a tip that's not related to the Touchpad preferences, but fits the general topic:
-Did you know that you can do a drag and drop just by using the touchpad, i.e. not using the buttons? Just do a double click without lifting the finger after the second click. The picked up icon will stick to the mouse pointer and you can drag it around by moving your finger. Lifting your finger will drop the icon.
If your finger reaches a border of the touchpad while dragging an icon, but the mouse pointer hasn't yet reached the screen edge, how can you keep on dragging your icon? As soon as you lift your finger, the icon would be dropped.
-Depending on your hardware, there's a nifty feature: just leave your finger without lifting at the touchpad edge. The mouse pointer will keep on moving on auto-pilot.
下面有一个提示,它可能与触摸板首选项没有很大关系,而属于普通的话题:
+您知道么,您可以仅使用触摸板来进行拖动操作,即不使用按键?双击目标,但是在第二次点击后不要使手指离开触摸板;然后捡起的图标将会黏在鼠标上,您可以使用手指将其随意拖动。在您手指离开触摸板之后,图标将会放置在相应的位置。
如果您的手指在拖动图标时到达了触摸板的边界,但是鼠标仍未到达屏幕边缘,您该如何继续拖动图标呢?而且一旦您的手指离开触摸板,图标将会被放下。
+
+有一个非常巧妙的特性,但是这依赖于您的硬件:只需将您的手指放置在触摸板边界而不离开它,鼠标将会自动持续移动。
| Signaler les bogues | ||
| reboot | Redémarre le système immédiatement. Vous perdrez toutes les données non enregistrées, ainsi que celles qui ont été enregistrés, mais qui n'ont pas encore été écrites sur le disque. |
Pour plus d'information, consultez l'article Welcome to Kernel Debugging Land.
-The KDL output is written to the serial port (if you have one, a respective cable, and a second computer to connect with, you can capture the output there via a terminal program) and to the syslog. If you can't leave KDL it won't be written to the syslog file, though. There's a boot loader debug option that allows you to capture it nonetheless (see below).
+La sortie KDL est écrite vers le port série ( si vous en avez un, un câble approprié, et un deuxième ordinateur pour vous connecter, vous pourrez capturer la sortie via un programme de terminal) et le journal système. Nottez que si vous ne pouvez pas sortir du mode de débogage du noyau, le journal ne sera pas écrit dans le fichier. Cependant, Il existe une option dans le menu de démarrage qui permet tout de même sa capture (voir ci-dessous).
Le journal systèmeThis is the preferred method for gaining information from a non-booting system.
-The syslog (short for system log) contains valuable information about what has happened in your system, including the output of KDL sessions. It's usually a good idea to attach it to the kernel related Trac ticket. The syslog is written to the file /boot/common/var/log/syslog. Since writing to a file requires a working system, the most recent output might not have made it to the syslog when a kernel problem occurs (particularly on spontaneous reboots or uncontinuable KDL sessions).
The option Enable debug syslog in the boot loader's Debug menu makes the syslog somewhat persistent in memory. By default the option is enabled. "Somewhat persistent" means that it survives a reset and will still be accessible when you enter the boot loader menu directly afterwards. Booting an operating system (Haiku definitely, others likely) destroys the information, though. So you have to enter the boot loader menu by holding down SHIFT while booting.
-In the boot loader's Debug menu you should now find the entries Display syslog from previous session and Save syslog from previous session. The former displays the syslog on screen, the latter allows you to save it as a file to disk. Note that at the moment only FAT32 volumes are supported for saving the file. If you want to use a USB stick, but have plugged it in too late so that it isn't recognized yet, you can reset the machine and re-enter the boot loader menu. But again: Don't accidentally boot any operating system or the data will be lost.
C'est la méthode privilégiée pour obtenir des informations d'un système qui ne démarre pas.
Le journal système ( « syslog » en abgégé) contient des informations précieuses sur ce qui s'est passé dans votre système, y compris les productions des sessions KDL. L'attacher au ticket « kernel » dans l'outil de suivi de bogues (Trac) est généralement une bonne pratique.
+Le journal est consigné dans le fichier /boot/common/var/log/syslog.Puisque l'écriture d'un fichier requiert un système qui fonctionne, les écritures les plus récente faites dans le journal ne peuvent pas être présentes quand un problème se produit dans le noyau (en particulier lors d'un redémarrage spontané ou d'une sessions KDL non recouvrable).
L'option Enable debug syslog dans le menu Debug menu du chargeur de démarrage rend le journal légèrement persistant en mémoire. Cette option est activée par défaut. « légèrement persistant » signifie qu'il résistera à une réinitialisation et qu'il sera encore accessible quand vous entrerez dans le menu du chargeur de démarrage juste après. Noter qu'amorcer un système d'exploitation (Haiku sans aucun doute, et probablement les autres) détruit cette information. Alors vous devez rentrer dans le menu du chargeur de démarrage en maintenant la touche MAJ enfoncée pendant le redémarrage.
+Dans le menu du chargeur de démarrage Debug menu, vous devriez maintenant trouver les entrés Display syslog from previous session et Save syslog from previous session. La première, affiche le journal de la session précédente à écran. La dernière vous permet de l'enregistrer dans un fichier sur disque. Notez que pour le moment seuls les volumes FAT32 sont pris en charge pour l'enregistrement du fichier. Si vous souhaitez utiliser une clé USB, mais que vous l'avez branchée trop tard de sorte qu'elle n'a pas été prise en compte, vous pouvez réinitialiser la machine et entrer à nouveau dans le menu du chargeur de démarrage. Mais encore une fois : Ne démarrer aucun système d'exploitation accidentellement ou les données seront perdues.
Les sorties écran du débogueurThe on-screen debug output is useful only for debugging very specific issues and is known to have (timing) issues. Don't use it, if you don't have to.
-This is only relevant when Haiku fails to boot on your machine and the Debug syslog option doesn't work for some reason. Before the Haiku boot logo appears, hold SHIFT to enter the boot loader menu. Select Select safe mode options. Near the bottom, [ ] Enable on screen debug output will be listed. (Note: The other options could be enabled in an attempt to boot Haiku. If Haiku will boot only when one or more options are activated, be sure to mention which ones.)
-Finally select Return to main menu and then Continue booting.
-One or more pages of text will display on the screen, only the last few lines need to be included on your ticket. There's more information on the Boot Loader.
La sortie écran du débogueur n'est utile que pour déboguer certains problèmes bien spécifiques, et est connu pour avoir des problèmes (timing). Ne l'utilisez que si vous en avez vraiment besoin.
+Ce n'est pertinent que si Haiku n'arrive pas à démarrer sur votre machine et que le Debug syslog option ne fonctionne pas pour quelque raison que ce soit. Pour accéder au menu du chargeur de démarrage, maintenez la touche MAJ enfoncée avant que le logo de Haiku n'apparaisse. Choisissez Select safe mode options. Selectionnez [ ] Enable on screen debug output que vous verrez en bas. (Notez que les autres options peuvent êtres activées pour tenter de démarrer Haiku. Si Haiku ne démarre que lorsque certaines options sont activées, n'oubliez pas de mentionner lesquelles )
+Enfin choisissez Return to main menu puis Continue booting.
+Une ou plusieurs pages de texte seront affiché à l'écran, Seules les quelques dernières lignes ont besoin de figurer dans votre rapport de bogue. Vous trouvez plus d'information dans le sujet consacré au Chargeur de démarrage.
Bogues liés au matériel ou aux pilotesДля продуктивной работы c системой отслеживания ошибок (багтрекером) важно соблюдать принятый в нём этикет.
-Getting a Trac accountЧтобы создать новый багрепорт, у вас должен быть заведён аккаунт в багтрекере Haiku.
Создавая новый аккаунт обязательно введите адрес электронной почты, так как на него будут приходить все сведения, связанные с изменением багрепорта. Убедитесь, что приходящие с багтрекера письма не помечаются как спам, так как это вполне возможно.
-Creating a bug reportПрежде чем сообщать об ошибке, пожалуйста, убедитесь, что аналогичного багрепорта ещё не существует. Для этого также можно воспользоваться функцией поиска.
После того как вы установили, что подобных багрепортов не имеется, то оформите вашу информацию как можно точнее:
| 报告错误 |
| Getting a Trac account - Creating a bug report - Application bugs - Server bugs - Kernel bugs - Kernel Debugging Land - KDL - Syslog - On screen debug output - Hardware/Driver bugs - What's next? |
| 获取Trac账户 + 创建错误报告 + 软件错误 + 服务错误 + 内核错误 + 内核调试- KDL + 系统日志 + 屏幕调试 + 硬件错误 + 下一步? |
由于我们的开发人员不可能测试每种硬件组合和每种不同的系统交互方式,所以我们依赖于用户,通过用户来给予我们Haiku的运行情况。由于Haiku还很年轻,您在使用时很有可能会遇到错误。我们非常感谢您能够分出时间来提交这些错误报告。我们可以共同的一位一位的提高Haiku的性能。
+由于我们的开发人员不可能测试每种硬件组合和每种不同的系统交互方式,所以我们依赖于用户,通过用户来给予我们Haiku的运行情况。由于Haiku还很年轻,您在使用时很有可能会遇到错误。我们非常感谢您能够分出时间来提交这些错误报告。我们可以共同一步一步的提高Haiku的性能。
为了确保我们的错误跟踪系统的有效性,遵守共同的错误报告规范是很有必要的。
-Getting a Trac account为了提交任务单,您需要在Haiku的错误跟踪系统中注册一个账户。
-在新建账户时,你需要提供自己的电子邮箱 ,否则您将不具有基本的任务单修改权限。之后,您一定要保证检查您的垃圾邮件文件夹,因为所有重要的验证邮件都会被发送到那儿去。
-Creating a bug report在报告一个错误之前,请您确保该错误报告之前不存在。你可以使用查找功能来查找其是否存在。
在确定它是一个独特的错误之后,您需要尽可能的找出有关的详细信息:
Attempt to reproduce your issue on the current revision of Haiku. Pre-built images for testing purposes are available.
尝试在当前版本的Haiku系统中重现您的问题。 有许多用于测试的预编译镜像都是可用的。
包括基本的信息,例如以何种方式测试Haiku(利用真实的硬件,VMware,还是QEMU)。
Mention which revision from SVN you are running. You can find this information in About Haiku... from the Deskbar menu. Also mention what kind of Haiku build you are testing (gcc2, gcc4, gcc2hybrid, gcc4hybrid). The downloadable images are named accordingly, for a self-built image you should know how you built it.
描述您所遇到的问题。尽量把问题讲得精确和明白:描述详细的系统行为反馈,和您期望的反馈。
描述暴露该错误所需要的操作步骤。这将会有助于开发者重现该错误,并对其进行修复和完善。
Attach as much information as you have. If it is a GUI bug, or a bug in one of the applications, try to take a screenshot by pressing the PRINT key.
给出您所运行系统的 SVN 发布版本。您可以在桌面栏菜单中的 'About Haiku...' 中找出相关信息。同时您还需要给出您所测试的Haiku的构建类型(gcc2,gcc4,gcc2hybird,gcc4hybird)。可下载的镜像都会给出相应的命名,这样您就应该知道如何自行编译。
描述您所遇到的问题。尽量把问题讲得精确和明白:详细的描述系统的行为反馈,和您期望的反馈。
描述出现该错误所需要的操作步骤。这将会有助于开发者重现该错误,并对其进行修复和完善。
附带你所掌握的尽可能多的信息。如果是一个GUI错误,或者其中的程序错误,尽量使用 PRINT 键来截取当时的屏幕图像。
-Application bugsWhen an application crashed, you should invoke the debugger from the alert that pops up. This will open a Terminal window with gdb (the GNU debugger) running in it. Entering bt, you create a "backtrace" that you should copy in its entirety (including the part before you entered the bt command) and attach it to the ticket.
+程序错误 +如果程序发生崩溃,您需要从弹出的警告窗口中启动调试程序。它将会打开一个运行gdb(GNUdebugger)的终端窗口。输入bt,您将会创建一个有关调试信息的“回溯”,然后您需要把它完整的复制出来(包括您输入bt命令之前终端中显示的内容),附加到错误报告中。
-Server bugsWhen vital servers like the app server, the registrar or the input server crash, you won't see the usual crash alert. Instead the whole screen will be cleared white and a gdb session will be started, its output appearing directly on screen. Likely you will still be able to move the mouse, which will overwrite the white and gdb output on screen. Applications still running (like ProcessController or the clock in the Deskbar) might also draw over the debugger output on screen.
-Besides everything being more ugly and inconvenient, basically the same applies as for application bugs. Most importantly procure a back trace (bt command). You may need to take a picture of the screen with a digital camera, since you won't be able to copy the text anywhere.
当app server,registrar server或者input server等重要组件崩溃时,您将无法看到通常的崩溃警告。相反的,整个屏幕将会呈现白色,并且启动一个gdb会话,相关的输出信息直接在屏幕中进行显示。您可能还可以继续移动鼠标,这将会覆盖掉屏幕中的白色区域和gdb输出信息。仍在运行的程序 (例如,进程控制器或者桌面栏的时钟) 可能也会覆盖屏幕中的调试信息。
+
+除却所有显示的丑陋和操作的不便,它与软件出错基本一样。 最重要的是获取一个有关错误的回溯(使用 bt 命令)。如果不能够拷贝相关的文本,您可能还需要使用数码相机记录下相关的屏幕显示。
-Kernel bugsKernel bugs are usual the ones with the most severe effects while at the same time being the hardest to debug. There are different kinds of symptoms, which most likely point to a kernel or driver issue:
+内核错误 +内核错误通常都是危害效果最大的错误,同时也是最难调试的错误。下面几种情形,通常都可能是内核或者驱动问题:
The system enters kernel debugging land (KDL) on its own volition. The upper part of the screen is cleared white and several lines of text are printed on it. The second line says "Welcome to Kernel Debugging Land...", the one above it states the immediate reason for entering KDL.
The system reboots spontaneously.
The system freezes completely. You can't move the mouse and no application draws anything anymore. An important test in that situation is, whether you still can enter KDL via the shortcut ALT SysReq D (SysReq being PRINT on most keyboards). Wait at least a minute to see, if anything happens.
The system doesn't boot up correctly. It may reboot spontaneously or stop at some point (e.g. at some icon of the boot screen). In the latter case also try ALT SysReq D.
The whole system or some piece of hardware doesn't behave correctly. For example, it could be very slow, errors occur, or something doesn't work at all. If some hardware doesn't work at all, the first obvious check is whether Haiku supports it at all at the moment (e.g. ask on a mailing list or a forum).
系统自动进入了内核调试状态(KDL),屏幕上方显示为白色,并且打印出几行文本。文本第二行显示为“Welcome to Kernel Debugging Land...”,而第一行则声明了进入内核调试状态的实时原因。
系统自动重新启动。
系统完全冻结。您无法移动鼠标,并且屏幕中无任何程序显示。在此情况下,重要的是测试能否使用快捷键 ALT SysReq D 进入内核调试状态(在多数键盘上,SysReq 是 PRINT 键)。然后等待至少一分钟,查看系统反应状态。
系统无法实现正确引导。它可能自动重启,或停止在某个步骤(例如,某个启动图标)。对于后一种情况,可以尝试使用快捷键 ALT SysReq D。
整个系统或者部分硬件无法正确运行。例如,系统运行缓慢,出现错误,或者完全无法运行。如果某个硬件完全无法工作,首要的是检查Haiku目前是否支持该硬件(例如,在邮件列表或论坛中进行询问)。
Note that while only the last point seems to indicate hardware relation, all the other symptoms could be caused by a bug in a hardware driver as well. If you have a suspicion what piece of hardware or corresponding driver might have to do with the problem, check whether removing/disabling the hardware or the driver makes a difference. For example, if you suspect Wifi you may find that your BIOS has an option to disable it. Or if not, you could remove the responsible Wifi driver from your Haiku installation (in /boot/system/add-ons/kernel/drivers/bin).
+需要注意的是,只有最后这种情况与硬件相关,而所有其他的问题也可能由硬件驱动中的错误引起。如果您对引起该问题的硬件或相关的驱动有所疑问,您可以检查删除/禁用该硬件或驱动是否会产生影响。例如,如果您怀疑无线网络有问题,您会发现BIOS中有可禁用它的选项。如果其中没有该选项,您可以从安装的Haiku中删除相关的无线网络驱动(位于 /boot/system/add-ons/kernel/drivers/bin)。
-Kernel Debugging Land - KDLIf the system hasn't entered KDL by itself, you can do that intentionally by invoking the keyboard shortcut ALT SysReq D.
-Note that in KDL your keyboard may not work. PS/2 keyboards always do, USB keyboards connected via UHCI controllers do only, if one has entered KDL via the keyboard shortcut at least once. USB OHCI is not supported at the moment.
KDL itself is a kind of a shell. One can execute commands that print information about the system. The following commands might be of interest:
+内核调试 - KDL +如果系统没有自动的进入内核调试状态,您也可以有意识的使用 ALT SysReq D 快捷键手动进入。
+需要注意的是,在内核调试状态,您的键盘可能会无法工作。PS/2键盘通常都能够正常工作;对于UHCI控制器连接的USB键盘,您至少需要使用快捷键进入内核调试状态一次,它才可用。但是对于USB OCHI,目前还未实现支持。
KDL本身是shell中的一类。它可以执行命令,打印系统信息。下面是一些感兴趣的命令:
| bt (aka sc) | Prints a back trace. If the system entered KDL on its on volition, always enter that one. | |
| ints | Shows the handled and unhandled hardware interrupts. | |
| co (aka continue) | Leaves the kernel debugger and continues normal operation of the system, if that is possible. | |
| reboot | Reboots the system immediately. You will lose all unsaved data and even those that have been saved, but have not yet been written back to disk. | |
| bt (aka sc) | 打印回溯信息。如果系统自主进入内核调试状态,通常需要输入该命令。 | |
| ints | 显示已处理和未处理的硬件中断。 | |
| co (aka continue) | 离开内核调试状态;如果可能的话,继续正常的系统操作。 | |
| reboot | 立即重启系统。您将会丢失所有未保存的数据,甚至包括那些已经保存,但是还未写入硬盘的数据。 |
For more information, see the article Welcome to Kernel Debugging Land.
-The KDL output is written to the serial port (if you have one, a respective cable, and a second computer to connect with, you can capture the output there via a terminal program) and to the syslog. If you can't leave KDL it won't be written to the syslog file, though. There's a boot loader debug option that allows you to capture it nonetheless (see below).
+获取更多信息,请参阅 欢迎使用内核调试工具。
+KDL输出信息将会写入到串行端口(如果您拥有另一台与之相连接的计算机,您可以通过中断程序重定向输出信息)和系统日志。如果您无法离开KDL,它将无法写入系统日志文件。尽管如此,还有一个系统引导调试选项,允许您捕获系统信息(参阅下文)。
-SyslogThis is the preferred method for gaining information from a non-booting system.
-The syslog (short for system log) contains valuable information about what has happened in your system, including the output of KDL sessions. It's usually a good idea to attach it to the kernel related Trac ticket. The syslog is written to the file /boot/common/var/log/syslog. Since writing to a file requires a working system, the most recent output might not have made it to the syslog when a kernel problem occurs (particularly on spontaneous reboots or uncontinuable KDL sessions).
The option Enable debug syslog in the boot loader's Debug menu makes the syslog somewhat persistent in memory. By default the option is enabled. "Somewhat persistent" means that it survives a reset and will still be accessible when you enter the boot loader menu directly afterwards. Booting an operating system (Haiku definitely, others likely) destroys the information, though. So you have to enter the boot loader menu by holding down SHIFT while booting.
-In the boot loader's Debug menu you should now find the entries Display syslog from previous session and Save syslog from previous session. The former displays the syslog on screen, the latter allows you to save it as a file to disk. Note that at the moment only FAT32 volumes are supported for saving the file. If you want to use a USB stick, but have plugged it in too late so that it isn't recognized yet, you can reset the machine and re-enter the boot loader menu. But again: Don't accidentally boot any operating system or the data will be lost.
这是从无法引导的系统中获取信息的首选方法。
+
+系统日志(syslog,system log的缩写)中包含了关于系统问题的有用信息,包括KDL会话的输出信息 。通常将它附带到有关内核问题的报告中是个不错的主意。系统日志将会写入文件 /boot/common/var/log/syslog。由于写入文件需要系统处于运行状态,因此当内核出现问题时(尤其是,系统自动重启,或者无法持续KDL会话),最新的输出信息可能无法写入日志文件。
引导程序的Debug menu 中的Enable debug syslog 选项可以使系统日志在内存中稍微持久的存在。默认情况下,它是启用的。 “稍微持久” 意味着,它可以在一次机器重置之后仍然存在,在之后直接进入引导程序菜单时仍然可以访问。尽管如此,引导一个操作系统将会(Haiku 肯定会,其他的可能会)损坏该信息。 所以您需要在引导时按下 SHIFT 进入引导程序菜单。
+在引导程序的 Debug menu 中,您可以找到 Display syslog from previous session 和 Save syslog from previous session 两个入口。前者将系统日志显示于屏幕,后者允许您将其保存到硬盘。需要注意的是,目前只有FAT32卷支持保存该文件。如果您使用USB磁盘,但是插入晚了,可能它将不被识别;您可以重置机器,然后再次进入引导程序菜单。但是还要注意:不要无意的启动任何操作系统,否则数据将会丢失。
-On screen debug outputThe on-screen debug output is useful only for debugging very specific issues and is known to have (timing) issues. Don't use it, if you don't have to.
-This is only relevant when Haiku fails to boot on your machine and the Debug syslog option doesn't work for some reason. Before the Haiku boot logo appears, hold SHIFT to enter the boot loader menu. Select Select safe mode options. Near the bottom, [ ] Enable on screen debug output will be listed. (Note: The other options could be enabled in an attempt to boot Haiku. If Haiku will boot only when one or more options are activated, be sure to mention which ones.)
-Finally select Return to main menu and then Continue booting.
-One or more pages of text will display on the screen, only the last few lines need to be included on your ticket. There's more information on the Boot Loader.
屏幕调试输出仅对调试特殊问题有用,而且自身也有(定时)问题。若非必须,不要使用它。
+只有当Haiku引导机器失败,而且 Debug syslog option 出于某些原因无法使用,它才具有重要意义。 在Haiku的引导徽标出现之前,按下 SHIFT 进入引导程序菜单。 选择 Select safe mode options。 在接近屏幕底部,[ ] Enable on screen debug output 将会列出。(注意:如果尝试启动Haiku,您可以启用另一个选项。如果Haiku只有在启用多个选项时才可以启动,您在错误报告中一定要给出这些选项。)
+最后,选择 Return to main menu 和 Continue booting。
+在屏幕上将会显示一页或者多页文本,只有最后几行才需要附带到您的错误报告。更多信息,参阅 引导程序。
-Hardware/Driver bugsWhen dealing with a hardware/driver related bug, you should attach the following information as text files:
+硬件错误 +在处理有关硬件/驱动的问题时,您需要在报告中附带下面的信息:
| - listdev | A detailed listing of your hardware, including vendor and pci id's, similar to Linux' lshw and lspci. | |
| - listusb -v | Assuming its a USB related issue, similar to lsusb. | |
| - open /var/log/syslog | The primary system log used by Haiku, akin to on screen debugging during boot. With the open command you can crop down the relevant part of the syslog in a text editor. | |
| - listimage | grep drivers/ | Lists all used drivers. | |
| - ints | Only available within Kernel Debugging Land (see above). Shows interrupt usage. There shouldn't be too many that are shared by different devices. | |
| - On screen debug output (a safe mode boot time option). | ||
| - listdev | 给出所有硬件的详细列表,包括提供商和 PCI ID;类似于Linux下的 lshw 和 lspci 。 | |
| - listusb -v | 假如是有关 USB 的问题,它类似于Linux下的 lsusb。 | |
| - open /var/log/syslog | Haiku的主要系统日志,类似于引导过程中的屏幕调试信息。您可以使用 open 命令在文本编辑器中获取到系统日志中相关的部分。 | |
| - listimage | grep drivers/ | 列出所有使用的驱动。 | |
| - ints | 只在 内核调试状态 可用(参阅下文)。它用显示中断使用情况。不可能有许多由不同硬件共享的中断。 | |
| - 屏幕调试输出(引导时间选项的安全模式)。 | ||
The first four commands are entered into Terminal. Add a > output.txt after a command, and it's piped into a text file called "output.txt" that you can attach to your bug report or email.
+前四个命令需要在终端中进行输入。在命令后添加 > output.txt ,然后输出的信息将会重定向到“output.txt”文本文件,您可以将其附带到您的错误报告或者邮件。
-What's next?在您提交了错误报告之后,开发人员将会检查您的错误,然后尝试进行修复。但是需要注意的是,我们所有的人员都是志愿者,有时候一个错误报告可能会很长时间没有人来进行回答。如果可以的话,添加新的信息将会有助于早点修复错误,但是请不要添加非描述性的评论来将“炒热”该错误。
-切记,提交错误报告不是花些很少的时间写个报告的事。如果您提交了一个错误,然后您属于Haiku开发过程中的一部分。开发人员在解决您的错误过程中可能会遇到问题,因此请你一定要始终关注该错误,然后回答相关的问题。如果该问题没有“fixed”,你的任务就没有“done”。
+下一步 +在您提交错误报告之后,开发人员将会检查您的错误,然后尝试进行修复。但是需要注意的是,我们所有的人员都是志愿者,有时候一个错误报告可能会很长时间没有人来进行回复。如果可以的话,添加新的信息将会有助于早点修复错误,但是请不要添加非描述性的评论来将“炒热”该错误。
+切记,提交错误报告不是花很少时间写个报告,然后就结束了。如果您提交了一个错误,然后您就是Haiku开发过程中的一员。开发人员在解决您的错误过程中可能会遇到问题,因此请你一定要始终关注该错误,然后回答相关的问题。如果该问题没有“fixed”,你的任务就没有“done”。