ptermcs

Create character set files for pterm

Syntax:

ptermcs [-S i|m|n] [-s server] [-x position[%][r]]
        [-y position[%][r]] filename

Runs on:

Neutrino

Options:

-Si|m|n
The initial state of the main window (iconified, maximized, or normal).
-s server_name
The name of the Photon server:
If server_name is: This server is used:
node_path node_path/dev/photon
fullpath fullpath
relative_path /dev/relative_path
-x position[%][r]
The x coordinate of the upper-left corner of the window, in pixels, or as a percentage of screen width if % is specified. If r is specified, the coordinate is relative to the current console.
-y position[%][r]
The y coordinate of the upper-left corner of the window, in pixels, or as a percentage of screen height if % is specified. If r is specified, the coordinate is relative to the current console.
filename
Name of file to load.

Description:

The ptermcs utility creates files to specify character settings that pterm uses for its custom font list.

Terminal charset setup

When you invoke ptermcs, the Terminal charset setup dialog appears. Here, you can customize the charsets as follows:

ANSI charset
Choose a character set that you want pterm to use when your terminal emulation is set to ANSI in pterm's Terminal Properties dialog. The ISO 8859 character sets are a good choice for ANSI mode because all of the printable characters are in this range (32-127, 160-255). Default is Western European (ISO 8859-1).
Internal/QNX charset
Choose a character set that you want pterm to use when your terminal emulation is set to QNX in pterm's Terminal Properties dialog. DOS code pages such as Cyrillic (IBM 866) or the PC character set (“IBM code page 437”) are the best choices since they contain all of the alphanumeric characters as well as the line-drawing characters. Default is PC character set (“IBM code page 437”).
Font charset
Choose the character encoding that your fonts use. Default is PC character set (“IBM code page 437”).

To save your changes, select Save on the File menu.

Examples:

Run ptermcs using the Photon server on node my_node:

ptermcs -s/net/my_node/dev/photon

Run at initial position (10,10):

ptermcs -x10 -y10

See also:

pterm