T.R | Title | User | Personal Name | Date | Lines |
---|
309.1 | Here is an example | COOKIE::WECKER | Dave (Cum Grano Salis) Wecker | Sat Feb 07 1987 13:53 | 86 |
| re: .0
No question is EVER dumb...
Here is the VT100.INIT file that I use. It assumes that I want to run at 2400
baud on a DF224 modem. It assumes that I have a file called DIALWORK.SCRIPT
in S: (this is bound to f5). I will also include the SCRIPT file for an example
(REMEMBER: this is for a DF224 NOT a DF03).
# Here is S:VT100.INIT:
#
SCREEN WORKBENCH
INTERLACE OFF
LINES 24
f5 "~S:DIALWORK.SCRIPT"
EXIT
# dialwork script 861205
#
DELAY 2
BAUD 2400
PARITY NONE
TM CRLF
BT 750000
SB
# First, we'll wait for the MODEM to wake up....
# keep sending a ^B until the MODEM says "Ready"
Start:
DELAY 1
ON "Ready" GOTO Dial
SEND ^B
DELAY 2
GOTO Start
# Now dial one of the phone numbers I have programmed into the modem.
# $2400 is the name of the program to execute for dialing a 2400
# baud line in to work. If successful, the modem will respond with
# the string "Attached".
Dial:
ON "Attached" GOTO Login
SEND "$2400!"
DELAY 30
GOTO Start
# Now wait for the Gandalf (phone handler) to wake up...
# Keep sending ^M (carriage-return) until we get back "enter class"
Login:
ON "enter" GOTO Gandalf
DELAY 1
SEND ^M
GOTO Login
# Now tell it the name of the class we want, and wait for a connection
# to the LAT (signified by the string "class start").
# Note: after sending "ts2^M" the gandalf will ask for a password
# which I type in BY HAND... this allows me to give this
# script to anyone, without worrying about giving out paasswords
Gandalf:
DELAY 2
SEND "ts2^M"
WAIT "class start"
# Keep hitting carriage-returns until the Lat wakes up
WaitLat:
DELAY 2
ON "username>" GOTO Lat
SEND ^M
GOTO WaitLat
# Connect to the Lat, and my various systems... same trick with passwords
# as above
Lat:
SEND "wecker^M"
DELAY 1
SEND "connect cookie^M"
WAIT "Username:"
SEND "WECKER^M"
WAIT "at home"
SEND "^M^Mn^M"
WAIT "$ "
SEND "^]connect child^M"
WAIT "login:"
SEND "wecker^M"
WAIT "at home"
SEND "^M^Mn^M"
SEND ^^
DELAY 2
EXIT
|
309.2 | No Luck | LEDS::ACCIARDI | | Sun Feb 08 1987 17:45 | 9 |
| Hmmmmm....still no luck. I examined Dave's .init file, and I think
I see what my problem is...My modem does not store any phone numbers.
I am using a CTS DataComm 1200 baud Hayes-compatible, and I can't
figure out how to make VT100 get it's attention. If I bind a number
to a function key thru the .init file, and then depress the function
key, the ASCII sequence is merely echoed to the screen, not thru
the modem. I tried using the standard Hayes command set (AT X2
DT), but nothing seems to get the modem's attention. Help!
|
309.3 | try this | COOKIE::WECKER | Dave (Cum Grano Salis) Wecker | Mon Feb 09 1987 11:27 | 11 |
| re: .2
I don't have a Hayes... but:
a) I know several people that use a Hayes modem with VT100.
b) If I remember correctly, the attention character is good old
carriage-return. Try using ^M in place of where I send an ^B for
the scholar to get its attention
dave
|
309.4 | just a thought | SZOFNA::CBODINE | | Mon Feb 09 1987 16:55 | 3 |
| Make sure your modem is not looped.....
|
309.5 | Fixed it! | LEDS::ACCIARDI | | Mon Feb 09 1987 22:19 | 11 |
| Re: .3
You're awesome, Dave... I removed the $ prefix and added a ^M to
the function key bindings, and it works like a charm!
It's great to have the scroll windows work properly, and get reverse
video, blah blah....
Thanks again!
Ed Acciardi
|
309.6 | EMULATE NO SCROLL / HOLD SCREEN?? | POLAR::GOSLING | | Wed Feb 11 1987 12:13 | 18 |
|
Might as well grab on to the tail of this note to ask a VT100
emulator related question.
Is there anyway to emulate the function performed by the "HOLD
SCREEN" (VT2XX keyboard) or "NO SCROLL" (VT1XX keyboard) keys? I
have gone through the documentation and can't see any reference to
this feature. I believe they simply force an X-OFF / X-ON
condition.
Its probably as easy (now that I think of it but not having access
to my AMIGA can't immediately try) as pushing a mouse button or
hitting the "ESC" key!! Is it??
Thanks
Art
|
309.7 | How about setting up function keys? | KIRK::LONG | | Wed Feb 11 1987 12:28 | 7 |
| The mouse button will stop the scroll but only while you are holding
it and I believe the ESC key will get you illegal escape sequence
messages from VMS. I wonder if it is possible to use two of the
function keys with small script files to force the xoff/xon?
Dick
|
309.8 | ? | HYSTER::DEARBORN | Trouvez Mieux | Wed Feb 11 1987 12:39 | 4 |
| doesn't ctrl S, ctrl Q work?
Randy
|
309.9 | | PLDVAX::SMCAFEE | Steve McAfee | Wed Feb 11 1987 13:26 | 7 |
| I use ctrl S and ctrl Q frequently. Another useful key (especially
over a modem) is ctrl O. This sends sys$output to the bit bucket.
A second time turns output back on.
regards,
steve mcafee
|
309.11 | | OPUS::BUSCH | | Mon Aug 01 1988 13:56 | 10 |
| -< Additional function key mapping. >-
I just downloaded Smokey v1.1a and it fixes most of the keypad mapping I was
interested in. However, how would I go about binding the FIND, INSERT, REMOVE,
SELECT, PREVIOUS and NEXT keys to function keys on the A500. Are these keys on
the VT220 equivalent to control keys?
Dave
|
309.12 | Say "Thank You" to Dave, Michael,Steve,etc. | DIXIE1::MCDONALD | Surly to bed, surly to rise... | Mon Aug 01 1988 15:00 | 9 |
| These keys are already bound to something. I believe they are either
CTRL-F1 through CTRL-F6 or ALT-F1 through ALT-F6 or something of
that nature. I found the key bindings while reading through the
VT200 documentation (from VT200.arc on MVCAD3, I believe). You
could look there and see what the bindings really are. I'll try
and remember to look them up when I go home tonight and enter them
here.
John
|
309.13 | define them in the INIT file | CIMNET::KYZIVAT | Paul Kyzivat | Mon Aug 01 1988 19:20 | 5 |
| You can also look up the escape sequences sent by whatever keys you are
interested in and define whichever amiga function key you want to send them.
You can do this in the INIT file.
Paul
|
309.14 | I found then in the doc file... | DIXIE1::MCDONALD | Surly to bed, surly to rise... | Tue Aug 02 1988 00:36 | 17 |
| Well, I looked it up in the documentation. It says CTRL-F1 is FIND,
Ctrl-F2 is INSERT HERE, Ctrl-F3 is REMOVE, Ctrl-F4 is Select, Ctrl-F5
is PREV SCREEN, and Ctrl-F6 is NEXT SCREEN. I tried it, and it
seems to work fine.
One question for .-1, though. I know you can redefine keys, but
what are the keypad keys called? For example, what is the keypad
"+" key called? "KP+"? I didn't see any mention of this anywhere.
Also, I copied VT200.ARC from MVCAD3 and downloaded it. That's
what I'm using now. (Great emulator, by the way.) I also copied
VT200EXE.ARC over, but I haven't downloaded it yet. Is this the
newest version of the executable? If it's not, then where can I
find it?
Thanx,
John
|
309.15 | Too many redefines | CIMNET::KYZIVAT | Paul Kyzivat | Tue Aug 02 1988 09:13 | 29 |
| Re: .-1 (redefining the keys)
When using your Amiga as a terminal to vms there are a number of levels of
redefinition possible which can get confusing.
Each function key, keypad key, etc. on an LK201 sends a particular escape
sequence which cannot be changed by mere mortals. However, vms lets you define
new meanings for most of those keys - when it receives the escape sequence it
substitutes your definition. You do this with the $DEFINE/KEY command. This is
NOT what we are talking about.
Smokey is attempting to make equivalences between the Amiga keyboard and the
LK201. Most of these are hardwired in the code. The A1000 option changes a
bunch between emulating a vt100 keyboard and emulating the LK201. The emulation
is imperfect of course because the keyboard layouts are different and the amiga
has less keys than an LK201. In the end it becomes an exercise in tradeoffs,
and everyone has their own preferences in what they are willing to give up.
Smokey allows complete definition of the code sequences sent by the amiga
function keys, with and without shift. I forget the exact defaults, but they
are essentially mapped to the LK201 function keys. However you can change that.
If you don't normally use the function keys, you can define them to be some of
the other keypad keys, by assigning to them the escape sequences generated by
the LK201 key of your choice. You don't use any name (like KP+) to do this.
Next time I log in from home I will try to remember to put my Smokey init file
here.
Paul
|
309.16 | Keyboard Mappings | CHPSC::STEIGER | | Tue Aug 02 1988 09:24 | 5 |
| Is there a way to use the same mapping mechanism to remap the normal
typewriter keys. I would like to use the European mappings. Obviously
Smokey has the US mapping hardcoded somewhere. SetMap does not help.
Any ideas suggestions welcome.
Other than this I think Smokey is a real great emulator.
|
309.17 | I need SMOKEY 1.1A or FOGGY | DIXIE1::MCDONALD | Surly to bed, surly to rise... | Tue Aug 02 1988 13:21 | 15 |
| RE: .15
What I'm really trying to do has already been done. I was trying
to figure out how to remap the top and right rows of the keypad
on an A500 to be PF1-4,etc. It looks like what I need is FOGGY
instead of SMOKEY. It does this. I seem to remember reading somewhere
that SMOKEY 1.1A will let you set A1000 to "NO" and get the same
mapping modifications, but I can't seem to find a copy of SMOKEY
1.1A. I tried to get FOGGY from AGNESI"AMIGA":: but I keep getting
an error "login info invalid at remote node...".
So, does ANYBODY know if SMOKEY 1.1A will solve my problem, and
if so, where can I get a copy of it?
John Boy
|
309.18 | Have I got a deal for you? | OPUS::BUSCH | | Tue Aug 02 1988 17:20 | 15 |
| < Note 309.17 by DIXIE1::MCDONALD "Surly to bed, surly to rise..." >
-< I need SMOKEY 1.1A or FOGGY >-
I got precisely what you want from:
PAULY"AMIGA"::VT200.ARC
I ran "CVTARC V VT200.ARC" to get an updated version of VT200.ARC which I down-
loaded via Kermit after doing "SET FILE TYPE BINARY" in Kermit. I tried it out
last night for the first time and all those keys worked OK for me in EDT, NOTES
and MAIL. Now I've got to try the other editing keys, such as "FIND", "SELECT"
etc.
Dave (who six daze ego cudnt ivn spel programmar and now i are wun. 8+)
|
309.19 | Boy! The service here is incredible... | ODIXIE::MCDONALD | Surly to bed, surly to rise... | Wed Aug 03 1988 00:28 | 3 |
| Thanks. I guess I should've known to check PAULY"AMIGA":: for it.
John Boy
|