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
172
To use the expect command, follow it with the character—that is,
<delimiter>
—you want
to use as the delimiter to separate each string in the list. The delimiter can be any character.
Follow this with the first string you want expect to wait for. Then add a delimiter and the
string you want expect to send if it does not receive the first string. You can add as many
strings as you want.
For instance, some devices may not display a
login:
prompt unless you press Enter. To
have the dialog send a carriage return to the device if it does not receive the
login:
prompt
immediately, use the expect command. If the first character following expect is a comma,
this sets the comma as the delimiter used to separate strings following the command from
each other.
If you do not place a string between two delimiters, this indicates a null string. If you have
the expect command wait for a null string, it considers any string it receives to be a match. If
you have the expect send a null string, it does not send anything, but instead waits for the
next expected string.
Although the dialog is suspended while this command is in effect, the user can employ the
quit connect command to close the connection.
heol
heol [on|off]
If necessary, you can have the system insert a hard end-of-line character (HEOL) after each
line of captured text.
Put the heol on command in the dialog at the point where you want this feature turned on.
To turn off this feature, use heol off.
If you are calling a device that contains information in tables or columns, have the system
insert an HEOL at the end of each captured line. This way, tables and columns you capture
retain their format. Put the heol on command in the dialog.
map
map <local character> <remote character>
Translates a character (local character) entered at the keyboard to some other character
(remote character) before sending it to the device to which you are connected. Likewise, if
the system receives a remote character from the device, the map command translates it to
local character before sending it to a workstation.