#TERM-4.1 HELP?
7 messages in this thread
Hello Gary,
term has online help via HelpButton, only if you have the amigaguide
files. You should read them just to honour olsons effort.
If you don't have them, here is the clip of the node "Script recording":
————————–Script recording—————————
`term' offers a feature called `Script recording' which lets you
record incoming data sent by a BBS or a remote host and your response
to it, i.e. the text you typed, such as login name and password. The
recorded data can then be saved to an ARexx script file which can be
used as an auto-login script. In order to record a script you can
either use the dialing panel button labeled Start recording on
connection or the menu item Record.
Once `term' is recording terminal output and your input the status
display will show Recording or Rec.line, depending on the text entrymode.
By default `term' will only record single keystrokes, which makes
it difficult to enter whole words. If you want `term' to remember the
entire line of text you are about to enter either use the Record line menu
item or press the shift+return key combination: the status willchange to
Rec.line. To return to keystroke recording just press the return key or
select the Record line menu item/press shift+return again.
`term' only remembers the last ten characters sent and a maximum of
256 characters you can enter per line. If you enter more than this
number of characters older keystrokes will be discarded.
When you are finished recording the script select the Record line menu
item. A file requester will ask you for the file name to save the
script under. If the file is successfully saved you may be asked whether
you want the script file to be used as a login script for the currently
active phonebook entry.
The script file generated will consist of ARexx commands `term'
understands, mostly TIMEOUT, WAIT and SEND. The text to be waited forand
to be sent is given in standard `term' command sequence notation.
For more information consult the chapter entitled Command_sequences.
The `term' ARexx interface documentation provides the necessary
background to explain how the script commands work, it should also give
you hints how to customize the recorded scripts.
Caution: scripts recorded by `term' usually need additional editing,
don't expect a script to work right away. You may want to change the
timeout values, remove extra characters and input.
– yours truly
* Derek *
Hello Derek,
-;term has online help via HelpButton, only if you have the amigaguide
-;files. You should read them just to honour olsons effort.
-;If you don't have them, here is the clip of the node "Script recording":
Derek I honored Olson's efforts many, many, times… the problem is
with the following…
-; When you are finished recording the script select the Record line menu
-; item. A file requester will ask you for the file name to save the
-; script under. If the file is successfully saved you may be asked -;
whether you want the script file to be used as a login script for the -;
currently active phonebook entry.
"If" the file is successfully saved… My file was saved
successfully… You "MAY" be asked whether you want the script file to be
used as a login script… I was never asked. So, I read (honored Olson's
efforts) again, and repeated the steps many times, still I was never
asked.
Derek if you (anyone) would send me your Login Script for CI$ (of
course withOUT your PASSWORD) it would help me a great deal. Thanks, in
advance. BTW, if you have any insights on what I must do to be honored
with an invitation to use my script for the currently selected phone book
entry, please tell me.
— Gary Lucas —
Gary,
I'm not sure how to tell you to be "honored", but if you will open your
phonebook and click on the particular phonebook entry you want, then go to the
list on the right hand side and look for the list entry "Commands" (no quotes).
When you click on Commands you will be presented with a requestor in which you
can enter the name of your login script where the string requestor says Login
script. You need to enter "\a scriptname" (again, without the quotes). The
script should be in the REXX: directory and named as scriptname.term.
A simple CIS login script might look like:
TIMEOUT 10 DELAY 1 SEND '^C' /* send a CTRL-C */ WAIT 'User id: ' SEND
'userid\r' WAIT 'Password: ' SEND 'password\r'
This is a pretty bare login script, but should work. You may need a 'return'
after the CTRL-C, i.e., SEND '^C\r', if the script doesn't work quite right for
you.
Steven,
Thank You! Your advice on Term 4.1 worked perfectly.
— Gary Lucas —
Gary,
No sweat, glad to help.
Hem…
> "If" the file is successfully saved… My file was saved
> successfully… You "MAY" be asked whether you want the script
> file to be used as a login script… I was never asked. So, I read >
(honored Olson'sefforts) again, and repeated the steps many
times, still I was never asked.
If The Script "IS" recorded and "IS" saved successfully then just manualy
enter the login script into the phonebook ( I just don't know any other
solution ).
Activate "comands.." out of the settings list. In the string for "Login
command" enter a comand. Here is what I have as "Login command":
\a REXX:Term/AccessBox.term
The " \a " stands for "arexx". Term will start ARexx and let ARexx execute
the script "REXX:Term/AccessBox.term".
Im sorry about not having a login script for CI$, because i dont have the
need to :). Im a happy autopilot user (see privius smily).
If it absolutely won't work at all, please don't be afraid to ask me,
and I'll try to make a skript for you.
– yours truly
* Derek *
Derek,
Thanks, for your second reply. Your info. this time was correct. I
too use AP ;^) However, in need of an example Login Script, I thought I'd
ask for one that we on CI$ have in common.
Gratefully,
— Gary Lucas —