Free 14-Day Evaluations    
Product Downloads    

Sign in     


DESKTOP MOBILE DOWNLOAD PURCHASE SUPPORT INFO COMPANY
 Home  >>  Support  >>  Knowledge Base

Switch Sessions with a Keystroke

Up to nine sessions can be opened in a single TinyTERM window. By default you must use the mouse to select one of these sessions, either from the Session menu, or by clicking a session tab.

There are two ways to configure a key to switch sessions. Both are done through the keyboard editor. To open that, go to TinyTERM’s Edit menu and select Settings. Select the Keyboard tab, then click the Edit button to bring up the keyboard map.

1. Rotate between sessions
To map a key that will switch to the next session in order, click the Chart Open button. This brings up the Drag & Drop Tables.

On the right of the table are five buttons labeled F, 1, 2, 3 and 4. Click the F button to bring up the Keyboard Meta Functions.

In the function list, use the mouse to grab the NEXTSESS item. Drag and drop it onto the desired key. When this key is pressed, it will switch to the next session in the list, rotating back to the first session if the last is currently active.

2. Go to a particular session
You can also map a key to go to a specific session. Sessions are numbered internally from 0 up to 8, with session 0 being the first one opened. For this example, we’ll map the Alt+function keys to switch between two open sessions.

In the map, click the Alt key. Then click F1. The Keyname field will change to AF1. Change the Action field to COMMAND. In the Value field, enter this string:

 SwitchSess(0,0);

Click the Set button to make this active. This maps the first session (number 0) to Alt+F1.

Next, click the F2 key. The Alt key should remain clicked, so the Keyname will be AF2. Again change the Action to COMMAND, and enter this in the Value field:

 SwitchSess(1,0);

Click the Set button again. This maps the second session (number 1) to Alt+F2. This can be extended to as many as nine keys.

Once you finish mapping the desired keys , click the OK button to close the keyboard map. Back in Session Properties, click the Save As button to give the new keyboard scheme a name.

If you’ve used Alt keys as in the above example, click the Use Alt keys in emulation box. Otherwise, the keys will be used by Windows instead of TinyTERM. In particular, Alt+F4 will close TinyTERM.

Whether you’ve used Alt keys or not, click the Apply button to make the changes permanent. Then click OK to close the Session Properties.

From TinyTERM’s File menu, select Save Session. That will complete your new key configuration.

Comments are closed.

  Copyright © 2024 Century Software, Inc. All Rights Reserved999 TERMS OF USE PRIVACY POLICY EULA