|
Archive for the 'Keyboard' Category
Thursday, April 19th, 2007
The keyboard mapper in TinyTERM 4.x includes keyboard maps for the United Kingdom, the United States, France and Germany. However, no matter which one you select, it always reverts to the United States keyboard. This is fixed in TinyTERM 4.20.
CR 204
Posted in Keyboard | Comments Off on Non-US Keyboards Not Saved
Thursday, April 19th, 2007
All versions of TinyTERM allow you to map the pound sign £ to a key. However, it does not type correctly in some versions. This was fully corrected in TinyTERM 4.20.
CR 135
Posted in Keyboard | Comments Off on UK Pound Sign Fails
Thursday, April 19th, 2007
The Back Tab option in the keyboard mapper for TN5250 does nothing. When that is mapped to a key, it’s as if the key were mapped to nothing. There is no patch for this.
CR 114, fixed in TinyTERM Plus 4.40.
Posted in 5250, Keyboard | Comments Off on Back Tab Fails in TN5250
Thursday, April 19th, 2007
The Value field in the keyboard mapper has a 4,096-character limit. When mapping CScript commands to a key, TinyTERM versions prior to 4.12 do not allow the full 4,096 characters. There is no patch for earlier versions.
CR 107, fixed in TinyTERM 4.12.
Posted in CScript, Keyboard | Comments Off on Keyboard Mapper Character Limit
Wednesday, April 18th, 2007
While using TinyTERM 4.03, the keyboard may lock up, causing TinyTERM to stop responding to your typing. Moving the mouse frees up the keyboard.
This is a known issue with that version of TinyTERM. There is no patch. The only solution is to use a newer version of TinyTERM.
Posted in Keyboard, SCOANSI | Comments Off on SCOANSI Keyboard Lockup
Friday, April 13th, 2007
You can do this in TinyTERM 4.x by mapping a key to the CScript command SessionNew(). To do this, open the keyboard map and click on the key you want to use. Change the Action to COMMAND. In the Value field, enter:
SessionNew(“default.tpx”);
Replace default.tpx with the name of the session you want to open, enclosed in quotation marks.
If you don’t want to open a specific file each time, but select one on the fly instead, combine SessionNew() with StdOpen(), which will give you a standard file browse dialog. That command is:
SessionNew(StdOpen(“C:\\Program Files\\Century\\TinyTERM”,”tpx files|*.tpx|”,”tpx”,”TinyTERM Connection Files”));
Posted in CScript, Keyboard | Comments Off on Open Session on a Keystroke
Friday, April 13th, 2007
Once you’ve created a custom keyboard mapping, attribute scheme or other configuration in TinyTERM, you may want to distribute it to all users. There is an easier way than recreating the configuration on every single PC.
Once you’ve created a custom keyboard scheme in TinyTERM, it’s saved into the file C:\Program Files\Century\TinyTERM\keyboard.dat. To copy a scheme to another PC, you only need to copy the keyboard.dat file. Then the next time you start TinyTERM, the new scheme will be available on that PC as well.
Other custom configuration files that can be distributed the same way. There are several, all with the .dat extension:
attr.dat – contains attribute schemes: colors, etc.
codepage.dat – contains code pages for different character sets
login.dat – contains automatic login schemes
All this information is referenced by connection files, which have the .tpx extension. Those files contain all the connection information, but they also reference the .dat files. So no matter how much customizing you do in TinyTERM, you only need to distribute the four .dat files and any .tpx files you may have created.
Posted in Attributes, Code Page, Keyboard, Login | Comments Off on Sharing Custom Configurations
Thursday, April 12th, 2007
You can map TERM Script Language commands to a key in any version of TERM. Simply use the SETKEY command. For example, to map the command XMIT “This is a test” to Ctrl-F8, the command is:
setkey cf8 “@@xmit “This is a test””
To map multiple commands to a single key, put them all in a script file. You can then map that file to a key with the DO command. For example, to map the script myscript.cmd to the F5 function key, the command is:
setkey f5 “@@do myscript.cmd”
CScript handles this through the keyboard mapper instead. To map one or more script commands to a key, change the Action field to COMMAND, then enter the commands in one long string. For example:
te.cls();te.displaynl(“Hello World!”);
If you need to map a script to a key, use the CompileFile() command:
CompileFile(“scriptname.cs”);
You can also view this information in a screencast by clicking here.
Posted in Keyboard, Screencast, Scripting | Comments Off on Map Script to Key
Thursday, April 12th, 2007
If you need to repeat the same keyboard actions repeatedly in TinyTERM 4.x, the CScript scripting language can do it. In TinyTERM 4.30 and higher, you can do this automatically through the Macro Recorder.
This tool copies the keys you type in, watches for responses from the host system, and records it all to a CScript file. To use the Macro Recorder:
- On the Tools menu, click Macro Recorder.
- In the list box, type a name for the macro. If you accept the default name, the ## signs will be replaced by numbers; e.g., KeyMac00.cs. Every new macro will be assigned a new number, one higher than the last macro created.
- Click the Record button to begin recording.
- Type the commands and other keystrokes you wish to record. You must hit Enter at least once, or the macro will not be recorded.
- Click the Pause button to temporarily halt recording and to start recording again later.
- Click the Stop button to end recording and write the macro file.
There are two ways to execute the resulting macro:
- Open the Macro Recorder. In the list box, type the name of the macro. Click the Play button.
- Click on Tools | Execute Script File. Select the macro from the list of scripts, then click the Open button.
If the macro isn’t doing quite what you expected, you can record a new macro or edit the existing one. To edit, go to the Tools menu and select Script Editor. Click the Open button to select your macro, then edit it as you need to.
You can also view a screencast that demonstrates this process. For more information on script commands, see the TinyTERM Programmers Reference Manual. You can also contact our Support department for help writing and debugging macros and other CScript files.
CR 130, added in TinyTERM 4.30
CR 724, not enabled in TN3270 or TN5250
CR 800, must hit Enter
Posted in CScript, Keyboard, Screencast | Comments Off on Macro Recorder
Thursday, April 12th, 2007
If you need to map the same function to several keys in TinyTERM for Windows, with only minor changes to each one, you can speed up the process so you don’t have to type the same thing repeatedly. Once you’ve mapped the first key, use the mouse to drag it to the Clipboard in the Keyboard Mapper. You’ll find it in the lower left-hand corner of the “Edit Keyboard Map” dialog box. This copies the entire key to the clipboard. You can then drag the Clipboard to any number of keys, making them all the same. Once that’s done, click on each of the keys you remapped to change them individually.
You can also view this information in a screencast by clicking here.
Posted in Keyboard, Screencast | Comments Off on Keyboard Mapper Clipboard
|