<!-- This is the dosemu HOWTO, SGML source -- >

<!-- Mike Deisher, deisher@dspsun.eas.asu.edu -->
<!-- Uwe Bonnes, bon@elektron.ikp.physik.tu-darmstadt.de -->
<!-- Now David Hodges, davidhodges@altavista.iname.com -->
<!-- Last edited: Time-stamp: <99/09/22 20:16:09 tak> -->

<!-- Changelog -->
<!-- 99/04/12: Added sections What operating systems does dosemu work
               under ?, What processors does dosemu work on ?, What if I have
               a DEC Alpha/Sparc/other non-Intel CPU ?, Can I run Microsoft
               Windows programs under dosemu ?, I want to run something
               that won't run under dosemu or Wine,
               mention that lredir doesn't work under FreeDOS -->
<!-- 99/04/11: removed developers mailing list since the dosemu website
               says it's invitation only -->
<!-- 99/04/11: updated mailing list address, web and ftp addresses,
               latest version number, dosemu no longer needs to run as root -->
<!-- 97/08/12: Changes for mailing list at suse.com -->
<!-- 97/05/05: Voyetra's great DOS MIDI -->
<!-- 97/04/27: No .386 with winemu -->
<!-- 97/04/17: Greg's corrections for my typos -->
<!-- 97/04/08: Hans changes to common errors -->
<!--         : tips to restore console -->
<!--         : Tips for Foxpro 2.6 -->
<!-- 97/04/03: Don't use Dos 4.01 -->
<!-- 97/3/07: Msdos.sys settings to boot Dos7 -->
<!-- 97/2/28: Considerations on command.com and different Dos-Versions -->
<!--          Numbering scheme -->
<!-- 97/2/17: Tell about use_sigio -->
<!-- 97/2/16: Section for hints with games, date change -->
<!-- 97/2/15: Tell about present sound efforts -->
<!-- 97/2/13: Installing windows -->
<!-- 97/2/13: Some xdos fonts hints -->
<!-- 97/2/12: Some typos Hans noticed -->
<!--          Hints for configure -->
<!-- 97/2/11: Changes from Hans (diff) and Erik Mouw incorporated -->
<!--          Tell explicit some security issues -->
<!--          Tips for winemu/progman -->

<!doctype linuxdoctr system>

<article>

<title>The dosemu HOWTO</title>
<!--
<author>by Mike Deisher.
<p>
 Updated by Uwe Bonnes for dosemu-0.64.4, 15 March 1997
<p>
 Updated by David Hodges, 
<bf><htmlurl url="mailto:davidhodges@altavista.iname.com"
name="davidhodges@altavista.iname.com"></bf>
-->
<author>Mike Deisher, Uwe Bonnes, David Hodges
<bf><htmlurl url="mailto:davidhodges@altavista.iname.com"
name="davidhodges@altavista.iname.com"></bf>
<date>For dosemu-0.98.6, 24 April 1999
<trans>The Linux Japanese FAQ Project &lt;JF@linux.or.jp&gt;
<tdate>14 June 1999

<abstract>
<!--
This is the `Frequently Asked Questions' (FAQ) / HOWTO document for
dosemu.  The most up-to-date version of the dosemu-HOWTO may be found
at <bf><htmlurl
url="http://www.dosemu.org"name="http://www.dosemu.org"></bf>.
-->
これは dosemu の FAQ/HOWTO ドキュメントです。この HOWTO の最新バージョ
ンは <bf><htmlurl
url="http://www.dosemu.org"name="http://www.dosemu.org"></bf>
で入手することができます。
</abstract>

<toc>

<!--
<sect>The preliminaries
-->
<sect>はじめに

<!--
<sect1>What is dosemu, anyway?
-->
<sect1>とりあえず dosemu とは何なのですか?

<!--
<p>To quote the manual, "dosemu" is a user-level program which uses
certain special features of the Linux kernel and the 80386 processor
to run MS-DOS/FreeDOS/DR-DOS in what we in the biz call a `DOS box.'  
The DOS box, a combination of hardware and software trickery, has these 
capabilities:
-->
<p>マニュアルから引用しますと、「dosemu とは、 Linux カーネルと 80386 
プロセッサの特殊な機能を使って、'DOS box'と呼ばれているものの上で 
MS-DOS/FreeDOS/DR-DOS を動作させる、ユーザーレベルのプログラム」です。
DOS box というのはハードとソフトのトリックを組み合わせたもので、次のよ
うなことができます。

<!--
  o the ability to virtualize all input/output and processor control
    instructions
-->
  o 入出力と、プロセッサ制御命令を仮想化することができる。

<!--
  o the ability to support the word size and addressing modes of the
    iAPX86 processor family's "real mode," while still running within
    the full protected mode environment
-->
  o iAPX86 プロセッサファミリーの「リアルモード」のワードサイズや、ア
    ドレッシングモードを完全なプロテクトモード環境で使えるようにする。　

<!--
  o the ability to trap all DOS and BIOS system calls and emulate such
    calls as are necessary for proper operation and good performance
-->
  o DOS/BIOS システムコールをすべてトラップして、必要な処理を高速に
    エミュレートする。

<!--
  o the ability to simulate a hardware environment over which DOS
    programs are accustomed to having control.
-->
  o (行儀の悪い)DOS プログラムによって直接制御されるハードウェア環境を
    シミュレートする。

<!--
  o the ability to provide DOS services through native Linux
    services; for example, dosemu can provide a virtual hard disk
    drive which is actually a Linux directory hierarchy."
-->
  o ネイティブの Linux サービスを通じて、MSDOS サービスを行う。例えば、
    dosemu では仮想ハードディスクを使って Linux のファイルを操作するこ
    とができます。

<!--
<sect1>What operating systems does dosemu work under ?
-->
<sect1>dosemu を動かせるオペレーティングシステム
<p>
<!--
Dosemu is primarily written for Linux. It also works on NetBSD and
possibly FreeBSD, however the graphics emulation is unlikely to work
on NetBSD, which means that all DOS programs that use graphics mode
(most DOS programs) will not work under NetBSD.
-->
dosemu は当初は Linux 上で作成されました。現在では NetBSD でも動作し、
たぶん FreeBSD でも動作します。しかし、NetBSD 上ではグラフィックスのエ
ミュレーションは動作しないようです。つまり、グラフィックスモードを使う
プログラム(ほとんどの DOS プログラム)は NetBSD 上では動作しないという
ことです。

<!--
<sect1>What processors does dosemu work on ?
-->
<sect1>dosemu が動作する CPU
<p>
<!--
  Dosemu only works on Intel 80x86 processors, e.g. 80386, 80486, 
  Pentium etc.
-->
dosemu は 80x86 プロセッサ(80386, 80486, Pentimu 等)上だけで動作します。

<!--
<sect1>What if I have an Alpha/Sparc/Motorola/other non-Intel CPU ?
-->
<sect1>Alpha/Sparc/Motorola 等の非 Intel CPU を使っている場合
<p>
<!--
Dosemu only works on Intel 80x86 processors but there are alternatives:
Bochs (<bf><htmlurl
url="http://www.bochs.com"name="http://www.bochs.com"></bf>) is an open
source shareware PC emulator that
runs on most Unixes (as well as MS-Windows), and there are other
(non-free) alternatives - see the comp.emulators.misc FAQ, available via
usenet or <bf><htmlurl
url="ftp://rtfm.mit.edu/pub/usenet-by-hierarchy/comp/emulators/misc/"
name="ftp://rtfm.mit.edu/pub/usenet-by-hierarchy/comp/emulators/misc/"></bf>
-->
dosemu が動作するのは 80x86 プロセッサだけですが、選択肢は他にもありま
す:
Bochs (<bf><htmlurl url="http://www.bochs.com"name="http://www.bochs.com"></bf>)
はオープンソースのシェアウェアである PC エミュレータで、大抵の Unix
(と MS-Windows)上で動作します。他にも(フリーでない)選択肢はあります。
それらについては、comp.emulators.misc FAQ をご覧ください。
この FAQ は Usenet あるいは <bf><htmlurl
url="ftp://rtfm.mit.edu/pub/usenet-by-hierarchy/comp/emulators/misc/"
name="ftp://rtfm.mit.edu/pub/usenet-by-hierarchy/comp/emulators/misc/"></bf>
で入手できます。

<!--
<sect1>Do I need MS-DOS to use dosemu ?
-->
<sect1>dosemu 使うには MS-DOS が必要か?
<p>
<!--
No. You need some version of DOS but not necessarily MS-DOS.
See the section "What versions of DOS are known to run with dosemu ?"
-->
いいえ。何らかのバージョンの DOS は必要ですが、これは必ずしも MS-DOS 
でなくともかまいません。
「dosemu で動作することが分かっている DOS のバージョン」の章をご覧くだ
さい。

<!--
<sect1>Can I run Microsoft Windows programs under dosemu ?
-->
<sect1>dosemu 上で Microsoft Windows は動作しますか?
<p>
<!--
Not reliably. You would be better to use the Windows emulator
Wine (<bf><htmlurl url="http://www.winehq.com"
name="http://www.winehq.com"></bf>). If you insist on running Windows
under dosemu, see section 8 - dosemu and MS-Windows 3.1.
-->
確実ではありません。Windows エミュレータである Wine
(<bf><htmlurl url="http://www.winehq.com" name="http://www.winehq.com"></bf>)
を使う方が良いでしょう。dosemu 上で windows をどうしても動かしたければ、 
8 章(「dosemu と MS-Windows 3.1」)をご覧ください。

<!--
<sect1>I want to run something that won't run under DOSemu or Wine
-->
<sect1>dosemu や Wine 上で動作しないプログラムを動かしたいのですが
<p>
<!--
See section 1.4.
-->
1.4 節をご覧ください。
<!--
<sect1>Names and numbers
-->
<sect1>用語の意味
<p>
<!--
<tscreen>(xx/yy/zz) means day zz in month yy in year xx.</tscreen>
<tscreen>winemu mean WinOS/2 running in dosemu.</tscreen>
-->
<tscreen>(xx/yy/zz) は xx 年 yy 月 zz日を表します。</tscreen>
<tscreen>winemu は dosemu 上で動作している WinOS/2 を示します。</tscreen>

<!--
<sect1>What version of Dosemu should I use?
-->
<sect1>どのバージョンの dosemu を使うべきか?
<!--
<p>Dosemu uses the same numbering scheme as the kernel. Uneven second
numbers are for possible unstable developer releases, even second numbers
are for releases considered stable. At the time of writing, <bf>0.98.6</bf>
is the latest stable release, while <bf>0.99.10</bf> is the latest
developer's release. So if you want to use dosemu, get the latest 
<bf>stable</bf> release. 
-->
<p>dosemu のバージョン番号の付け方はカーネルと同じです。2 番目の数字が
奇数のものは(おそらく)不安定な開発者向けバージョンで、偶数のものは安定
バージョンです。この文章を書いている時点では、<bf>0.98.6</bf> が最新の
安定バージョンで、<bf>0.99.10</bf> が最新の開発バージョンです。したがっ
て、dosemu を使いたい人は<bf>安定</bf>バージョンを入手すると良いでしょ
う。

<!--
<sect1>What's the newest version of dosemu and where can I get it?
-->
<sect1>dosemu の最新バージョンとその入手法は?

<!--
<p>The newest version of dosemu as of 99/04/09 is
<bf>dosemu0.98.6</bf> and can be ftp'ed from:
-->
<p>現在(99/04/09)の dosemu の最新バージョンは<bf>dosemu0.98.6</bf>であ
り、以下の FTP サイトで入手することができます:
<tscreen>
     <htmlurl url="ftp://ftp.dosemu.org/pub/dosemu/"
     name="ftp://ftp.dosemu.org/pub/dosemu/">
</tscreen> 

<!--
Remember that this is ALPHA code, however: there may be serious bugs
and very little documentation for new features. The development version 
is particularly likely to have bugs. Please use it only if you
like to do active development. Don't report bugs in the development
version, fix them instead.
-->
dosemu はアルファ版のプログラムであることは絶対忘れないでください。つ
まり、重大なバグが含まれているかももしれませんし、新しい機能に関する説
明の文書はほとんどありません。特に開発バージョンにはたくさんバグがある
でしょう。ですから、開発バージョンは積極的に開発に参加しようと思ってい
る方しか使わないでください。開発バージョンのバグは報告しないでください。
その代わりにバグを直してください。

<!--
<sect1>Where can I ask questions?
-->
<sect1>質問はどこですれば良いのでしょうか?

<!--
<p>If you have problems regarding installing and running dosemu after
reading the documentation, first try to help yourself: Your question
has probably been asked and perhaps answered before. Try some search
engine on the internet to retrieve that information. E.g. you can ask
-->
<p>インストールや実行について、ドキュメントを読んでも解決できない問題
がある場合、まず自分自身で解決する努力をしてください。あなたの質問はた
ぶん既にどこかでなされており、回答も与えられています。このような情報を
インターネットのサーチエンジンを使って探してみてください。例えば、次の
エンジンを使えば、あなたの質問のキーワードを含むネットニュースの最新記
事が検索できます。
<tscreen>
     <htmlurl url="http://www.dejanews.com"
     name="http://www.dejanews.com">
</tscreen>

<!--
to find all newsnet articles containing the keywords of your
question. Helping yourself will probably be faster than asking a well
known question. It also frees up the time of developers from answering
trivial question and so helps the further development of dosemu.
-->
このようにして自分で答えを探した方が、ネットニュースなどでありがちな質
問をするよりも解決は早いでしょう。また、くだらない質問への回答で開発者
の時間を割くこともなくなり、結果として dosemu の開発も進むことでしょう。

<!--
<sect1>Where can I report bugs and ask questions?
-->
<sect1>バグの報告や質問はどこですればよいでしょう?

<!--
<p>If you want to ask questions and report bugs regarding dosemu, you
should consider subscribing to the linux-msdos mailing list.
To subscribe, send mail to <bf><htmlurl
url="mailto:Majordomo@vger.rutgers.edu"name="Majordomo@vger.rutgers.edu"></bf>
with the following command in the body of your email message:
-->
<p>dosemu に関する質問やバグの報告を行う場合には、linux-msdos-digest 
メーリングリストに参加すると良いでしょう。このメーリングリストに参加す
るには、メールアドレス <bf><htmlurl
url="mailto:Majordomo@vger.rutgers.edu"name="Majordomo@vger.rutgers.edu"></bf> 
へ以下の内容のメールを送ります:
<verb>
    subscribe linux-msdos your_username@your.email.address
