Figure 3-9 initial-action template for accounting, Shown in figure 3-9 – Nortel Networks VT100 User Manual

Page 53

Advertising
background image

3-14 Getting started

555-9001-316 Standard 1.0 February 1996

Figure 3-9
Initial-action template for accounting application

The initial-action template starts the accounting session with the host
computer by accessing accounting from the trs.conf file. It then executes the
screen templates acctlog1, acctlog2, then atacctmenu.

Templates

Corresponding Screens

#initial action template to start
#the accounting application
#filename: acctinit.act
acctinit accounting - clrinit

acctlog2.scn

#screen template that logs
#into the host
#filename: acctlog1.scn
acctlog1 1,1 login:
0,0 -

vad

0,0 > ENTER
0,0 -

quality

0,0 > ENTER
0,0 @ 3

#screen template that starts
#the accounting application
#filename: acctlog2
acctlog2 0,0 ULTRIX
0,0 -

acct

0,0 > ENTER
0,0 @ 5

#screen template that validates
#the accounting menu screen
#filename: atacctmenu.scn
atacctmenu 1,20 ACME Accounting

login:

login: vad
Password: *******

ACME Accounting

1. Accounts Receivable
2. Accounts Payable
3. Reports
4. Inventory
5. Exit

Enter menu selection:

login: vad
Password: *******
Last login: Fri Oct 7 16:01:34 from Publisher
ULTRIX V4.2 (Rev 96) System #9:
Wed Oct 12 10:08:24 EDT 1994

$

login: vad
Password: *******
Last login: Fri Oct 7 16:01:34 from Publisher
ULTRIX V4.2 (Rev 96) System #9:
Wed Oct 12 10:08:24 EDT 1994

$ acct

atacctmenu

acctlog1.scn

Advertising