EasyManuals Logo
Home>HP>Software>TACL

HP TACL User Manual

HP TACL
235 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #49 background imageLoading...
Page #49 background image
Accessing Terminals
Developing TACL Programs
107365 Tandem Computers Incorporated 2–29
Changing the TACL Prompt The SETPROMPT command allows you to change the standard TACL prompt so that
it includes the current volume or subvolume name.
To make additional modifications, define a variable called _PROMPTER that contains
the definition of the prompt. Within the _PROMPTER variable, set the #PROMPT
built-in variable to the desired prompt text. To cause TACL to invoke _PROMPTER
prior to displaying a prompt, set the #PREFIX built-in variable to -1.
To save the previous prompt, push the #PREFIX built-in variable before you set
#PREFIX to the new prompt text.
The following code displays the node name, volume, and subvolume in the TACL
prompt:
#SET #PROMPT -1
[#DEF _PROMPTER TEXT |BODY| #SET #PREFIX [#DEFAULTS]]
When you are working on your local system, the prompt looks like this:
$DATA.SVOL 10>
When you have used the SYSTEM command or #SYSTEM built-in function to access
another node, the prompt looks like this:
\RSYS.$DATA.SVOL 10>
To install the prompt whenever a user logs on, add a section to the user's macro
definition file:
?SECTION _PROMPTER MACRO
#SET #PREFIX [#DEFAULTS]
Add the following line to the TACLCSTM file:
#SET #PROMPT -1
Alternatively, you could use the FILEINFO command to obtain the node name,
volume, and subvolume.
For more information about #PROMPT and #PREFIX, see the TACL Reference Manual.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP TACL and is the answer not in the manual?

HP TACL Specifications

General IconGeneral
BrandHP
ModelTACL
CategorySoftware
LanguageEnglish

Related product manuals