</verb>
<!--
If you ever want to remove yourself from the mailing list, you can
send mail to <bf><htmlurl
url="mailto:Majordomo@vger.rutgers.edu"name="Majordomo@vger.rutgers.edu"></bf>
with the following command in the body of your email message:
-->
メーリングリストから脱退するには、アドレス<bf><htmlurl
url="mailto:Majordomo@vger.rutgers.edu"name="Majordomo@vger.rutgers.edu"></bf>
へ以下の内容のメールを送ります(95/8/11)。
<verb>
    unsubscribe linux-msdos your_username@your.email.address
</verb>
<!--
(95/8/11). When you are subscribed to linux-msdos, you can send your
report as mail to linux-msdos@vger.rutgers.edu. There is a gate that
send mails to linux-msdos@vger.rutgers.edu as postings to the
newsgroup named <bf>linux.dev.msdos</bf>. If your News provider
doesn't carry that group, ask her(him) to add that group.
-->
linux-msdos メーリングリストに参加したら、linux-msdos@vger.rutgers.edu 
宛にメールを送ることでレポートを送ることができます。
linux-msdos@vger.rutgers.edu へメールを送るのと同時に 
<bf>linux.dev.msdos</bf> へニュース記事を投稿するゲートウェイがありま
す。お使いのプロバイダがこのニュースグループを配送していない場合には、
プロバイダへグループ追加を頼んでください。
<!--
Before you ask a question, you should carefully read all of the
documentation, including this HOWTO and check one of the mailing list
archives listed at <bf><htmlurl url="http://www.dosemu.org/mailinglist.html"
name="http://www.dosemu.org/mailinglist.html"></bf> to see whether your
question has already been asked and answered.
-->
質問の前には、この HOWTO を含む文書を全てしっかりと読んでください。ま
た、<bf><htmlurl url="http://www.dosemu.org/mailinglist.html"
name="http://www.dosemu.org/mailinglist.html"></bf> にあるメーリングリ
ストのアーカイブを見て、あなたと同じ質問とそれに対する回答が既になされ
ていないかを確認してください。

<!--
<sect1>What documentation is available for dosemu?
-->
<sect1>dosemu 関連のドキュメントを紹介してください

<p>
<!--
Dosemu comes with documentation. The main documentation files
README.txt and README-tech.txt cover virtually all aspects of dosemu
and may be more up-to-date than this HOWTO.
-->
dosemu に文書が付属しています。主要ドキュメントである
README.txt と README-tech.txt は dosemu に関する事実上ほとんどの話題を
網羅しており、この HOWTO よりも内容が新しいでしょう。

<!--
The "dosemu Novice's Altering Guide" or DANG is a road map to the
inner workings of dosemu.  It is designed for the adventurous, those
who wish to modify the source code themselves.  The DANG is maintained
by Alistair MacDonald (<bf><htmlurl url="mailto:alistair@slitesys.demon.co.uk"name="alistair@slitesys.demon.co.uk"></bf>) and is
found in the doc directory of the dosemu source tree.
-->
"dosemu Novice's Altering Guide" (略称 DANG) は dosemu の内部動作につ
いての解説です。ソースコードを書き換えたい冒険好きの人のために書かれて
います。DANG は Alistair MacDonald氏(<bf><htmlurl
url="mailto:alistair@slitesys.demon.co.uk"name="alistair@slitesys.demon.co.uk"></bf>)
がメンテナンスしており、dosemu のソース内の doc ディレクトリに置かれて
います。

<!--
The EMU failure list (EMUfailure.txt) is a partial list of programs known
<bf>not</bf> to work under dosemu. 
-->
EMU 非動作リスト(EMUfailure.txt)は、dosemu で<bf>動作しなかった</bf>プ
ログラムのリストです。

<!--
And then, of course, there is the dosemu FAQ/HOWTO.  But you already
know about that, don't you.  It is also posted once in a while to the
mailing list and found in the doc-directory.  The most recent version
can be found at <bf><htmlurl url="http://www.dosemu.org"
name="http://www.dosemu.org"></bf>.
-->
もちろん、この dosemu FAQ/HOWTO もあります。もっともこの文章を読んでい
る方はご存知ですよね? この文書はメイリングリストにときどきポストされ
ますし、doc ディレクトリにも置かれています。最新版は
<bf><htmlurl url="http://www.dosemu.org" name="http://www.dosemu.org"></bf>
で入手することができます。

<!--
<sect1>I have a program that fails, not listed in EMUfailure.txt
-->
<sect1>EMUfailure リストに含まれていないプログラムの実行に失敗した場合
<!--
<p>First check, if the failure of your program is not caused by some
of the fundamental incapabilities of dosemu, listed in EMUfailure.txt. If
you think you have something new, please report to 
<htmlurl url="mailto:linux-msdos@vger.rutgers.edu"
         name="linux-msdos@vger.rutgers.edu">.
-->
<p>まず最初に動作しなかった原因が dosemu の基本的な機能不足(EMUfailure
に書かれています)によるものかどうか確認します。その上で新しいものだと
判断した場合、
<htmlurl url="mailto:linux-msdos@vger.rutgers.edu"
         name="linux-msdos@vger.rutgers.edu">
宛に報告してください。
<!--
Perhaps it can be made going with the help others. Give detailed
information about your setup, tell the version of kernel, dosemu etc
and name the observed errors. You can use xdos to cut and paste the
error message into your report. But keep your report in a readable
form. We know the content of ../etc/config.dist. So only send the
active lines from your dosemu.conf. Try running dosemu with some or all
debug output turned on and scan through your debug output
and at first only send those parts you think are relevant. Few people
are willing to decode some long attachment to a mail, to do debugging
for others. But keep your logs at hand, in case others ask detailed
questions.
-->
これはたぶん他の人達の役に立つことでしょう。カーネルと dosemu のバージョ
ンや発生したエラーなどやあなたの設定についての詳しい情報も提供してくだ
さい。xdos を使えば、カットアンドペーストを使ってエラーメッセージをメー
ルに書き込むことができます。ただし、レポートはエンコードしていない可読
形式で送ってください。../etc/config.dist の内容はわかっているので、
dosemu.conf の有効な行だけを送ってください。デバッグ出力の一部または全
てを有効にして dosemu を実行し、デバッグ出力を一通り見て、関係があると
あなたが判断した部分だけを送ってください。他人のためのデバッグをするた
めに、メールに添付された長いデータをわざわざデコードして読む人はほとん
どいません。しかし、詳細な部分を聞かれた場合のために、ログは捨てたりし
てはなりません。

<!--
<sect1>How do I submit changes or additions to the HOWTO?
-->
<sect1>HOWTO に変更や追加をするにはどうすればいいでしょうか?

<!--
<p>The preferred method is to edit the file
<bf>dosemu-HOWTO-xx.x.sgml</bf> to incorporate the changes, create a
diff file by typing something like
-->
<p>望ましい方法は、<bf>dosemu-HOWTO-xx.x.sgml</bf> を変更し、次のよう
なコマンドを実行して差分ファイルを生成することです。
<tscreen>
               diff -uw original-file new-file
</tscreen>
<!--
and send it to <bf><htmlurl
url="mailto:davidhodges@altavista.iname.com"name="davidhodges@altavista.iname.com"</bf>.
If you do not know SGML, that's ok.  Changes or new information in any
form will be accepted.  Creating the diff file just makes it easier on
the HOWTO maintainer.  :-)
-->
それから、このファイルを
<bf><htmlurl
url="mailto:davidhodges@altavista.iname.com"name="davidhodges@altavista.iname.com"</bf>
宛に送ってください。SGML をご存じなくても結構です。変更や新しい情報は
どんな形式でも受け付けています。diff ファイルで送って欲しいというのは、
単に HOWTO のメンテナが楽をするためです :-)

<!--
<sect1>Message from Greg&hellip;
-->
<sect1>Greg からのメッセージ

<!--
<p>Unless otherwise stated, Linux HOWTO documents are copyrighted by
their respective authors. Linux HOWTO documents may be reproduced and
distributed in whole or in part, in any medium physical or electronic,
as long as this copyright notice is retained on all copies. Commercial
redistribution is allowed and encouraged; however, the author would
like to be notified of any such distributions.
-->
<p>特に断りのない限り、Linux HOWTO ドキュメントは、それぞれの作者に著
作権があります。すべての複製にこの著作権表示が含まれていれば、物理的・
電子的な媒体を通じて、この文書の全体または一部分を複製して配布すること
を許可します。商用の再配布も許可していますし、歓迎です。ただし、その前
に著者に一言断りがあることを希望します。

<!--
All translations, derivative works, or aggregate works incorporating 
any Linux HOWTO documents must be covered under this copyright notice. 
That is, you may not produce a derivative work from a HOWTO and impose
additional restrictions on its distribution. Exceptions to these rules
may be granted under certain conditions; please contact the Linux HOWTO
coordinator at the address given below.
-->
すべての Linux HOWTO ドキュメントに関する、翻訳や派生物やこれらをまと
めたものなどは、この著作権表示に従わなければなりません。すなわち、配布
に関して新たな制限を加えたHOWTOの派生物などを作ることはできません。特
定の条件のもとにこの規則に例外を認ることもあります。以下のアドレスの 
Linux HOWTO 世話役に連絡してください。

<!--
In short, we wish to promote dissemination of this information through as
many channels as possible. However, we do wish to retain copyright on the
HOWTO documents, and would like to be notified of any plans to redistribute
the HOWTOs.
-->
まとめると、我々としてはできる限りたくさんの経路を通じてこの情報を普及
させたいのです。しかしながら、HOWTOドキュメントの著作権を保持しておき
たいですし、HOWTOを再配布する場合には連絡してほしいのです。

<!--
If you have questions, please contact Greg Hankins, the Linux HOWTO 
coordinator, at gregh@cc.gatech.edu(95/8/11).
-->
質問があれば、Linux HOWTO 世話役の Greg Hankins (gregh@cc.gatech.edu) 
に連絡してください。

<!--
<sect>Compiling and installing dosemu
-->
<sect>dosemu のコンパイルとインストール

<!--
<sect1>Where are the installation instructions?
-->
<sect1>インストール手順の説明はどこですか?

<!--
<p>The installation instructions are in the file, "QuickStart",
included in the distribution.
-->
インストール手順の説明は配布パッケージ中の "QuickStart" ファイルにあり
ます。

<!--
<sect1>Top ten problems while compiling and installing dosemu.
-->
<sect1>コンパイルとインストールに失敗する原因のトップ 10

<p>

<!--
1. Forgetting to read the <bf>QuickStart</bf> Guide.
-->
1. <bf>QuickStart</bf> ガイドを読まなかった。

<!--
2. Try to compile some old version of dosemu.
-->
2. (問題がある)古いバージョンの dosemu をコンパイルしようとした。

<!--
3. Try to compile with a kernel older than 2.0.28 or 2.1.15.
-->
3. バージョン 2.0.28 か 2.1.15 以前のカーネルでコンパイルしようとした。

<!--
4. Having the wrong linux kernel source sitting in <bf>/usr/src/linux</bf>
   or missing <bf>/usr/src/linux/include/version.h</bf>
-->
4. <bf>/usr/src/linux</bf>にあるカーネルのソースコードがおかしいか、
<bf>/usr/src/linux/include/version.h</bf>が無い。

<!--
5. Use dosemu with a kernel that does not have <bf>IPC</bf> compiled in.
-->
5. <bf>IPC 機能</bf>を組み込んでいないカーネルで dosemu を使用した。

<!-- FIXME--><!-- 要修正部分 -->
<!--
6. Compile with gcc older than 2.7.2 or libc older than 5.x.x.
-->
6. gcc のバージョンが 2.7.2 より古いか、libc のバージョンが 5.x.x より古い。
<!-- END FIXME--><!-- 要修正部分終り -->

<!--
7. Forget to edit your <bf>/etc/dosemu.conf</bf>, <bf>/etc/dosemu.users</bf>
and <bf>/var/lib/dosemu/global.conf</bf> files
-->
7. <bf>/etc/dosemu.conf</bf>, <bf>/etc/dosemu.users</bf>,
<bf>/var/lib/dosemu/global.conf</bf> を編集するのを忘れた。

<!--
8. Run DOSEMU with partition access while they are already mounted.
-->
8. 既にマウントされているパーティションに対して、dosemu でパーティショ
   ンへのアクセスを行った。

<!--
9. Don't install dosemu with sufficient privileges (i.e., root).
-->
9. 必要な権限(つまり root)でのインストールを行っていない。

<!--
10. Try to run programs that use DPMI without enabling dpmi in
/etc/dosemu.conf
-->
10. /etc/dosemu.conf で dpmi を有効にしていないのに、DPMI を使用するプ
ログラムを実行しようとした。

<!--
<sect1>How do I make aout binaries?
-->
<sect1>a.out 形式のバイナリの作り方

<!--
<p> Starting with version 0.64.4 there is no a.out support any more.
If you absolutely need it, you must use version 0.64.3.1.
The configure script then should take care for this, if you setup is a
standard setup. 
-->
<p>0.64.4 以降では a.out のサポートは打ち切られています。どうしても 
dosemu を使いたいのならば、0.64.3.1 を使わなければなりません。あなたの
標準的な設定をしていれば、configure スクリプトがこの辺りをうまく処理し
てくれるはずです。

<!--
<sect1>How do I compile dosemu on a machine with low memory?
-->
<sect1>メモリの少ないマシンで dosemu をコンパイルするには?

<!--
<p>Marty Leisner (<bf>leisner@sdsp.mc.xerox.com</bf>) reported (95/4/8)
that
-->
<p>Marty Leisner さん(<bf>leisner@sdsp.mc.xerox.com</bf>)の報告があり
ます。

<!--
If you have problems with running out of swap space you may want to
add <tt/CFLAGS+=-fno-inline/ after <tt/CFLAGS/ is defined in
<bf>dpmi/Makefile</bf>.  Be careful before you do this and check for
the existence of swap space.  I found Linux crashes at times when it
has no swap space.
-->
スワップスペースを使い尽くしてしまう問題が起こるときには 
<bf>dpmi/Makefile</bf> の中の CFLAGS の定義の後ろに 
<tt/CFLAGS+=-fno-inline/ を加えるとよいでしょう。ですがその前に、まず
はスワップスペースが存在していることを確認してください。スワップスペー
スが存在しないと Linux がクラッシュしてしまうことがあります。

