Free 14-Day Evaluations    
Product Downloads    

Sign in     


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

Let the UNIX Application Change the Title Bar

You may want your UNIX application to change the TinyTERM window title. For example, you may want the title bar to show the application module when a user changes screens.

You can do this in TinyTERM 4.02 or higher by sending a CScript command from the UNIX application. The sequence:

<ESC>&oFSetPropNow(158,”Module”);AppRedraw();^M

will do what you need. Taken piece by piece, the string

<ESC>&oF

tells TinyTERM that what follows are CScript commands. <ESC> should be replaced with the Escape character, ASCII value 27.

^M

signals the end of the CScript commands. Similar to <ESC>, ^M should be replaced with the Ctrl-M character, ASCII value 13.

SetPropNow(158,”Module”);

sets the Windows title bar remark. “Module” can be replaced with any quoted string.

AppRedraw();

redraws the TinyTERM window. This forces the title bar to refresh.

Other CScript commands can be run from the host system in the same manner. For a full list of CScript commands, refer to the documentation included with TinyTERM.

CR 17

Comments are closed.

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