|
Archive for the 'Attributes' Category
Thursday, April 12th, 2007
If you set the background color to WHITE, it comes out grey. The TinyTERM background colors (BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, BROWN and WHITE) are the “darker” versions of the colors. The bright colors are reserved for the foreground.
You can make the background bright white in TinyTERM version 4.02 or higher using the CScript scripting language. No other Century Software, Inc., product allows this.
To write the script, go to TinyTERM’s Tools menu and select Script Editor. The command:
te.SetRGBEntry(7,16777215);
will make the WHITE background color bright white. You can change any of TinyTERM’s 16 colors the same way.
To set the colors to change automatically when you start TinyTERM, save the script you created using the Script Editor’s Save button. Once you’ve saved the script, go to TinyTERM’s Edit menu and select Session Properties. Click the radio button by “Post session start,” then click the Browse button below that. Select the script you created and click OK. Click OK again to close the Session Properties, then save the settings. The next time you open that session, your color settings will load automatically. You will need to do this for each session separately.
In TinyTERM version 4.9.0 or higher, you can instead edit the .tpx file in use, using any text editor. Locate the line:
RGBMap7=
Change it to read:
RGBMap7=FFFFFF
This is the hexadecimal value for bright white in the RGB color map. Other colors may be set the same way. You can use http://www.colorpicker.com to get RGB color values if desired.
Posted in Attributes, CScript | Comments Off on Bright White Background
Thursday, April 12th, 2007
TinyTERM version 4.x has the capability to program the mouse buttons for a number of functions. The most popular are copying and pasting text. TinyTERM 4.30 and higher have a right-click menu for those functions, but it can also be programmed in earlier versions.
To set this up, open the Edit menu and select Session Properties. Go to the Mouse tab. For the button you want to program (left, middle or right), change the option to “Send custom string.”
To copy text, enter the custom string:
%o
and click OK. You will need to select text before you can copy it. The left mouse button selects text by default.
To select text, drag the cursor over it. When you click to copy, the cursor must be in the TinyTERM window, but it does not have to be on the selected text. The selected text will be copied to the Windows clipboard, then the selection will be canceled.
To paste text, enter the custom string:
%p
and click OK. Clicking the programmed mouse button anywhere in the TinyTERM window will then paste the current text from the Windows clipboard to the current cursor position. It will not paste the text anywhere you click, but only at the host’s current cursor location.
You can combine these two in a single line to copy selected text, then immediately paste it. The custom string for that is simply:
%o%p
The mouse buttons can be programmed for a number of additional functions. For a full list, see the TinyTERM Help file.
Posted in Attributes | Comments Off on Programming the Mouse
Monday, April 9th, 2007
Using TERM for UNIX to communicate from the SCO console to another SCO system, neither ANSI or SCOANSI emulations reproduce the remote host colors. In this case, use the TTY emulation for console-to-console communications. This is strictly a pass-through emulation and will reproduce the colors properly.
Posted in Attributes, SCOANSI, TERM | Comments Off on Console-to-Console Color Problems
Thursday, April 5th, 2007
The RGB settings that follow are the default values for all Century Software, Inc., products. These can only be changed in TinyTERM version 4 with the te.SetRGBEntry() CScript command. There is no other way to set the colors, nor can they be set in any other product.
Color Name |
Color Description |
RGB Value |
RGPMap number |
BLACK |
no color |
0, 0, 0 |
0
|
|
BLUE |
1/2 blue |
0, 0, 128 |
1
|
|
GREEN |
1/2 green |
0, 128, 0 |
2
|
|
CYAN |
1/2 green + blue |
0, 128, 128 |
3
|
|
RED |
1/2 red |
128, 0, 0 |
4
|
|
MAGENTA |
1/2 red + blue |
128, 0, 128 |
5
|
|
BROWN |
1/2 red + green |
128, 128, 0 |
6
|
|
WHITE |
3/4 red + green + blue |
192, 192, 192 |
7
|
|
LT GREY |
1/2 red + green + blue |
128, 128, 128 |
8
|
|
LT BLUE |
blue |
0, 0, 255 |
9
|
|
LT GREEN |
green |
0, 255, 0 |
10
|
|
LT CYAN |
green + blue |
0, 255, 255 |
11
|
|
LT RED |
red |
255, 0, 0 |
12
|
|
LT MAGENTA |
red + blue |
255, 0, 255 |
13
|
|
YELLOW |
red + green |
255, 255, 0 |
14
|
|
LT WHITE |
red + green + blue |
255, 255, 255 |
15
|
|
Posted in Attributes | Comments Off on Default Color Values
Monday, March 26th, 2007
In some cases, TinyTERM 4.20 will not properly display colors. To fix that, apply this patch.
To use it, locate the existing CenTE.ocx file in C:\Program Files\Century\TinyTERM. Rename that as a backup, then copy the patch into the same directory. The next time you start TinyTERM, it will be in effect.
CR 494, fixed in TinyTERM 4.31
Posted in Attributes, SCOANSI | Comments Off on Color Problems in TinyTERM 4.20
Thursday, March 15th, 2007
TinyTERM versions 4.00-4.20 have a memory leak in the Session Properties dialog. If you change several settings at a time, eventually you’ll see a “Get property failed” error message.
When this happens, the solution is to save your settings and exit TinyTERM. When you start TinyTERM again, the error will not happen immediately. Some of your previous settings may be lost, though.
CR 254, fixed in TinyTERM 4.21
CR 401, duplicate
Posted in Attributes | Comments Off on Multiple “Get Property” Errors
|