<!--
<sect1>Compilation fails with some strange error regarding "slang"
-->
<sect1>"slang" に関係する変なエラーでコンパイルが失敗する
<!--
<p>You probably have
<tscreen>
slangforce off
</tscreen>
in your compiletime-settings file. You need to change it to
<tscreen>
slangforce on
</tscreen>
and recompile.
-->
<p>たぶん compiletime-settings ファイルで
<tscreen>
slangforce off
</tscreen>
と設定しているのでしょう。これを
<tscreen>
slangforce on
</tscreen>
に変更して再コンパイルしてください。
<!--
<sect1>What configurable options are available ?
-->
<sect1>どんなオプション設定ができるのでしょう?
<p>
<!--
The compiletime-settings.help file describes the options you can change
at compile time. The README.txt file describes the options you can
change at run time.
-->
コンパイル時に変更できるオプションの説明は compiletime-settings.help 
ファイルにあります。README.txt ファイルには実行時に変更できるオプショ
ンについての説明があります。

<!--
<sect1>Do I need to run dosemu as root?
-->
<sect1>dosemu は root で実行しなければならないか?
<p>
<!--
No. Although dosemu drops root privilege wherever possible, it is still 
safer to not run dosemu as root, especially if you run DPMI
programs under dosemu. Most normal DOS applications don't need dosemu
to run as root, especially if you run dosemu under X. 
Thus you should not allow users to run a suid root copy of dosemu,
wherever possible, but only a non-suid copy. You can configure this on
a per-user basis using the /etc/dosemu.users file.
-->
いいえ。dosemu はできる限り root 権限を捨てようとしますが、それでも 
root では実行しない方が安全です。特に dosemu 上で DPMI 機能を使うプロ
グラムを実行するときはそうです。通常の DOS アプリケーションの大部分は 
dosemu を root で実行しなくても(特に X 上で dosemu を実行している場合)
動作します。したがって root に suid した dosemu をユーザに実行させるの
は極力避けるべきです。root に suid していないものだけを実行させましょ
う。この設定は /etc/dosemu.users ファイルを使ってユーザ単位で行うこと
ができます。
<p>
<!--
Programs that require direct access to hardware ports (e.g. if the
program needs to talk to some unusual hardware that is not supported
by Linux and dosemu) require dosemu to run as root but printers,
serial ports, mice and video cards (and to a small extent sound -
hopefully more soon) are emulated by dosemu so you don't need direct
hardware access and don't need to run as root to use these.
-->
ハードウェアのポートへの直接アクセスが必要なプログラム(例: Linux や 
dosemu がサポートしていない何らかの特殊なデバイスと通信する場合)を実行
するには dosemu を root 権限で実行する必要がありますが、プリンタ、シリ
アルポート、マウス、ビデオカード(近いうちには、サウンドもある程度使え
るようになります)は dosemu がエミュレートするので、ユーザが直接ハード
ウェアポートにアクセスする必要はありませんし、これらのデバイスを使うた
めに root 権限で dosemu を実行する必要もありません。

<!--
<sect1>How do I patch dosemu ?
-->
<sect1>dosemu へのパッチの当て方

<!--
<p>If you do patch dosemu from one version to another, do 
&dquot;make pristine;./configure; make&dquot;. 
If you don't make pristine, at least the version
of the new executable will be wrong, if the whole thing compiles at
all(97/2/9).
-->
<p>dosemu にパッチを当てて、あるバージョンから他のバージョンにした場合
には、&dquot;make pristine&semi;./configure; make&dquot; を実行してく
ださい。make pristine を実行していないと、少なくとも新しい実行ファイル
のバージョンがおかしくなります(97/2/9)。

<!--
<sect1>What versions of DOS are known to run with dosemu ?
-->
<sect1>dosemu で動作することが分かっている DOS のバージョン
<p>
<!--
All versions of DOS should work with dosemu, with the following caveats:
-->
dosemu ではどんなバージョンの DOS も動くはずですが、以下の注意点があり
ます:
<p>
<!--
FreeDOS (<bf><htmlurl
url="http://www.freedos.org" name="http://www.freedos.org"></bf>) does not 
(yet) have a working redirector so you will
not be able to access your Linux filesystem or Novell networking under
FreeDOS. Note also that FreeDOS is unreliable beta software and may
crash unexpectedly, trash its filesystem, etc. etc.
-->
FreeDOS (<bf><htmlurl
url="http://www.freedos.org" name="http://www.freedos.org"></bf>)
には(今のところ)動作するリダイレクタがないので、FreeDOS 上では Linux 
のファイルシステムや Novell のネットワークにはアクセスできません。
FreeDOS は信頼性が低いベータ版のソフトウェアであり、予期せぬクラッシュ
をすることや、ファイルシステムが破損すること等があり得る点にも注意して
ください。

<!--
<p>DOS 4.01 had problems by itself, so it won't work reliably with dosemu 
either.
-->
<p>DOS 4.01 そのものには問題があり、dosemu 上でも安定して動作しません。

<p>
<!--
With <bf>MsDos-7</bf> aka <bf>Win95</bf> you must not start the graphic shell 
at bootup. If you make the hdimage bootable with the so called "Rescue Disk"
you are offered to make during the Windows installation, you get the right
settings. If you use your normal Win95 installation to transfer the system
files, have a look at the msdos.sys written on the hdimage and change the
settings under the section [Options] to have entries like
[Options]
Logo=0
BootGUI=0
-->
<bf>MsDos-7</bf>(別名 <bf>Win95</bf>)を使う場合には、起動時に GUI シェ
ルを起動させてはいけません。Windows のインストール時に作成したいわゆる
「復旧ディスク」で hdimage を起動可能にした場合、正しい設定が得られま
す。通常の Win95 のインストールを行ってシステムファイルを転送した場合
には、hdimage 上に書き込まれた msdos.sys を調べ、[Options] セクション
の設定を
[Options]
Logo=0
BootGUI=0
のように変更してください。

<!--
<sect>Hard disk setup
-->
<sect>ハードディスクの設定

<!--
<sect1>How do I use my hard disk with dosemu?
-->
<sect1>ハードディスクを dosemu で使う方法

<!--
<p>First, mount your dos hard disk partition as a Linux subdirectory.
For example, you could create a directory in Linux such as /dos (mkdir
-m 755 /dos) and add a line like
-->
<p>まず、DOS のパーティションを Linux のサブディレクトリとしてマウント
します。例えば、/dos (mkdir -m 755 /dos) のようなディレクトリを作り、
/etc/fstab に次の項目を追加します。
<verb>
   /dev/hda1       /dos     msdos   umask=022
</verb>
<!--
to your /etc/fstab.  (In this example, the partition is mounted
read-only.  You may want to mount it read/write by replacing "022"
with "000" and using the -m 777 option with mkdir).  Now <bf>mount
/dos</bf>.
-->(この例では、ハードディスクは読み出し専用でマウントされます。読み書き
できるようにマウントするためには、"022"を"000"に置き換え、mkdir では 
-m 777 オプションを指定します。) 次に <bf>mount /dos</bf>を行います。
<!--
The README.txt says:
-->
README.txt ファイルには以下のように書かれています:
<!--
<verb>
  you just can have a Linux directory containing all what you
  want to have under your DOS C:. Copy your IO.SYS, MSDOS.SYS or what
  ever to that directory (e.g. /var/lib/dosemu/bootdir), put

          $_hdimage = "bootdir"


  into your /etc/dosemu.conf, and up it goes. DOSEMU makes a lredir'ed
  drive out of it and can boot from it. You can edit the config.sys and
  the autoexec.bat within this directory before you start dosemu.  Fur-
  ther more, you may have a more sohisticated setup. Given you want to
  run the same DOS drive as you normal have when booting into native
  DOS, then you just mount you DOS partition under Linux (say to /dos)
  and put links to its subdirectories into the boot dir. This way you
  can decide which files/directories have to be visible under DOSEMU and
  which have to be different. Here's a small and incomplete example
  bootdir setup:


         config.sys
         autoexec.bat
         command.com -> /dos/command.com
         io.sys -> /dos/io.sys
         msdos.sys -> /dos/msdos.sys
         dos -> /dos/dos
         bc -> /dos/bc
         windows -> /dos/windows


  There is, however, one drawback, you can't use the DosC kernel
  (FreeDos) for it, because it hasn't yet a working redirector (will
  hopefully be available some time in the future).
</verb>
-->
<verb>
  必要なファイルが全て DOS の C: に含まれるような Linux のディレクトリ
  を単に用意してください。IO.SYS や MSDOS.SYS 等をそのディレクトリ
  (例: /var/lib/dosemu/bootdir)にコピーして、

          $_hdimage = "bootdir"

  と /etc/dosemu.conf に書き込んで次に進みます。dosemu は lredir した
  ドライブをシステム外部のものとして扱い、そこから起動を行うことができ
  ます。dosemu を起動する前に、このディレクトリにある config.sys と 
  autoexec.bat を編集することもできます。さらに、もっと洗練された設定
  にすることができます。ネイティブの DOS を起動する時の通常の DOS ドラ
  イブを dosemu でも使いたいものとします。この場合には単に、DOS パーティ
  ションを Linux で(/dos 等に)マウントし、そのサブディレクトリへのリン
  クを起動ディレクトリに作ります。このようにして、dosemu でも見えるよ
  うにしなければならないファイル/ディレクトリや、dosemu とネィティブの 
  DOS で区別しなければならないファイル/ディレクトリを決めることができ
  ます。以下に起動ディレクトリの設定の短くて不完全な例を示します:

         config.sys
         autoexec.bat
         command.com -> /dos/command.com
         io.sys -> /dos/io.sys
         msdos.sys -> /dos/msdos.sys
         dos -> /dos/dos
         bc -> /dos/bc
         windows -> /dos/windows

  ただし、この例には 1 つ問題があります。すなわち、この例では DosC カー
  ネル(FreeDos)は使えません。なぜなら、FreeDos ではリダイレクタがまだ
  動作していないからです(将来的には使えるようになるでしょう)。
</verb>

<!--
<sect1>How can I access the hdimage from Linux?
-->
<sect1>Linux から hdimage にアクセスする方法

<p>
<!--
Use mtools. With a line in <bf>/etc/mtools.conf</bf> like
-->
mtools を使ってください。<bf>/etc/mtools.conf</bf> には以下の行
を記述してください。
<verb>

   drive n:  file="/var/lib/dosemu/hdimage" MTOOLS_SKIP_CHECK=1 \
   MTOOLS_LOWER_CASE=1 MTOOLS_NO_VFAT=1 partition=1 offset=128
</verb>
<!--
you can use the mtools on the hdimage, like "mdir n:". "mcopy
n:/config.emu /tmp" copies the config.emu file from the hdimage to
/tmp/config.emu. You can edit it there and copy it back. Use a drive
letter you find sensible. "N:" is only an example.
-->
こうすると mtools を使って "mdir n:" のようにして hdimage にアクセスで
きます。"mcopy n:/config.emu /tmp" で hdimage 上の config.emu ファイル
を /tmp/config.emu にコピーできます。そして、このファイルを編集してか
ら hdimage へ書き戻すことができます。実際には使いやすいドライブレター
を使ってください。"N:" は単なる例に過ぎません。

<!--
<sect1>Can I use my stacked/double-spaced/super-stored disk?
-->
<sect1>Stacker/DoubleSpace/SuperStoreで圧縮されたディスクを使えるか?

<!--
<p>At this time, compressed drives cannot be accessed via the
redirector (lredir or emufs) on a standard kernel. There is a patch
for the kernel to mount compressed files under the name "dmsdosfs".
Find it on sunsite.unc.edu and its mirrors
-->
<p>現在のところ、標準のカーネルではリダイレクタ(lredir や emufs)を経由
でこれらの圧縮ドライブにアクセスすることはできません。　
"dmsdosfs" という名前で圧縮ファイルをマウントできるようにするカーネル
へのパッチがあります。sunsite.unc.edu とそのミラーサイトで探してくださ
い。
<tscreen>
   <htmlurl url="http://sunsite.unc.edu:/pub/Linux/system/filesystems/dosfs/"
   name="http://sunsite.unc.edu:/pub/Linux/system/filesystems/dosfs/">
</tscreen>
<!--
A good idea is also to look in <htmlurl
url="http://sunsite.unc.edu:/pub/Linux/Incoming"
name="http://sunsite.unc.edu:/pub/Linux/Incoming"> for
a newer version. 
-->
新しいバージョンを見つけるには <htmlurl
url="http://sunsite.unc.edu:/pub/Linux/Incoming"
name="http://sunsite.unc.edu:/pub/Linux/Incoming">
を探すと良いでしょう。
<!--
The "wholedisk" option in older versions of dosemu is no longer
allowed in recent versions, however, a line like
<verb>
   $_hdimage = "/dev/hda1"
</verb>
may work, at the risk that you could lose all data in that partition
on a dosemu crash.
-->
古いバージョンの dosemu の "wholedisk" オプションは、新しいバージョン
ではもはや使えなくなっていますが、
<verb>
   $_hdimage = "/dev/hda1"
</verb>
と書けば動作するかもしれません。ただし、dosemu がクラッシュするとその
パーティションのデータが全て壊れる危険性があります。

<!--
If your dos partition is already mounted with write access and you try
to run dosemu with partition access, dosemu will print a
warning message and abort.  This prevents DOS and Linux from making
independent writes to your disk and trashing the data on your dos
partition(95/8/11).
-->
すでにDOSパーティションに書き込みが許可された状態で dosemu でパーティ
ションやディスク全体にアクセスすると、dosemu は警告メッセージを表示し
て異常終了します。これは、DOS と Linux が別々にディスクに書き込みを行
ない、DOS パーティションが破壊されるのを防ぐためです(95/8/11)。

---------------------

<!--
If LILO is installed, the above will not work.  However&hellip;
-->
LILO がインストールされている場合には上記の方法ではうまくいきません。
しかし…

<!--
Thomas Mockridge (<bf>thomas@aztec.co.za</bf>) reported (94/8/5) that
-->
Thomas Mockridge さんが(<bf>thomas@aztec.co.za</bf>) が次の方法を報告
しています(94/8/5)。

<!--
To boot dosemu with LILO and Stacker 4.0 I did a little work around&hellip;

1. <bf>dd</bf> the MBR to a file. (or norton utility, etc., first 512 bytes)

2. Boot dos (from full boot not emu), do a fdisk /mbr, make your dos
   partition active with (dos) fdisk.

3. Copy the new MBR to a file.

4. Replace the original MBR

5. Copy the second MBR to /var/lib/dosemu/partition.hda? (Whichever is
   your dos partition)  

6. Set dosemu.conf 
<verb>
               disk {partition "/dev/hda? ?"}
</verb>

