(Translated from Japanese to English with Google Translate)

***************************************************************************

Hidemaru Text Editor
Compatible with MS(R) OS/2 V1.2 PM

Version 3.4
te.doc
All Rights Reserved, Copyright (c) Hideo Saito, Fujitsu Ltd. 1990, 1991.
(Document (c) yam, Hideo Saito, 1990)
(Version 3.4 Hideo Saito, 1991)
***************************************************************************

0. Introduction

This program is a text editor for OS/2 PM.
It has been made as fast as possible with the current PM, allowing for a fairly comfortable text editing experience.

The following changes have been made between V3.1 and V3.2:

- Direct tag jump support
- Added TETAGS.EXE

The following fixes have been made from V3.2 to V3.3:

- Macro support
- 20-dot fonts have been greatly improved (please give it a try)
- Improved scrollbars
- Added profile functionality
- Added horizontal scrollbars
- Improved performance when selecting a range
- Added diffs for creating RED-style or WordStar-style views.
(In the Hidemaru Customization Kit)
- Improved color and size dialog box
- Assembly source can now be read with TETAGS.EXE
- Easier return to the original parent session when exiting Hidemaru Manager
- Various changes to default settings
- Other bug fixes

The following fixes have been made from V3.3 to V3.4:

- Multi-font support
- Added shortcut keys in dialog boxes
- Removed large fonts (32-dot)
- Other bug fixes
- Some old bugs have also been resurrected.

Please note that mixing different versions of DLLs or EXEs will almost certainly result in a crash.

1. System Requirements

Compatible Models: Only machines with a 32-bit CPU (i386 or higher). 286 machines

However, it seems to work as long as you don't use 20-dot fonts.

OS: Japanese MS(R)OS/2 V1.2 or higher is required.

Memory: Approximately 500K is consumed when the file size is 0 and the window is maximized.

Internal memory requirements are approximately the size of the file being edited + additional + 500K.

A combined memory requirement of around 6MB, including that used by OS/2 PM, should be sufficient.

If multiple instances of Hidemaru are running, the memory consumption per instance will be even lower.

Disk: The drive with the SWAPPATH must have some free space, although this may be related to other products.

2. Installation Instructions

Place the following files in a directory with a clear path.

- TE.EXE (Hidemaru main program)
- KANCODE.EXE (program for displaying the kanji code table)
- ASCCODE.EXE (program for displaying the ASCII code table)
- TEGREP.EXE (so-called GREP copyright yam)
- TEPR.EXE (Hidemaru Printing)
- TETAGS.EXE (utility for direct tag jump)

All files except TE.EXE are included in the "Hidemaru Utilities" folder.

Place the following files in the directory specified by libpath= in config.sys.

- TECOLOR.EXE DLL

Also, create a TE.ENV file if necessary. (TE.ENV will be discussed later.)

Then, register it in the program startup or associate it with the file system to make it easy to launch Hidemaru.

If you use a user DLL, the DLL must be located in the directory specified by the LIBPATH parameter in CONFIG.SYS.
If you are using Fujitsu OS/2, it is recommended that you place it in \OS2\FMIOLIB.

3. Launching

To launch Hidemaru as a standard text editor, follow these steps:

TE [options] [filename...]

Wildcards can be used in the filename. If no filename is specified, *.* is assumed. If a directory is specified, the file under that directory is assumed to be specified.

When using wildcards or specifying a directory, a file selector appears, allowing you to select a file; this will be discussed later.

Options

For details about options, refer to the Hidemaru help.

The -v, -c, and -s options can be specified consecutively, as shown below:

-va7b6trF -cx2y2k2 -smC

Example of starting Hidemaru
te -ac *.c
te -t4 -m40 -fl 文庫.doc
te -z -fs 無政.log
te -vfcR *.nnn

※TE. About ENV

Hidemaru has a feature that allows you to launch it with pre-specified options without having to specify them each time. Using this feature makes it convenient to launch it from a file system (PMFILE.EXE).

The method is as follows:

- Create a file called TE.ENV in the same directory as TE.EXE (the main Hidemaru program).
- Include your desired options on a single line in the file.
- If you launch TE.EXE without specifying any options, the options in TE.ENV will automatically be enabled.
- Options specified on the command line take precedence over those specified in TE.ENV.

Furthermore, Hidemaru V3.1 can also switch options based on the file extension of the file being edited. Write the following example from the second line of the TE.ENV file shown above.

TE.ENV example:

-fn -b -p -h -vr2cAa0b1 -cx2y2k2 -m250 -t8 -x80 -y24
.c -t4 -ac -B -m250 -ltecman
.h -t4 -ac -B -m250
.asm -a -t8 -B -m250 -lteasmman
.inc -a -t8 -B -m250
.lst -t8 -a -m250 -lteasmman
.rc -a -B -t4 -m250
.def -a -B -t8 -m250
.doc -m80 -t8

Hidemaru has a feature that allows you to execute external commands within Hidemaru. Usage is as follows:

TE [option] -e command

Example:
te -e dir
te -e nmake te

While the command is running, the program title will be displayed as

Hidemaru: XXXX (Executing)

. When the external command is complete, it will be displayed as

Hidemaru: XXXX (Completed)

. Once the external command is complete, you can edit it like a normal file.

4. Basic Operations

Basic operations are largely the same as with other editors.

5. Undo and Redo

Since Hidemaru v3.1, many undo and redo functions have been added, although with some limitations. However, using certain functions will disable undo and redo. These include:

- Cutting or pasting more than 250 characters
- All operations near borders
- Drawing or erasing borders

The number of undos is set to 100 by default and can be set to any number in the options.

However, increasing it too much will waste memory, so set it to a maximum of 300.

Also, be aware that if memory allocation fails internally, undo will no longer be possible at that point.

300 should be sufficient.

6. Memorization and Recall

If you want to repeat simple keystrokes, memorization and recall are an easy way to achieve this.

Pressing SHIFT+PF1 memorizes the keystrokes up to the next time you press SHIFT+PF1, and then pressing SHIFT+PF2 recalls the memorized keystrokes.

This is useful when you need to perform the same keystrokes repeatedly.

7. Executing GREP

Specify the search pattern and file you want to search, and TEGREP.EXE will run within another Hidemaru. While searching, the title will say (Executing), and when the search is complete, it will change to (Completed). Once the search is complete, you can save the contents to a file.

Please note that up until V2.0, GREP.EXE was launched, but starting with V3.0, the name has changed to TEGREP.EXE.

8. Executing External Commands

Executes an external command within another Hidemaru. Commands that can be executed within the command prompt, such as DIR and MAKE, will generally work. However, commands that require keystrokes (such as FORMAT) will not.

(In other words, commands that can be launched with the DETACH command will work.)

If you execute an external command incorrectly, an error message will be displayed and the process will automatically be interrupted.

As with GREP, you can save the contents once the process is complete.

Scrolling during external command execution has become faster since V3.0.

9. Move the cursor and select areas with the mouse.

Hidemaru window