3.3
Table Of Contents
- Avid iNEWS Administration Guide
- Contents
- Using This Guide
- 1 - Introduction
- 2 - Connect Services
- 3 - Database Security
- 4 - Database Management
- 5 - Backing Up the iNEWS System
- 6 - Disconnects
- 7 - Troubleshooting
- A - Command References
- Programs Invoked by iNEWS
- Commands Used by Avid Personnel Only
- Linux Commands Used in iNEWS
- Console Control Commands
- Console Server Commands
- broadcast
- configure
- connect
- ctraits
- dbclean
- dbclose
- dbdev
- dbdump
- dbfree
- dblines
- dboriginal
- dbpurge (Superuser conditional)
- dbrestore
- dbserver
- dbsort
- dbtraits
- dbvisit
- dictionary
- diskclear (Superuser only)
- diskcopy
- doc
- ed
- enter
- force (Superuser only)
- grpcheck
- gtraits (Superuser only)
- help
- hogs
- idiff
- list
- list B
- list C
- list c
- list d
- list g
- list p
- list q
- list s
- list sq
- list u
- logout
- makemontab
- makeshift (Super user only)
- maketab (Superuser only)
- msgclean
- offline
- online
- otod
- reconnect
- remove
- rename (Superuser only)
- reorder
- restart
- searchtape
- send
- shutdown
- sitedump (Superuser only)
- siterestore (Superuser only)
- startup
- status
- stop
- su
- unbusy
- utraits (Super user only)
- version
- wholockedit
- Job List Commands
- Dialog Commands
- B - System Files
- C - Standard Dictionaries
- Using Dictionaries to Define Messages and Commands
- Customizing Dictionaries
- Utility Messages Dictionary (/site/dict/messages)
- DBServer Program Messages
- Disconnect Program Messages
- Category and Keyword Check Program Messages
- Keyboard Check Program Messages
- Keyboard Check Program Messages for Macros
- Grpcheck Messages
- Wire Program Messages
- Mail Server Messages
- Validation (Action) Server
- Seek Server Messages
- Last Login Messages
- Print Server Messages
- dbtraits Messages
- Save Error (Workstation) Messages
- Queues Dictionary (/site/dict/queues)
- Words Dictionary (/site/dict/words)
- Keyboard Macros Dictionary (/site/dict/keymacros)
- Case-shifting Dictionary (/site/dict/shift)
- MCS Dictionary (/site/dict/mcs)
- Job List Command Dictionary (/site/dict/joblist)
- D Messages Dictionary (/site/dict/dmessages)
- S Messages Dictionary (/site/dict/smessages)
- D - Environment Variables
- E - Managing Traits at the Console
- F - The Line Editor, ed
- Index
Dialog Commands
175
To use
timer
, follow it with the number of seconds you want it to count and the string you
want it to display if that period of time elapses. For instance, you may want to use the
timer
command so it terminates the session if the dialog is unable to log in within 60 seconds.
When a
pass
command is active, an active
timer
command suspends counting. When
pass
command finishes,
timer
command resumes counting.
Also, the same
timer
command applies to any subsequent
wait
commands if no other
timer
commands appear before them. If you do not want to use the same
timer
value for
another
wait
command later in the dialog, insert
timer 0
after the first
wait
command.
This cancels the first
timer
command and causes subsequent
wait
commands to wait for
their string forever if no other timer commands follow
timer 0
.
type
type <string to send>
Sends a string to the device to which the service has connected.
For instance, if you were creating a dialog that types the user’s name in response to a login
prompt, you may use:
type joel smith
Most devices to which you connect expect a carriage return (represented by a
<cr>
) after
each string you send. When this is the case, you must include a
<cr>
at the end of the string.
wait
wait <string to wait for>
Pauses the dialog until a specified string is received from a device to which the service has
connected, or until a certain amount of time (specified by a
timer
command) has elapsed
with no response.
To use this command, follow it with the string for which the dialog should wait. If you use
wait
without a parameter, the dialog waits until any character is received.
Unless a
timer
command has been executed first, the
wait
command waits forever until the
specified string is received, so type exactly the string you want it to wait for, and keep in
mind that
wait
is case-sensitive. If the dialog never receives the string
wait
is looking for,
the dialog hangs, and you need to use the
quit
connect command to exit the dialog and
return to your iNEWS Workstation.