7. Start dosemu and and voila!  No LILO.
-->
LILO と Stacker 4.0 の組み合わせで dosemu を起動するにはちょっとした工
夫が必要です…

1. ファイルに MBR を<bf>dd</bf>します。(またはノートンユーティリティな
   どを使います。MBR は最初の 512バイトです。)    

2. (emu ではなく、本物の)DOS をブートして、fdisk /mbr を実行します。
   DOS の fdisk を使って DOS パーティションをアクティブにします。

3. 新しくできた MBR をファイルにコピーします。

4. オリジナルの MBR を置き換えます。

5. 3. で作った MBR を /var/lib/dosemu/partition.hda?
   (hda?は、DOS パーティションのあるところ) にコピーします。

6. dosemu.conf を次のように設定します。
<verb>
               disk {partition "/dev/hda? ?"}
</verb>

7. dosemu を起動します。ほら、できた! LILO が無くても起動できましたね。

<!--
For recent versions of dosemu you need to change the
-->
最近のバージョンの dosemu では
<verb>
               disk {partition "/dev/hda? ?"}
</verb>
<!--
line to something like
-->
の行を
<verb>
               $_hdimage = "/dev/hda1"
</verb>
のように変更する必要があります。
---------------------

<!--
Holger Schemel (<bf>q99492@pbhrzx.uni-paderborn.de</bf>) reported
(94/2/10) that
-->
Holger Schemel さんの(<bf>q99492@pbhrzx.uni-paderborn.de</bf>) 報告で
す(94/2/10)。

<!--
Works even fine under dosemu with MS-DOS 6.0. If you have problems, then
you have to edit the file 'DBLSPACE.INI' manually and change the disk
letter to the letter your drive gets under dosemu.
-->
dosemu の下で MS-DOS 6.0もうまく動作しました。問題がある場合には、'DBLSPACE.
INI' を手で修正して、ドライブ名を dosemu上でのドライブ名に変更すればう
まくいくでしょう。

---------------------

<!--
Darren J Moffat (<bf>moffatd@dcs.gla.ac.uk</bf>) also reported
(94/3/27)
-->
Darren J Moffat さん(<bf>moffatd@dcs.gla.ac.uk</bf>)の報告です(94/3/27)。

<!--
"&hellip;use 6.2 if you can get it!!  Just make sure you have a
LILO boot disk on hand since dos 6{.2} will change the MBR of the boot
HZ."
-->
"…もし 6.2 を入手できるなら、それを使いましょう。LILO ブートディスク
が手元にあることを確認しておいてください。DOS 6{.2}はブートディスクの 
MBR(Master Boot Record) を書き換えるからです。"

<!--
<sect1>Creating your own hdimage file.
-->
<sect1>独自の hdimage ファイルを作る
<p>
<!--
The easy way is to use mkdexe - see README.txt for details.
The old-fashioned way (I don't know why anyone would want to do
it that way any more but here it is, just in case) is as follows:
-->
簡単な方法は mkdexe を使うことです。詳しくは README.txt を参照してくだ
さい。古いやり方を以下に示します(これが必要となる理由は思い付きません
が、使うときのために説明しておきます):

<!--
There is an extra util program called mkfatimage16 which
allows for creating a hdimage file headers.  The full information is in the
manpage (man/mkfatimage16.1) included in your distribution.
-->
mkfatimage16 という追加のユーティリティプログラムがあり、これを使うと 
hdimage ファイルのヘッダを作成することができます。詳しい説明は配布物に
入っているオンラインマニュアル(man/mkfatimage16.1)にあります。

<!--
To create a hard disk image file with a geometry corresponding to that of a
real hard disk of 32 megabytes run:
-->
32 メガバイトの実際のハードディスクに相当するハードディスクのイメージ
ファイルを作成するには、以下のコマンドを実行します:
<verb>
mkfatimage16 -k 32768 > hdimage
</verb>

<!--
This is probably too large for most needs; if you need this much
space, consider using the disk redirector."
-->
これは大抵の目的には十分な大きさです。もっと大きな容量が必要ならば、ディ
スクリダイレクタの利用を考えてください。

<!--
Usually it is a good idea to format the drive after it.
-->
普通はディスクイメージを作成した後にはフォーマットを行います。

<!--
<sect>Parallel ports, serial ports and mice
-->
<sect>パラレルポート、シリアルポート、マウス

<!--
<sect1>Port access worked with older version, but doesn't work now!
-->
<sect1>古いバージョンではポートが動作していたのに、新しいバージョンで動かなくなった!

<!--
<p>Read ..<bf>/doc/README.txt</bf>  and the port-section 
in ..<bf>/etc/config.dist</bf>  
-->
<p><bf>/doc/README.txt</bf> と <bf>/etc/config.dist</bf> の port セク
ションを読んでください。

<!--
<sect1>Port access was faster with older versions!
-->
<sect1>古いバージョンの方がポートのアクセスが速かった!

<!--
<p>To have a chance to log port access, by default every port access
produces an exception out of vm86-mode. This takes some time.
-->
<p>ログポートアクセスをできるようにするため、デフォルトではポートへの
アクセスは全て vm86モードの例外を発生させます。これにいくらか時間がか
かります。
<!-- FIXME is this still TRUE ? -->
<!--
If you don't want to log port access, use the keyword <bf>"fast"</bf> in the
appropriate port statement.
-->
ポートへのアクセスのログを取る必要がなければ、適切なポートに
<bf>"fast"</bf> を設定します。
<!-- END FIXME -->

<!--
<sect1>Where are the (microsoft compatible) mouse drivers?
-->
<sect1>(マイクロソフト互換の)マウスドライバはどこにあるの?

<!--
<p>Tom Kimball (<bf>tk@pssparc2.oc.com</bf>) reported (93/11/24) that
-->
<p>Tom Kimball さん(<bf>tk@pssparc2.oc.com</bf>)の報告です(93/11/24)。

<!--
Several people said to use a different mouse driver and suggested
some.  I found a couple that seem to work fine.
-->
いろいろな人がいろいろなマウスドライバを奨めていますが、私の場合には次
のドライバでうまく動作しています。
<verb>
   oak.oakland.edu:/pub/msdos/mouse/mouse701.zip   (mscmouse)
   oak.oakland.edu:/pub/msdos/mouse/gmous102.zip   (gmouse)
</verb>
<!--
Normally you can use dosemu's internaldriver, so you don't need any
additional mousedriver in dosemu outside winemu(97/2/10).
-->
通常は dosemu の内部ドライバが使えるので、winemu 以外の dosemu ではマ
ウスドライバを追加する必要はありません(97/2/10)。

<!--
<sect1>Why doesn't the mouse driver work?
-->
<sect1>マウスドライバが動かないのですが?

<!--
<p>Mark Rejhon (<bf>mdrejhon@magi.com</bf>) reported (95/4/7) that
-->
<p>Mark Rejhon さん(<bf>marky@ottawa.com</bf>)の報告です(95/4/7)。

<!--
If you start the mouse driver and it just hangs (it might actually
take 30-60s), but if you are waiting longer than a minute for the
mouse driver to start, try specifying the COM port that the mouse
is on, at the mouse driver command line.
-->
マウスドライバを動かしてからすぐにハングアップする(実際には 30〜60 秒
くらい)場合や、マウスドライバが起動するまでに 1 分以上もかかるような
場合には、マウスドライバのコマンドラインで、マウスが接続されている COM 
ポートを指定してみるのがいいでしょう。

<!--
<sect1>Why does dosemu clobber COM4?
-->
<sect1>dosemu が COM4 の設定を壊してしまいます

<!--
<p>Rob Janssen (<bf>rob@pe1chl.ampr.org</bf>) reported (94/3/24) that
-->
<p>Rob Janssen さん(<bf>rob@pe1chl.ampr.org</bf>) の報告です(94/3/24)。

<!--
According to <bf>jmorriso@bogomips.ee.ubc.ca</bf>, "dosemu still
clobbers COM4 (0x2e8, IRQ 5). 0x2e8 isn't in ports{} in config.  I
have to run setserial /dev/cua3 irq 5 on it after dosemu exits."
-->
<bf>jmorriso@bogomips.ee.ubc.ca</bf> によれば、"dosemu は COM4 (0x2e8,
IRQ 5) の設定を破壊してしまうようです。0x2e8 は設定の ports{} に入って
いません。dosemu から抜けたあとに、setserial /dev/cua3 irq 5 を実行し
なければなりません。

<!--
This is caused by your VGA BIOS.  I have found that by enabling the IO
port trace and seeing where it was clobbered.
-->
これは、VGA BIOS が原因です。私は IO ポートトレースをイネーブルにして、
どこで設定が破壊されているのかを調べてわかりました。

<!--
Disable the "<tt/allowvideoportaccess on/" line in config and it will
work fine.  When you then have problems with the video, try to enable
more selective ranges of IO addresses (e.g., 40-43).
-->
設定で "<tt/allowvideoportaccess on/" を無効にすればうまく動くはずです。
この指定によってビデオ関係に問題が生じた場合には、選択可能な別の IO ア
ドレスを指定してみてください(例えば 40-43)。

<!--
<sect1>How do I use dosemu over the serial ports?
-->
<sect1>シリアルポート経由で dosemu を使うには?

<p>


<!--
<sect1>How can I switch between dosemu and a shell over the serial line?
-->
<sect1>どうすればシリアル回線上で dosemu とシェルを行き来できますか?

<!--
<p>John Taylor (<bf>taylor@pollux.cs.uga.edu</bf>) reported (94/5/25)
that
-->
<p>John Taylor さん(<bf>taylor@pollux.cs.uga.edu</bf>)の報告です
(94/5/25)。

<!--
I am running Linux 1.1.13 and want to point out a great feature that
should be protected and not taken out (IMHO). With the 52 version, I
can run the program, "screen."  From screen, i can invoke dos -D-a.
What is really great (IMHO) is the screen commands (the CTRL-A cmds)
still work. This means I can do a CTRL-A C and add another unix shell,
and switch between the two (DOS / UNIX).  This allows me to use dosemu
over the serial line really well, because switching is made easy.
-->
私は Linux 1.1.13 を使っていますが、素晴らしい機能があることに気がつき
ました。願わくばこの機能はなくならないでほしいものです。バージョン 52 
で "screen" というプログラムを走らせることができました。screen 上で 
dos -D-a で DOS を起動することができます。何が素晴らしいかと言うと、
dosemu を起動した状態でも screen のコマンド(CTRL-A コマンド)が使えるの
です。つまり、CTRL-A C と打てば UNIX シェルをもう1つ起動することができ
ますし、DOS/UNIX のそれぞれの環境を行き来することもできます。この機能
のおかげで、シリアル回線経由でとてもうまく dosemu を使うことができてい
ます。

<!--
<sect1>How can I get the parallel ports to work?
-->
<sect1>パラレルポートを動かすには?

<!--
<p>The dosemu.conf has lines at the end to redirect printers to either
lpr or a file.  If you want direct access to the bare metal, comment
out these emulation lines, and add the line
-->
<p>dosemu.conf の終りの方に、プリンタを lpr やファイルにリダイレクトす
るための設定があります。ハードウェアに直接アクセスしたい場合には、これ
らのエミュレーション設定の行をコメントアウトし、以下のような行を追加し
ます:
<!--
<tscreen>
$_ports { device /dev/lp0 fast range 0x3bc 0x3bf  } &num; lpt0
</tscreen>
for the "monitor card" printer port (corresponds to /dev/lp0), or
-->
「モニタカード」のプリンタポート(/dev/lp0 に対応)には
<tscreen>
$_ports { device /dev/lp0 fast range 0x3bc 0x3bf  } &num; lpt0
</tscreen>
を指定します。
<!--
<tscreen>
$_ports { device /dev/lp1 fast range 0x378 0x37f } &num; lpt1
</tscreen>
or
<tscreen>
$_ports { device /dev/lp1 fast range 0x278 0x27f } &num; lpt2
</tscreen>
for LPT1 (/dev/lp1) or LPT2 (/dev/lp2) respectively(97/2/9).
-->
LPT1 (/dev/lp1) には
<tscreen>
$_ports { device /dev/lp1 fast range 0x378 0x37f } &num; lpt1
</tscreen>
を、LPT2 (/dev/lp2) には
<tscreen>
$_ports { device /dev/lp1 fast range 0x278 0x27f } &num; lpt2
</tscreen>
を指定します(97/2/9)。

<!--
Hans Lermen (lermen@dosemu.org) writes:
-->
Hans Lermen さん (lermen@dosemu.org) の報告です:

<!--
But NOTE: these lines should not be _added_ simply, the string should
be concatenated such as:
-->
しかし注意してください。これらの行は単純に<em>追加</em>してはいけませ
ん。指定文字列は以下のように繋げなければなりません。

  $_ports = "...."
  $_ports = $_ports, " device /dev/lp0 fast range 0x3bc 0x3bf"
                      =
<!--
                      This blank is important
-->
                      この空白が重要

<!--
<sect>Multiple users and Non-interactive sessions
-->
<sect>マルチユーザと非インタラクティブなセッション

<!--
<sect1>Can I use dosemu on a multi-user system?
-->
<sect1>マルチユーザ環境で dosemu は使えるか?　

<!--
<p>Yes, you can configure dosemu on a per-user basis. See README.txt for
details.
-->
<p>使えます。dosemu はユーザ単位の設定ができます。詳しくは README.txt 
を読んでください。

<!--
<sect1>How can I run dos commands non-interactively?
-->
<sect1>非対話的に DOS コマンドを使うには?
<p>
<!--
You can do any of the following:
1. redirect a file to dosemu standard input
2. use the keystroke configuration option and the -I command line option
as described in the README.txt file to specify keystrokes on the command
line that will act exactly as if you had typed them within dosemu
3. use the mkdexe program to create a DEXE file - a small
DOS filesystem image containing just the program you want to run -
see the README.txt file for details.
-->
以下のいずれかで行うことができます:
1. ファイルを dosemu の標準入力にリダイレクトする
2. dosemu 内で実際にコマンドが入力されたかのような動作をさせるキースト
ロークを、キーストローク設定オプションと -I コマンドラインオプションを
用いて指定する(これらのオプションについては README.txt ファイルで説明
されています)。
3. mkdexe プログラムを使って DEXE ファイルを作成する。これは小さな DOS 
ファイルシステムのイメージで、実行したいプログラムだけが入っているもの
です。詳しくは README.txt ファイルをご覧ください。

<!--
Here are some additional alternatives:
-->
他にも方法がいくつかあります:

<!--
<p>Daniel T. Schwager (<bf>danny@dragon.s.bawue.de</bf>) reported
(94/7/2) that
-->
<p>Daniel T. Schwager 氏(<bf>danny@dragon.s.bawue.de</bf>)の報告
(94/7/2):

<!--
You can use different dosemu.conf files (and different hd-boot-images
with different autoexec.bat's) and call dosemu like
-->
異なる dosemu.conf (および異なる hd-boot-images, AUTOEXEC.BATファイル)
を使って dosemu を起動するには以下のようにします。
<verb>
$ dos -F my_quicken_q_exe_dosemu.conf
</verb>

---------------------

<!--
<p>Dietmar Braun (<bf>braun@math20.mathematik.uni-bielefeld.de</bf>)
reported (94/7/4) that
-->
<p>Dietmar Braun 氏(<bf>braun@math20.mathematik.uni-bielefeld.de</bf>)
の報告(94/7/4):

<!--
This is no problem at all when you use the redirector of dosemu.  It
is possible to redirect a drive letter to a linux path given by an
environment variable.
-->
dosemu のリダイレクト機能を使うと全く問題なく動作します。環境変数を使っ
て、(DOS の)ドライブ文字を linux のパスにリダイレクトすることができる
のです。

<!--
So I have a shell script named "<bf>DOS</bf>" which does something like 
-->
筆者は以下のシェルスクリプトを"<bf>DOS</bf>"という名前で使っています。
<verb>
 mkdir /tmp/dos.&dollar;&dollar;
 DOSTMP=/tmp/dos.&dollar;&dollar;; export DOSTMP
</verb>
<!--
and then a little trick to get "<bf>echo &dollar;* >
&dollar;DOSTMP/startup.bat</bf>" really working (actually a small C Program 
which turns '/' in '<bf>&bsol</bf>' and terminates lines correctly for
messy dos with cr/lf pairs and adds <bf>^Z</bf> at the end of the
file), creates startup files, links and so on in this directory, and
then starts dosemu. Within "<bf>autoexec.bat</bf>" drive c: is
redirected from hdimage to this tmp-directory, which has links for
<bf>&dollar;HOME</bf> and <bf>&dollar;PWD</bf>.
-->
そして次にくるのが、 "<bf>echo &dollar;* >
&dollar;DOSTMP/startup.bat</bf>" なのですが、これをうまく動作させるの
にはちょっとした工夫が必要です(実は、小さな C プログラムなどでは、'/' 
を '<bf>&bsol;</bf>' に置き換えたり、行末を DOS 形式の CR/LF に書き換
えたり、ファイルの最後に <bf>^Z</bf> を付け加えたりするものがあるから
です)。そしてスタートアップファイルを生成して、このディレクトリの中に
必要なリンクを張り、そして dosemu をスタートします。hdimage の中の
"<bf>AUTOEXEC.BAT</bf>" の中では、ドライブ C: をこのテンポラリディレク
トリ(<bf>&dollar;HOME</bf>や<bf>&dollar;PWD</bf>へのリンクがある)にリ
ダイレクトしておきます。
<!--
So if I want to see my filenames shortened to 8.3 I can type "<bf>DOS
dir</bf>" and I get my current directory listing.  So I have full DOS
multi user (I don't have any DOS partition and redirecting to Linux
preserves user permissions) and multi tasking. (dosemu sessions 
are completely independent).  I did this once to be able to use a dos
driver for my printer. My printcap df is actually a DOS program. So
you can even make DOS executables act as lpr filters. 
-->
たとえば、8.3 形式に縮めたファイル名を見たいと思ったら、"<bf>DOS
dir</bf>" とすればカレントディレクトリのファイルを見ることができます。
こうして、完全なマルチユーザー(私の場合、DOS パーティションは使ってい
ません。また、Linux ファイルシステムへリダイレクトすることで、ユーザパー
ミッションも保存されます)、マルチタスクの DOS(それぞれの dosemu セッショ
ンは完全に独立しています)を手に入れることができます。私はこの方法で 
DOS のプリンタドライバをうまく使うことができました。printcap ファイル
の df に DOS プログラムを指定することができるのです。これによって、DOS 
の実行ファイルを lpr のフィルタとして使うことができます。

<!--
<sect>dosemu and Netware
-->
<sect>dosemu と Netware


<!--
<sect1>How do I get Netware access from dosemu?
-->
<sect1>dosemu から Netware にアクセスするには?

<!--
<p>As always, access through the Linux filesystem is preferred. Mount
your Netware drives with Caldera's Netware utilities or Volker
Lendecke's free ncpfs utility 
(<bf><htmlurl url="ftp://ftp.gwdg.de:/pub/linux/misc/ncpfs"name="ftp://ftp.gwdg.de:/pub/linux/misc/ncpfs"</bf>). If you need real IPX access,
e.g. to run Novell's "syscon", read ..<bf>/doc/NOVELL-HOWTO.txt</bf>.
You probably can not currently access Netware from FreeDOS.
-->
<p>通常は Linux のファイルシステムを経由してアクセスすることが望ましい
です。Caldera の Netware ユーティリティか Volker Lendecke 氏のフリーの 
ncpfs ユーティリティ (<bf><htmlurl
url="ftp://ftp.gwdg.de:/pub/linux/misc/ncpfs"name="ftp://ftp.gwdg.de:/pub/linux/misc/ncpfs"</bf>)
を使ってNetware のドライブをマウントできます。もし直接 IPX アクセスを
行う必要がある場合(例えば Novell の "syscon" を使う場合) には、
<bf>/doc/NOVELL-HOWTO.txt</bf>を読んでください。現在は FreeDOS から 
Netware を使うことはできないと思います。

<!--
<sect>dosemu and X-windows(97/2/9).
-->
<sect>dosemu と X Window System(97/2/9)

<!--
<sect1>Can I run dosemu in console mode while running X?
-->
<sect1>X が走っているときに、コンソールモードで dosemu を走らせることはできますか?

<!--
<p>Ronald Schalk (<bf>R.Schalk@uci.kun.nl</bf>) reported (94/1/17)
that
-->
<p>Ronald Schalk さん(<bf>R.Schalk@uci.kun.nl</bf>)の報告(94/1/17):

<!--
Yes, no problem.  Just remember to use ctrl-alt-&lt;Fn<tt/>/ to go to
a Virtual Console (VC), and you can run any Linux application (dosemu
is a linux-application).  I've got almost always WP5.1 in a dos
session.
-->
はい、問題ありません。仮想コンソールモードを移動するためには、
ctrl-alt-&lt;Fn<tt/>/ を使います。ここからどんな Linux アプリケーショ
ンでも起動することができます(dosemu も linux アプリケーションです)。
私の場合、dos セッションでは ほとんどずっと WordPerfect 5.1 が走ってい
ます。

<!--
<tt/[/Note:  Use ctrl-alt-F7 to switch back to X from dosemu, if X
runs on VC7.] 
-->
<tt/[/注意: dosemuから X に戻るには ctrl-alt-F7 を使います。]


<!--
<sect1>Is it possible to run dosemu in a window in X-windows?
-->
<sect1>X-Window のウインドウの中で dosemu を動かせますか?

<!--
<p>If you have X installed and you have successfully compiled dosemu
and run it successfully outside X-windows, you should be able to
run "<tt/xdos/" or "<tt/dos -X/" right away to bring up a dosemu
window.  If this does not work, make sure:
-->
<p>X がインストールされていて、うまくコンパイルされた dosemu があり、
それが X Window System でない環境でうまく動作していれば、"<tt/xdos/" または 
"<tt/dos -X/"というコマンドで dosemu ウインドウを起動できるはずです。
うまくいかない場合には、以下の項目ををチェックしてください。
<!--
<verb>
  1. Dosemu has X support compiled in. This is default, however
     if you you have compiled dosemu with "x off" in the
     compiletime-settings file you don't have X support. So changing
     "x off" to "x on" in the compiletime-settings file, followed by
     "make pristine; make; make install" should build 
     you a dosemu-executable with X support, if you have the 
     X-libraries installed in /usr/X11R6.
  2. Set up your X key-mappings.  In an xterm, type

     xmodmap -e "keycode 22 = 0xff08"
     xmodmap -e "keycode 107 = 0xffff"

     These lines fix the backspace and delete keys respectively.
  3. Configure the X-related configuration options in your 
     /etc/dosemu.conf file.
</verb>
-->
<verb>
  1. Dosemu のコンパイル時に X サポートが有効にされているか。この
     オプションはデフォルトで設定されているはずですが、
     compiletime-settings ファイルで "x off" として dosemu をコンパイ
     ルすると X はサポートされません。したがって、compiletime-settings 
     ファイルで "x off" を "x on" に変更し、その後に
     "make pristine; make; make install" を実行すると X をサポートした 
     dosemu の実行ファイルが作られるはずです。ただし、/usr/X11R6 に X 
     のライブラリが入っていなければなりません。
  2. X のキーマップを設定しているか。xterm 上で

     xmodmap -e "keycode 22 = 0xff08"
     xmodmap -e "keycode 107 = 0xffff"

     を実行します。これらはそれぞれバックスペースとデリートキーの設定
     を変更します。
  3. /etc/dosemu.conf ファイルの中で X 関係の設定オプションがきちんと
     設定されているか。
</verb>

<!--
Alternatively, you can run dosemu inside a color xterm,
which is not recommended because many color xterms have buggy
support for the complex text display capabilities of dosemu.
This does not require <tt/X_SUPPORT/ to be compiled into dosemu.
However, if you really want to do this, do the following steps:
-->
カラー版の xterm から dosemu を起動するという方法もありますが、あまり
お勧めできません。カラー版 xterm の多くには、dosemu が必要とするような
複雑なテキスト表示の機能にバグがあるからです。この場合には dosemu のコ
ンパイル時に X_SUPPORT は必要ありません。いずれにせよ、これを試したい
場合には次のような手順をふんでください(97/2/9)。

<!--
<verb>
  1. Install ansi_xterm.  The recommended package is available as:
     tsx-11.mit.edu:/pub/linux/ALPHA/dosemu/Development/ansi-xterm-R6.tar.gz

  2. Set up your X key-mappings.  In an xterm, type

     xmodmap -e "keycode 22 = 0xff08"
     xmodmap -e "keycode 107 = 0xffff"

     These lines fix the backspace and delete keys, respectively.
  
  3. Configure the terminal-related (not X-related) settings in
     /etc/dosemu.conf
</verb>
-->
<verb>
  1. ansi_xterm をインストールする。お勧めのパッケージは次の場所にあ
     ります。
     tsx-11.mit.edu:/pub/linux/ALPHA/dosemu/Development/ansi-xterm-R6.tar.gz

  2. X のキーマッピングを設定する。xterm 上で以下のコマンドを実行しま
     す。

     xmodmap -e "keycode 22 = 0xff08"
     xmodmap -e "keycode 107 = 0xffff"

     これはバックスペースとデリートキーを修正する設定です。

  3. /etc/dosemu.conf ファイルの端末関連(X 関係ではありません)の設定オ
     プションを設定する。
</verb>
<!--
<p>Marty Leisner (<bf>leisner@sdsp.mc.xerox.com</bf>) reported (95/3/31)
that
-->
<p>Marty Leisner さん(<bf>leisner@sdsp.mc.xerox.com</bf>) の報告
(95/3/31)です。

<!--
I have xrdb log the following resources
-->
私は xrdb で次のようなリソースを設定しています。
<tscreen>
dosxterm*Font:  vga
dosxterm*geometry:      80x25
dosxterm*saveLines: 25
</tscreen>
<!--
or I alias "<tt/dosxterm/" to 
"<tt/term -fn vga -title dosxterm -geometry 80x25 -sl 25/"
-->
または、 "<tt/dosxterm/" を "<tt/term -fn vga -title dosxterm
-geometry 80x25 -sl 25/" のエイリアスにする方法もあります。

<!--
If you use the xrdb method, all you have to do is run
"<tt/xterm -name dosxterm/"
-->
xrdb を使う方法では、単に "<tt/xterm -name dosxterm/" を実行するだけで
す。

<!--
<sect1>Xdos dosen't work on a remote X-display!
-->
<sect1>xdos が X のリモートのディスプレイで使えません!

<!--
<p>At present, dosemu is set up to use the MIT shared memory
extensions. This extension only works on a local display. If you want
to run xdos on a remote display, compile dosemu with "mitshm off" in
the compiletime-settings file after a <bf>"make pristine"</bf> or on
the clean source tree(97/2/9).
-->
<p>今のところ、dosemu は MIT 共有メモリ拡張を使う設定になっています。
ところが、この拡張はローカルのディスプレイでしか利用できないのです。も
し xdos をリモートディスプレイで使いたい場合には、
<bf>"make pristine"</bf> を実行した後か、展開後の状態のソースツリーで
compiletime-settings ファイルに "mitshm off" を設定して dosemu をコン
パイルします(97/2/9)。

<!--
<sect1>Xdos dosen't find the VGA font
-->
<sect1>xdos が VGA フォントを見つけられません
<!--
<p>Check that the vga fonts you installed are listed in the font.dir of the
directory you installed the fonts in:
-->
<p>インストールした VGA フォントがフォントをインストールしたディレクト
リの font.dir ファイルに記述されているかどうか確認してください。
<tscreen>
<verb>
hertz:~> grep misc /usr/X11R6/lib/X11/XF86Config
    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
hertz:~> grep vga /usr/X11R6/lib/X11/fonts/misc/fonts.dir 
vga.pcf vga
vga11x19.pcf vga11x19
hertz:~> ls /usr/X11R6/lib/X11/fonts/misc/vga*
/usr/X11R6/lib/X11/fonts/misc/vga.pcf
/usr/X11R6/lib/X11/fonts/misc/vga11x19.bdf
/usr/X11R6/lib/X11/fonts/misc/vga11x19.pcf
</verb>
</tscreen>
<!--
If you installed some X-fonts, like you did when you installed dosemu with
X-Support for the first time,  "mkfontdir" and then "xset fp rehash" needs
to be run. The dosemu install should take care for "mkfontdir" and tells you
about "xset fp rehash". Tell us if it doesn't work for you.
(97/2/13)
-->
dosemu を X サポート有りでインストールしたときなど、新しい X 用フォン
トをインストールしたときには "mkfontdir" と "xset fp rehash" を実行す
る必要があります。dosemu をインストールすると "mkfontdir" が行われます
し、"xset fp hehash" を実行するように注意書きも表示されます。これがう
まく動作しない場合にはお知らせください(97/2/13)。

<!--
<sect1>The vga font is very small on my high resolution display
-->
<sect1>ディスプレイが高解像度なので VGA フォントが小さすぎます
<!--
<p>Look for the vga11x19 font.
(97/2/13)
-->
<p> vga11x19 フォントを探してください。
(97/2/13)

<!--
<sect1>Dosemu compilation fails with some strange error regarding X!
-->
<sect1>X 関係のよくわからないエラーが発生して dosemu のコンパイルが失敗します!

<!--
<p>As stated above, dosemu uses the MIT shared memory extensions by
default. Under XFree86 they are only available with Version 3.1.2 and
above. If you have an older version, consider to upgrade, or configure
dosemu to not use this extension (see last section)(97/2/9).
-->
<p>前にも書きましたが、dosemu はデフォルトで MIT 共有メモリ拡張を使い
ます。XFree86 はバージョン 3.1.2 以上でないとこの拡張をサポートしてい
ません。これより古いバージョンの XFree86 を使っている場合には、XFree86 
をバージョンアップするか、この拡張を使わない設定で dosemu を設定してく
ださい(方法については前の章を見てください)。(97/2/9)

<!--
<sect1>Does ansi emulation work properly?
-->
<sect1>ANSI エミュレーションはうまく動きますか?

<!--
<p>Marty Leisner (<bf>leisner@sdsp.mc.xerox.com</bf>) reported (95/3/31)
that
-->
<p>Marty Leisner さん(<bf>leisner@sdsp.mc.xerox.com</bf>) の報告
(95/3/31):

<!--
Yes.  I use <tt/nnansi.com/ under X windows.  I find 25, 43 and 50
line mode work properly, however 50 line mode is difficult to use on a
1024x768 screen (unless smaller fonts are used or you use a bigger
screen.  43 line mode will resize the <tt/xterm/ window to use 43 lines.
-->
はい。私の場合、X Window System 上で <tt/nnansi.com/ を使っています。少なくと
も 25, 43, 50 行のモードはうまく動くことを確認しています。しかし、
1024x768 の画面では、50 行モードは使いづらいです。(もっと大きな画面や、
小さなフォントを使えば良いでしょう。43 行モードの場合には、<tt/xterm/は
ちゃんと 43行 にリサイズされます。)

<!--
<sect>dosemu and MS-Windows 3.1
-->
<sect>dosemu と MS-Windows 3.1

<!--
<sect1>Is it possible to run MS-Windows 3.1 under dosemu?
-->
<sect1>dosemu の中で MS-Windows 3.1 を使用できますか?

<!--
<p>The ..<bf>/doc/README.Windows</bf> file says:
-->
<p><bf>/doc/README.Windows</bf>ファイルにはこう書いてあります。

<!--
<verb>
***************************************************************
*    WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!   *
*                                                             *
*  Danger Will Robinson!!!  This is not yet fully supported   *
*  and there are many known bugs!  Large programs will almost *
*  certainly NOT WORK!!!  BE PREPARED FOR SYSTEM CRASHES IF   *
*  YOU TRY THIS!!!                                            *
*                                                             *
*    WARNING!!! WARNING!!! WARNING!!! WARNING!!! WARNING!!!   *
***************************************************************
</verb>
-->
<verb>
***************************************************************
*　　注意!!注意!!注意!!注意!!注意!!注意!!　　　　             *
*                                                             *
*  危険です!!この機能は完全にはサポートされていませんし、　   *
*  多くのバグがあります!!大きなソフトウェアはほとんど　　　   *
*  動きません!!!以下の文章は、システムクラッシュを            *
*  覚悟した上で、実行して下さい!!!　　　　　　　　　　　　    *
*                                                             *
*　　注意!!注意!!注意!!注意!!注意!!注意!!　　　　             *
***************************************************************

<!--
Okay, it is possible to boot WINOS2 (the modified version of Windows 3.1
that OS/2 uses) under DOSEMU.  Many kudos to Lutz &amp; Dong!
-->
さて、WINOS2(OS/2によって動かされる Windows 3.1)を dosemu の下で動かす
ことができます。Lutz と Dong に感謝!

<!--
However, YOU NEED BOTH LICENSES, for WINDOWS-3.1 as well OS/2 !!!
-->
しかし、Windows 3.1 と OS/2 両方のライセンスが必要です!

<!--
There are many known problems.  Windows is prone to crash, could take data
with it, large programs will not load, etc. etc. etc.
In other words, it is NOT ready for daily use.  Many video cards are known
to have problems (you may see a nice white screen, however, look below
for win31-in-xdos).  Your program groups are all likely to disappear.
&hellip;  Basically, it's a pain.
-->
また、多くの問題があることもわかっています。Windows がしばしばデータと
共にクラッシュする、大きなプログラムは起動もしない、等々…。多くのビデ
オカードで問題が起こります。(真っ白なスクリーンが見られます。しかし、
xdos 内で Windows 3.1 を使う方法も見てください。)プログラムグループが
全て消える事もあります。基本的には、苦労するだけです。

<!--
for more details see the README.txt file.
-->
詳しくは README.txt ファイルをご覧ください。

<!--
<sect1>Can I run 32bit stuff with winemu
-->
<sect1>winemu で 32ビット環境は使えますか?
<p>
<!--
Sorry, no you can't.
Win32s needs stuff running in ring 0. That's a "nono" with linux.
(97/04/27)
-->
残念ながら、使えません。
win32s は ring 0 で実行する必要があります。Linux ではこんなことは許さ
れません。
(97/04/27)

<!--
<sect1>Errormessage: Cannot find the vdtapi.386 file when starting dosemu
-->
<sect1>vdtapi.386 ファイルが見つからないというエラーが dosemu 起動時に出ます
<p>
<!--
As explained above, winemu can't handle 32 bit stuff. All drivers ending in
386 are 32bit. So to run winemu, you have to delete all references to .386
drivers in your win.ini.
(97/04/27)
-->
既に説明したように、winemu では 32ビット環境は使えません。〜.386 の
名前のドライバは全て 32ビットドライバです。したがって、winemu を実行す
るためには、win.ini ファイル中で 〜.386ドライバを参照している部分を全
て削除しなければなりません。
(97/04/27)

<!--
<sect1>Windows 3.x in xdos:
-->
<sect1>xdos 中での Windows 3.x 
<!--
<p>As of version 0.64.3 DOSEMU is able to run Windows in xdos. Of
course, this is not recommended at all, but if you really want to try,
it is safer then starting windows-31 on the console, because _when_ it
crashes, it doesn't block your keyboard or freeze your screen.
-->
<p>バージョン 0.64.3 の dosemu では xdos 中で Windows を実行することが
できます。もちろん、これも全く勧められないことです。しかし、どうしても
実行したいという場合には、コンソールで Windows 3.1 を実行するよりも安
全です。もしクラッシュした場合にも、キーボードが使えなくなったりしませ
んし、画面がフリーズすることもないからです。

<!--
Hints:
-->
以下にヒントを挙げておきます:
<!--
<verb>
1. Get Dosemu & Linux source.
2. Unpack dosemu.
3. Run "./configure" to configure Dosemu (it will enable vm86plus as a
   default).
4. Type "make" to compile.
5. Get a Trident SVGA drivers for Windows. The files are tvgaw31a.zip
   and/or tvgaw31b.zip. They are available at garbo.uwasa.fi in
   /windows/drivers (any mirrors?).
6. Unpack the Trident drivers.
7. In Windows setup, install the Trident "800x600 256 color for 512K
   boards" driver.
8. Do the things described above to get and install OS2WIN31.
10. Start xdos.
11. In Dosemu, go to windows directory and start winemu.
12. Cross your fingers.
</verb>
-->
<verb>
1. dosemu と Linux のソースを入手する。
2. dosemu を展開する。
3. "./configure" を実行して、dosemu を configure する。(vm86plus はデ
   フォルトで有効になっています。)
4. Windows 用の Trident SVGA のドライバを入手する。tvgaw31a.zip か 
   tvgaw31b.zip です。これらのファイルはホスト garbo.uwasa.fi の 
   /windows/drivers ディレクトリにあります。(ミラーはあるでしょうか?)
5. OS2WIN31 で述べたものと同じ手順を行う。
6. xdos を実行する。
7. dosemu 内で windows ディレクトリに移動し、winemu を起動する。
8. 十字を切って祈る。
</verb>

<!--
<sect1>Can I install windows from within dosemu?
-->
<sect1>dosemu 内で Windows をインストールすることはできますか?

<p>
<!--
<bf>No</bf> you can't. Dos will tell you something like
-->
<p><bf>できません</bf>。以下のようなエラーメッセージで止まるはずです:
<tscreen>
	The XMS driver you have on your system is not
	compatible with Windows...
</tscreen>
<!--
You need to install windows from Dos. You can copy the windows tree to
somewhere on your Linux Filesystem and use lredir to mount it on the
same place as it is in dos. Example:
-->
Windows は DOS を使ってインストールする必要があります。Windows のディ
レクトリを Linux のファイルシステムのどこかにコピーし、lredir を使って 
dos の時と同じ場所にあるように見せかけることもできます。
<!--
<tscreen>
        You have windows in d:&bsol;windows
	You have d:&bsol; mounted as /dosc in Linux
        You copy the windows tree to Linux, 
	         e.g. "cp -a /dosd/windows /usr/share
        Inside dosemu you redirect the copied tree like
                 lredir d: linux&bsol;fs&bsol;dosd
</tscreen>
-->
<tscreen>
        Windows は d:&bsol;windows にある
	d:&bsol; は Linux で /dosc としてマウントされている
        Windows を Linux にコピーする
	         例: "cp -a /dosd/windows /usr/share"
        dosemu 内でコピーしたディレクトリツリーを次のようにして
        リダイレクトする
                 lredir d: linux&bsol;fs&bsol;dosd
</tscreen>
<!--
Now dosemu can't mess around in you windows directory, but changes in the
windows directory aren't seen by dosemu too. If you want to do the
same with windows on drive c:&gt; look in this FAQ how to redirect c:.
-->
dosemu は windows ディレクトリに手出しはできませんが、windows ディレク
トリの変更も dosemu からは見えません。ドライブ c:&gt; の Windows と同
じにしたい場合には、この FAQ に書かれている c:. にリダイレクトする方法
を見てください。

<!--
But you can use "setup" from inside the windows directory to install drivers
and change some settings.
(97/2/1497)
-->
しかし、windows ディレクトリで "setup" コマンドを実行してドライバをイ
ンストールしたり設定を変えることはできます。
(97/2/1497)

<!--
<sect1>Notes for the mouse under win31-in-xdos:
-->
<sect1>xdos 内の Windows 3.1 でマウスを使う際の注意点
<p>
<!--
1. Use the mouse driver "mouse.drv" from WinOS2
-->
1. マウスドライバは WinOS2 の "mouse.drv" を使います。

<!--
2. In order to let the mouse properly work you need the following in your
   win.ini file:
-->
2. マウスをうまく使えるようにするためには、win.ini ファイルで以下の設
定を行う必要があります:
<verb>
     [windows]
     MouseThreshold1=0
     MouseThreshold2=0
     MouseSpeed=0
</verb> 

<!--
3. The mouse cursor gets not painted by X, but by windows itself, so it depends
   on the refresh rate how often it gets updated, though the mouse coordinates
   movement itself will not get delayed.
   ( In fact you have 2 cursors, but the X-cursor is given an 'invisible'
   cursor shape while within the DOS-Box. )
-->
3. マウスカーソルは X ではなく、Windows によって描画されます。従ってマ
   ウスの座標移動は問題ありませんが、表示の更新頻度はリフレッシュレー
   トに依存します。(実際には2つのカーソルがあることになります。ただし、
   X のカーソルは DOS-box の中では表示されません。)

<!--
4. Because the coordinates passed to windows are interpreted relatively, we
   need to calibrate the cursor. This is done automatically whenever you
   enter the DOS-Box window: The cursor gets forced to 0,0 and then back
   to its right coordinates. Hence, if you want to re-calibrate the cursor,
   just move the cursor outside and then inside the DOS-Box again.
-->
4. Windows に渡される座標は相対的なものとして処理されるので、カーソル
   の調整が必要です。これは DOS-box にカーソルが入るのと同時に自動的に
   行われます。カーソルは強制的に座標(0,0)に動かされた後、正しい位置に
   戻されます。従って、カーソルの再調整を行いたい場合には、一度 
   DOS-box からカーソルを外に出した後、再び中に入れるだけです。
<!-- END FIXME-->
(97/2/10) 

<!--
<sect1>Why did my Icon disappear from the Program manager?
-->
<sect1>プログラムマネージャからアイコンが消えてしまいます
<!--
<p>MS-Windows and WinOS2 handle the program manager group differently. While
MS-Win store the setup in progman.ini, WinOS2 wants the contents of
progman.ini in system.ini. Here's a tip from <bf>(friest@acm.org (Todd
T. Fries))</bf>:
-->
<p>MS-Windows と WinOS2 ではプログラムマネージャのグループの扱いが異な
ります。MS-Windows は設定を progman.ini に保存しますが、WinOS2 は 
system.ini に保存します。Todd T. Fries さんの<bf>(friest@acm.org)</bf>
のテクニックで対処できます。
<tscreen>
cat progman.ini >> system.ini
</tscreen>
<!--
Be sure to use >> :-)
-->
使うのは '>>' ですよ。 :-)

<!--
<sect>Video and sound
-->
<sect>ビデオとサウンド

<!--
<sect1>Can I run 32-bit video games under dosemu?
-->
<sect1>32 ビットのゲームを dosemu の中で起動できますか?

<!--
<p>Mark Rejhon (<bf>mdrejhon@magi.com</bf>) reported (95/4/8) that
-->
<p>Mark Rejhon さん(<bf>marky@ottawa.com</bf>)の報告(95/4/8):

<!--
With the recent DPMI improvements that has gone into 0.60, you can now
run some 32-bit video games in dosemu.   If the game is compatible in
an OS/2 DOS box, there are chances that it will work in dosemu.
(Example 32-bit games include Descent, Dark Forces, Mortal Kombat 2, 
Rise of The Triad, which have all successfully been tested in recent 
dosemu releases).
-->
バージョン0.60 から入っている新しい DPMI 機能により、いくつかの 32 ビッ
トゲームが動作するようになっています。もし、そのゲームが OS/2 の DOS 
boxで動作するなら、dosemu でも動作する可能性があります。(例としては、
Descent, Dark Forces, Mortal Kombat 2, Rise of the Triad 等です。これ
らのゲームは、新しいバージョンの dosemu で動作する事が確認されています。)

<!--
Before you attempt to run a video game, you must have the keyboard
configured in raw keyboard mode and enabled VGA graphics modes, in the
<bf>/etc/dosemu.conf</bf> file.
-->
ゲームを起動する前に、<bf>/etc/dosemu.conf</bf> の中でキーボードが raw 
モードになっていて、VGA グラフィックスが有効になっている事を確認してく
ださい。

<!--
Note, however, you will have to turn off the sound in the game.
(Someone will have to program in sound board emulation before we can
avoid this).  Note that game timers can be a little bit slow, due to
Linux multitasking and lack of high-frequency timer support.  So the
games may run from anywhere from 5 to 100 percent speed.  Typically,
the speed is approximately 50 percent in recent dosemu releases and is
expected to improve eventually.
-->
なお、この方法を使う場合にはゲームのサウンドを切らないといけません。
(サウンドを使えるようにするには、誰かがサウンドボードのエミュレーショ
ンをするプログラムを書かなければなりません。Linux はマルチタスク OS で、
高い周波数のタイマをサポートしていませんので、ゲームの動作は少し遅いか
もしれません。ゲームの速度は DOS 上で走る時の 5〜100％ のスピードで動
く可能性があります。通常は最近の dosemu だとおよそ半分くらいのスピード
で、これは将来さらに改善されると思われます。

<!--
Who knows, it might even work. If you can't get it to work, check
EMUfailure.txt if the program is listed there, or falls in a category of
programs that at present don't or probably never work with dosemu. If
you think, it should be listed in EMUfailure.txt, report to
<bf>linux-msdos@vger.rutgers.edu</bf>   
-->
あるプログラムが動くかどうかは、なかなかわからないものです。もしうまく
動かすことができなかった場合には、EMUfailure ファイルにそのプログラム
が挙げられているかどうか、現在の dosemu ではおそらく動かないとされる種
類のプログラムであるかどうかをチェックしてください。その上で、あなたが
EMUfailureに載せるべきだと判断した場合は、
<bf>linux-msdos@vger.rutgers.edu</bf>宛に報告を送ってください。

<!--
There is a security hole when having enabled DPMI and having dosemu
suid root (especially when using dos4gw-based games), the client is able
to access the whole user space, hence also can modify the dosemu code
itself. Use of the 'secure' option in /etc/dosemu.conf, e.g.
-->
DMPI を有効にしていて、かつ dosemu を root に setuid している場合には、
dosemu がセキュリティホールとなります(特に dos4gw ベースのゲームを実行
する場合)。この場合、クライアントはユーザ空間全体にアクセスできるので、
dosemu 自体のコードを変更することができるのです。/etc/dosemu.conf
の 'secure' オプションを利用して、これを無効にしてください。指定例を以
下に示します:
<tscreen>
$_secure = "ngd" # secure for: n (normal users), g (guest), d (dexe)
</tscreen>
<!--
disables this. It is better to run dosemu as a normal user under X
rather than root anyway.
-->
いずれにせよ、dosemu は root で実行するよりも X 上で通常ユーザとして実
行する方が安全です。

<!--
<sect1>Exiting from dosemu gives me a screen full of garbage.
-->
<sect1>dosemu を終了した時に、画面がゴミがいっぱいになります

<p> (95/4/8)

<!--
The problem is that the font information for the VGA text screen is
not being saved.  Get a copy of the svgalib package.  The current
source is in
-->
この現象が起こるのは、VGA テキスト画面におけるフォント情報が保存され
ていないからです。svgalib パッケージを入手しましょう。最新のソースの入
手先は、
<verb>
sunsite.unc.edu:/pub/Linux/libs/graphics/svgalib-1.3.1.tar.gz
</verb>
です。
<!--
It may also be available as a pre-compiled package in your favorite
Linux distribution (e.g., Slackware, etc.).  Use <tt/savetextmode/ to
save the current text mode and font to a file in <bf>/tmp</bf> before
running dosemu.  Then run <tt/textmode/ upon exiting dosemu to restore
it.
-->
このライブラリはあなたの使っている Linux のパッケージ(Slackware 等)に
バイナリ形式で含まれているかもしれません。<tt/savetextmode/ を使って、
現在のテキストモードとフォントを <bf>/tmp</bf> の下に保存してから 
dosemu を起動してください。そして、dosemu を終了した後に <tt/textmode/
を使って設定を復元します。

<!--
Addition from (<bf>lermen@elserv.ffm.fgan.de</bf>(97/2/11)):
-->
<bf>lermen@elserv.ffm.fgan.de</bf> さんによる補足(97/2/11):

<!--
Have a look also at src/arch/linux/debugger/README.recover and
README.dosdebug, dosdebug can aid you recovering.
-->
src/arch/linux/debugger/README.recover と README.dosdebug も参照してく
ださい。dosdebug も復元に使えます。

<!--
<sect1>Why doesn't my soundcard software work with dosemu?
-->
<sect1>私のサウンドカードは dosemu では使えないのですが?
<p>
<!--
  Dosemu includes a rudimentary soundblaster emulator called SBemu -
  the documentation for it is currently at
  http://www.slitesys.demon.co.uk/a.macdonald/dosemu/sound/
  This is a work in progress, not completed yet so much or most
  DOS software that uses sound will not work correctly with it yet.
-->
dosemu には開発中の SoundBlaster エミュレータが含まれています。これは 
SBemu と呼ばれています。このドキュメントは現在、
http://www.slitesys.demon.co.uk/a.macdonald/dosemu/sound/ で入手できま
す。SBemu は現在作業中であり、まだ完成していないので、サウンドを使う 
DOS ソフトウェアの大部分あるいはほとんどはまだ正しく動作しません。

<!--
<sect>Games
-->
<sect>ゲーム

<!--
<sect1>Duke3d dosen't work
-->
<sect1>Duke3d が動きません
<!--
<p>Hans Lermen <bf>&lt;lermen@elserv.ffm.fgan.de&gt;</bf> said (97/2/16):
-->
<p>Hans Lermen さん<bf>&lt;lermen@elserv.ffm.fgan.de&gt;</bf>の報告(97/2/16):
<!--
duke3d must be 'configured' via a setup, within this setup you have to choose 
'keyboard + mouse', else it won't work.
-->
duke3d を動かすには、設定で 'キーボード+マウス' を選択しなければなりま
せん。それ以外の設定では動作しません。

<!--
<sect>Problems and fixes
-->
<sect>問題とその解決法

<!--
<sect1>Security issues
-->
<sect1>セキュリティ関連
<!--
<p>A full featured Dosemu needs to be suid root, e.g to access ports. 
Most dos programs don't need this however so when running under X you
usually do not need to run dosemu as root.
Dosemu runs as suid "root" only where it is needed, and releases this right
thereafter. But with DPMI, the Dos client programm can access the whole user
space, hence also can modify the dosemu code itself. Use of the 'secure'
option in /etc/dosemu.conf disables this.
There are several other important security considerations discussed in the 
Security section of the README.txt file.
-->
<p>dosemu の全ての機能(例えばポートへのアクセス)を使うためには、root 
に suid する必要があります。ほとんどの DOS プログラムではこれは必要あ
りませんので、X 上で dosemu を実行しているときには dosemu を root で実
行する必要は普通はありません。
dosemu は必要な時だけ "root" に setuid した状態で動作し、それが終わる
とすぐに権限を手放します。しかし DMPI を使う時には、DOS クライアントプ
ログラムはユーザ空間全体にアクセスできるので、dosemu のコードそのもの
を変更することもできます。これを無効にするには /etc/dosemu.conf
の 'secure' オプションを使ってください。README.txt ファイルのセキュリティ
の章では、セキュリティで考えるべき重要事項が他にもいくつか説明されてい
ます。

<!--
<sect1>dosemu says "ERROR: general protection" and terminates when I run some program
-->
<sect1>一部のプログラムを実行すると dosemu が "ERROR: general protection" と出力して終了してしまいます
<p>
<!--
This will happen if your program uses DPMI and you do not have DPMI
enabled. Try changing the line
<verb>
$_dpmi = (off)
</verb>
in /etc/dosemu.conf to
<verb>
$_dpmi = (nnnn)
</verb>
-->
この現象は、DPMI を禁止している時に DPMI を使うプログラムを実行した時
に起こります。/etc/dosemu.conf ファイルの
<verb>
$_dpmi = (off)
</verb>
という行を
<verb>
$_dpmi = (nnnn)
</verb>
に変えてみてください。
<!--
where nnnn is the number of kilobytes of memory you wish to give to
the DOS program (e.g. Doom requires about 4000 kilobytes). If you do
this, you should not run dosemu as root (see the Security Issues section) - 
it is better not to run dosemu as root whenever possible, in any case.
-->
ここで nnnn は DOS プログラムに割り当てるメモリの量(キロバイト単位)で
す(例えば Doom は約 4000 キロバイトを必要とします)。これを設定した場合、
dos を root で実行してはなりません(「セキュリティ関連」の章をご覧くだ
さい)。いずれにせよ、dosemu はできるかぎり root では実行しない方が良い
でしょう。
<!--
<p>Another likely cause is that your program uses VCPI (see EMUfailure.txt
for more details) or some other means of switching to protected mode 
(other than DPMI), in which case it will never work under dosemu.
-->
<p>その他によくある原因は、実行したプログラムが VCPI(詳しくは 
EMUfailure.txt を見てください)、またはプロテクトモードへの切替えを行う
(DPMI 以外の)方法を使っている場合です。このような場合、プログラムは 
dosemu 上では動作しません。
<!--
<p>If none of these is the case, see section 1.14 I have a program that 
fails, not listed in EMUfailure.txt.
-->
<p>これらのいずれでもない場合、1.14 節を参照してください。実行に失敗す
るけれど EMUfailure.txt にリストされていないプログラムということになり
ます。

<!--
<sect1>Dosemu dies when booting. I have Win95 installed.
-->
<sect1>dosemu が起動時に死んでしまいます。Windows95 をインストールしています
<!--
<p>Dosemu relies that the Dos-Version on the hdimage and the Drive you map
to contain command.com are the same. If not, dosemu will crash sooner or
later. With the dual boot option Win95 offers when pressing the F4,F5 and
F8 Keys with the "Starting Win95" text, versions on the Win95 drive may
swap. Take special care for command.com. Let your shell variable in
config.emu point to the correct static version of command.com, e.g.:
shell=c:&bsol;win95&bsol;command.com c:&bsol; /P /E:1024 (97/02/28)
-->
<p>dosemu は hdimage と command.com を含むものとして割り当てるドライブ
で DOS のバージョンが同じであるものと信じます。これが同じでない場合に
は、dosemu は遅かれ速かれクラッシュしてしまいます。
デュアルブートオプションを使っていて、"Starting Win95"の文字が出ている
ときに F4, F5, F8 キーを押すと、Windows95 のドライブ側のバージョンが変
わるかもしれません。command.com には特に注意してください。config.emu 
のシェル変数が正しい静的バージョンの command.com を指すようにします。
例えば、"shell=c:&bsol;win95&bsol;command.com c:&bsol; /P /E:1024"のよ
うになります(97/02/28)。
 

<!--
<sect1>Dosemu hangs! How can I kill it?
-->
<sect1>dosemu がハングしてしまいました! どうやって止めれば良いでしょうか?
<p>
<!--
  Switch to another console and type dosdebug, then type kill (it may
  take a while but will work eventually).
-->
他のコンソールに切替えて dosdebug を実行し、"kill" と入力してください
(少し時間はかかることもありますが、結果的には動作します)。

<!--
<sect1>Dosemu crashed and now I can't type anything.
-->
<sect1>dosemu がクラッシュして、何も入力できない状態になりました

<!--
<p>Daniel Barlow(jo95004@sable.ox.ac.uk) reported (95/4/8) that
-->
<p>Daniel Barlow さん(<bf>jo95004@sable.ox.ac.uk</bf>)の報告(95/4/8):

<!--
If you have no terminal or network access that you can use to log in,
you may have to press the reset button.  If you can still get a usable
shell somehow, run "<tt/kbd_mode -a/" to switch the keyboard out of
raw mode, and/or "<tt/stty sane/" on the console so that you can see
what you're typing.
-->
もし、ログインできる端末やネットワーク接続が無いなら、リセットボタンを
押さなければならないかもしれません。何とかシェルを起動できるなら、
"<tt/kbd_mode -a/" を実行してキーボードをrawモードから切り替えるか、
コンソールで "<tt/stty sane/" を実行して、入力した文字が表示されるよう
にしてください。

<!--
A useful thing to do is to use a script to run dosemu, and run
"<tt/kbd_mode -a/" automatically right after dosemu.  When dosemu
crashes, the script usually will resume running, and execute the
"<tt/kbd_mode -a/" command.
-->
dosemu をシェルスクリプトから起動し、dosemu の後に自動的に 
"<tt/kbd_mode -a/" を実行させるのも有効な方法です。dosemu がクラッシュ
してもスクリプトは走り続け、"<tt/kbd_mode -a/" を実行されるというわけ
です。

<!--
<sect1>I've enabled EMS memory in dosemu.conf but it does not help.
-->
<sect1>dosemu.conf の中で EMS メモリを有効にしたのに、うまく行きません

<!--
<p>Rob Janssen (rob@pe1chl.ampr.org) reported (94/7/11)
-->
<p>Rob Janssen さん(<bf>rob@pe1chl.ampr.org</bf>)の報告(94/7/11):

<!--
Don't forget to load the provided ems.sys from the config.sys file.
-->
dosemu と一緒に配布されている ems.sys を config.sys の中で組込むことを
忘れないでください。

<!--
<sect1>How do I get rid of all those annoying "disk change" messages?
-->
<sect1>"disk change" メッセージを出さないようにできませんか?

<p>(94/8/11)

<!--
Grab and install <tt/klogd/.  Try
-->
<tt/klogd/ を手に入れて、インストールしてください。
<tt/klogd/ は以下の URL で入手できます。
<verb>
         sunsite.unc.edu:/pub/Linux/system/Daemons/sysklogd1.2.tgz
</verb>

<!--
<sect1>Why won't dosemu run a second time after exiting in console mode?
-->
<sect1>コンソールモードで dosemu を終わると、次の起動ができません

<!--
<p> Aldy Hernandez (<bf>aldy@sauron.cc.andrews.edu</bf>) reported
(94/7/8) that
-->
<p> Aldy Hernandez さん(<bf>aldy@sauron.cc.andrews.edu</bf>)の報告
(94/7/8):

<!--
You should disable your video and/or BIOS caching.
-->
ビデオか BIOS (あるいはその両方)のキャッシングを無効にしてください。

<!--
<sect1>Why will dosemu run in a term but not in the console?
-->
<sect1>端末では dosemu が動くのに、コンソールでは動きません

<!--
<p>JyiJiin Luo (<bf>jjluo@casbah.acns.nwu.edu</bf>) reported (94/4/19)
that
-->
<p>JyiJiin Luo さん(<bf>jjluo@casbah.acns.nwu.edu</bf>)の報告(94/4/19):

<!--
I experienced exactly the same problem before. I figured out all the
video shadow in my AMI BIOS must be disabled. Now dosemu runs fine on
my system. 
-->
私も以前に同じ問題に出会いました。AMI BIOS によるビデオメモリ領域のシャ
ドウ化は全て無効にしないといけないようです。私のマシンではこれでうまく
行っています。

<!--
<sect1>How can I speed up dosemu?
-->
<sect1>dosemu をもっと速くできませんか?

<!--
<p>In some cases it is useful to play with the value of the
<tt/HogThreshold/ variable in your <tt/dosemu.conf/ file.
-->
<p><tt/dosemu.conf/ ファイル内の <tt/HogThreshold/ 変数の値を変更する
とうまくいくことがあります。

<!--
<p>Daniel Barlow(<bf>jo95004@sable.ox.ac.uk</bf>) reported (95/4/8) that
-->
<p>Daniel Barlow さん(<bf>jo95004@sable.ox.ac.uk</bf>) の報告(95/4/8):

<!--
HogThreshold should now be set to approximately half of the BogoMips
value that the system reports on boot.
-->
HogThreshold の値は、起動時に表示される BogoMips 値の大体半分に設定す
るのがいいでしょう。

<!--
<sect1>My CDROM drive has problems reading some files under dosemu.
-->
<sect1>dosemu 内 で CD-ROM がうまく読めないことがあります

<!--
<p>Vinod G Kulkarni (<bf>vinod@cse.iitb.ernet.in</bf>) reported
(94/4/7) that 
-->
<p>Vinod G Kulkarni さん(<bf>vinod@cse.iitb.ernet.in</bf>)の報告
(94/4/7):

<!--
When a CDROM is mounted from linux and used from within dosemu (mapped
drive), there could be some problems. The CD-ROM driver (iso9660) in
the kernel tries to find out the type of the file (i.e. binary or
text).  If it can't find, it tries to guess the type of the file using
a heuristic. This heuristic fails under some circumstances when a
(almost) text file is to be treated as binary.  (I do not know if it
is a bug or feature.)
-->
CD-ROM が Linux 上でマウントされていて、なおかつ dosemu から(割り当
てられたドライブとして) アクセスされた場合には、何らかの問題が起こるか
もしれません。まず、カーネル内の CD-ROM ドライバ(ISO9660)がファイルの
種類(テキストかバイナリか等)を識別しようとします。もし、これができなけ
れば、ヒューリスティックを使ってファイルの種類を推測しようとします。ファ
イルのほとんどの部分はテキストファイルでもバイナリとして扱われるべきで
ある場合、この推測が失敗することがあります。(これが果してバグなのか、
それとも機能と呼ぶべきなのかは微妙なところです。)

<!--
The result of this is that if you copy such a file from CD-ROM (from
linux itself, and not necessarily dosemu), the resulting file will be
usually bigger than original file. (Blanks get added before
<tt/^J/,<tt/^M/.)  So a program running in dosemu gives an error or
hangs, which may be mistaken as problem of dosemu.
-->
この結果、もし、このようなファイルを CD-ROM からコピーしようとした場合
(必ずしもdosemu 内だけでなく、Linux 内でも)、オリジナルよりファイルサイ
ズが大きくなります(<tt/^M/ や <tt/^J/ の前にスペースが入ります)。この
ため、dosemu 内のプログラムがエラーを出したりハングしたりします。これ
が dosemu の問題と誤解される事もあるでしょう。

<!--
<p>Rob Janssen (<bf>pe1chl@rabo.nl</bf>) reported (94/8/10) that 
-->
<p>Rob Janssen さん(<bf>pe1chl@rabo.nl</bf>) の報告(94/8/10):

<!--
The way to solve this is to turn off conversion altogether.  Pass the
option "<bf>-o conv=binary</bf>" to the mount command mounting the
CD-ROM, or use the following in <bf>/etc/fstab</bf>:
-->
これを解決するには、この変換を止めてしまえばいいのです。
CD-ROM をマウントする時に、"<bf>-o conv=binary</bf>" オプションを付け
るか、<bf>/etc/fstab</bf> に次の行を追加します。
<verb>
/dev/cdrom	/cdrom		iso9660	conv=binary,ro
</verb>
<!--
No patches to the kernel are necessary.
-->
カーネルにパッチを当てる必要はありません。

<!--
<sect1>How do I see debugging output?
-->
<sect1>デバッグ用の出力を見るには、どうすればいいですか?

<!--
<p>Daniel Barlow(<bf>jo95004@sable.ox.ac.uk</bf>) reported (95/4/8) that
-->
<p>Daniel Barlow さん(<bf>jo95004@sable.ox.ac.uk</bf>)の報告(95/4/8):

<!--
As of dosemu 0.60, debugging output is redirected to a file specified
on the command line.  Use "<bf>dos -D+a -o /tmp/debug</bf>" to log all
debug output to <bf>/tmp/debug</bf>.  There should no longer be any
need to redirect <tt/stderr/.
-->
dosemu 0.60 では、デバッグ出力はコマンドラインで指定したファイルに書き
込まれます。<bf>/tmp/debug</bf> に全てのデバッグ情報を書き出すには、コ
マンド "<bf>dos -D+a -o /tmp/debug</bf>" を使います。標準エラー出力を
リダイレクトする必要は、もう無いはずです。


<!--
<sect1>Why are my keystrokes echoed ttwwiiccee??
-->
<sect1>入力した文字が 2 回もエコーさされれまますす

<!--
<p>Nick Holloway (<bf>alfie@dcs.warwick.ac.uk</bf>) reported (94/2/22)
that
-->
<p>Nick Holloway さん(<bf>alfie@dcs.warwick.ac.uk</bf>) の報告(94/2/22):

<!--
After running dos after playing with some stty settings, I was getting
doubled key presses.  I can now reveal what the reason is!
-->
stty の設定をいじってから dos を起動すると、入力文字が 2 回エコーされ
るようになってしまいました。今こそ、その理由を明らかにしましょう!

<!--
It only happens when dos is run on the console with 'istrip' set.  This is
(I think) because the raw scancodes are mutilated by the 'istrip',
so that key release events look like key press events.
-->
こうなってしまうのは、コンソールに 'istrip' が設定されている時だけです。
私が思うに、 'istrip' がキーボードの生のスキャンコードを変形させてしま
うために、キーを離したというイベントがキーを押したというイベントと同じ
になってしまうのでしょう。

<!--
So, the input processing needs to be turned off when using the scan
codes on a console (it wouldn't be a good idea to do it for tty lines).
-->
ですから、コンソールで scancodes を使っている場合には、入力処理を行わ
ないようにします。(tty 回線の場合にこれをやってはいけません。)

<!--
<sect1>Dosemu scrambles my screen?
-->
<sect1>dosemu で画面が乱れてしまいます
<!--
<p> For those graphics cards not fully supported in dosemu, with allowed
console graphics a dosemu crash may leave your console in a scrambles and
nearly unusable way. To prepare for that situation, Spudgun
&lt;spudgun@earthlight.co.nz&gt; posted the following solution. First save your
registers when running on the console
&tilde;&gt; cat /usr/bin/savetextmode
&tilde;&gt; restoretextmode -w /etc/textregs
&tilde;&gt; restorefont -w /etc/fontdata
Then, when a crash happened, run following script:
restoretextmode -r /etc/textregs
restorefont -r /etc/fontdata
restorepalette
-->
<p> dosemu で完全にはサポートされていないグラフィックスカードを使って
いて、コンソールでグラフィックスを使えるようにしている場合には、dosemu 
がクラッシュすると画面が滅茶苦茶なままになってしまうことがあります。こ
のような場合のために、Spudgun 氏 &lt;spudgun@earthlight.co.nz&gt; が次
の解決法を投稿してくれました。まずはコンソール上でレジスタの保存を行い
ます。
&tilde;&gt; cat /usr/bin/savetextmode
&tilde;&gt; restoretextmode -w /etc/textregs
&tilde;&gt; restorefont -w /etc/fontdata
それから、クラッシュしたときに次のスクリプトを実行します。
restoretextmode -r /etc/textregs
restorefont -r /etc/fontdata
restorepalette

<!--
<bf>If it doesn't fix it nothing will</bf>
-->
<bf>これで直らなければ、どうしようもありません。</bf>
<!--
I also found having an X server running sometimes put my Vid card's
registers into a strange state where this script made things worse
I think since changing X servers and/or running savetextmode on a vt while X
was running helped. (97/04/08)
-->
私は X サーバがビデオカードのレジスタをおかしくしてしまったときにこの
スクリプトを実行したら自体が悪化したこともありました。これは X サーバ
を変えたことか仮想端末で savetextmode を実行したこと(あるいはその両方)
のせいだと思います。(97/04/08)

<!--
<sect1>MS FoxPro 2.6 won't run
-->
<sect1>MS FoxPro 2.6 が動きません
<!--
<p>FoxPro 2.6 doesn't run on network drives. Alexey Naidyonov
&lt;growler@growler.tsu.tula.ru&gt; states on that problem:
And I guess your FoxPro files are on lredir'ed disk, yeah? The matter is that
FoxPro doesn't run on such disk, but when I said disk { partition ... } in
/etc/dosemu/conf, it runs. 
-->
<p> FoxPro 2.6 はネットワークドライブ上では動作しません。Alexey
Naidyonov さん &lt;growler@growler.tsu.tula.ru&gt; がこの問題について
説明しています。おそらく、FoxPro のファイルが lredir した先のディスク
にあるのだと思います。違いますか? 問題は FoxPro はこのようなディスクの
上では動作しないことです。しかし、/etc/dosemu.conf で
disk { partition ... }
を設定することでうまく動きました。

<!--
<sect>Contributing to the dosemu project
-->
<sect>dosemu プロジェクトへ貢献する


<!--
<sect1>Who is responsible for dosemu?
-->
<sect1>責任者は誰ですか?

<p>

<!--
Dosemu is built upon the work of Matthias Lautner and Robert Sanders.
Hans Lermen (lermen@dosemu.org) is responsible for
organizing the latest releases of dosemu.
-->
dosemu は Matthias Lautner さんと Robert Sanders さんの作業の上に成り
立っています。最新版のリリースの取りまとめについては、
Hans Lermen さん (lermen@dosemu.org) が責任を持っています。
<!--
<verb>
                       History of dosemu

          Version    Date                Person
-->
<verb>
                         dosemu の歴史
         バージョン  日付                人物
         -------------------------------------------------
          0.1        September 3, 1992   Matthias Lautner
          0.2        September 13, 1992  Matthias Lautner
          0.3        ???                 Matthias Lautner
          0.4        November 26, 1992   Matthias Lautner
          0.47       January 27, 1993    Robert Sanders
          0.47.7     February 5, 1993    Robert Sanders
          0.48       February 16, 1993   Robert Sanders
          0.48pl1    February 18, 1993   Robert Sanders
          0.49       May 20, 1993        Robert Sanders
          0.49pl2    November 18, 1993   James MacLean
          0.49pl3    November 30, 1993   James MacLean
          0.49pl3.3  December 3, 1993    James MacLean
          0.50       March 4, 1994       James MacLean
          0.50pl1    March 18, 1994      James MacLean
          0.52       June 16, 1994       James MacLean
          0.60       April 9, 1995       James MacLean
          0.64.4     February 9,1997	 Hans Lermen
          0.66.3     April 20, 1997      Hans Lermen
          0.98.1     December 9, 1998    Hans Lermen
          0.98.6     March 21, 1999      Hans Lermen
</verb>

<!--
<sect1>I want to help.  Who should I contact?
-->
<sect1>協力したいと思います。誰に連絡すればよいでしょうか?

<!--
<p>The dosemu project is a team effort.  If you wish to contribute,
see the DPR (dosemu Project Registry).  A current copy may be found 
in <bf>doc/DANG</bf>.
-->
<p>dosemu プロジェクトはチーム活動をしています。もし参加しようと思った
ならば、 DPR(dosemu Project Registry) を見てください。
最新版は ..<bf>/doc/DANG</bf> にあるはずです。

<sect>日本語関連の情報

<sect1>dosemu で DOS/V を使うための情報

<p>
以下に dosemu 上で DOS/V を動かすための参考になる URL を挙げておきます。
当然ながら、各ツールやパッチの作者の方々による動作保証やページ作者の方々
による内容の保証は一切ありません。各自の責任でご利用ください。

<descrip>
<tag><url
url="http://www.is.s.u-tokyo.ac.jp/~oiwa/ja_JP.ISO-2022-JP/mysoft/index.html"
name="dosemu 日本語 Patch"></tag>
曽根さんが作成された dosemu 0.60.3 を X 環境下で日本語化するパッチを
おおいわ＠東大理情さんが dosemu 0.66.7 用に移植されたものです。


<tag><url url="http://www.tcp-ip.or.jp/~shochan/linux/index.html"
name="Linux のお部屋"></tag>
しょうちゃんさんのページです。dosemu の日本語化の実際の手順が詳しくまとめられています。

<tag>Fep Bridge</tag>
田宮@富士通研さん作のアプリケーションです。これは dosemu 上で動くアプ
リケーションではなく、dosemu をバックグラウンドで動作させて DOS/V 用の
日本語 FEP を Linux から利用するためのものです。最新版は 
<url url="http://www.vector.co.jp/vpack/filearea/unix/writing/fep/" name="http://www.vector.co.jp/vpack/filearea/unix/writing/fep/">
から入手できます。
</descrip>

<sect1>日本語訳について

<p>
日本語訳は Linux Japanese FAQ プロジェクト(JF プロジェクト)が行いました。
誤訳の指摘、質問、dosemu 関連情報については JF プロジェクト
&lt;JF@linux.or.jp&gt; までお寄せください。
また、藤原(<htmlurl url="mailto:fujiwara@linux.or.jp"
name="fujiwara@linux.or.jp">)個人宛に送っていただいてもかまいません。

<verb>
日本語訳の履歴

1999/4/12版 藤原輝嘉
1997/3/15版 藤原輝嘉
1995/8/11版 川島浩, 岡田雄木
</verb>

</article>
