|
AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
| Previous Message | Next Message | Back to BAT Magic <-- <--- | Return to Home Page |
|
||||||
| From | To | Subject | Date/Time | |||
|
|
Visitor | LUNATIC | ctty |
December 3, 1995 2:21 PM * |
||
L#@> Can someone tell me if there is any way to call up a bbs through the
L#@> use of batch files like:
L#@> @echo off
L#@> echo atdt %1 ? The only thing I can do with such files is dial up a
L#@> number... If there is a way to use the ctty command to this advantage
L#@> can someone tell me how?
This should be informative!
--[Cut here]----------------------------------------------------------
The CTTY Command of DOS 2.0 and up.
There are two ways to use the CTTY command to drive an IBM PC
with a remote terminal.
1. Direct Connection
When computers and terminals are configured as DTE (data
terminal equipment), the send and receive lines have to be
swapped. Another way is to use a null modem adapter at the
serial cable connection. With this connection made, type:
MODE COM1:300,,,,
To verify that the serial port is active and wired correctly
to the other terminal, type:
DIR>COM1
This redirects the standard output of the DIR command to the
initialized COM1 port to test the signal path. If the remote
device sees the DIR results, you're all set. Then type:
CTTY COM1
Now run any DOS command from the remote terminal. When
finished, type from the remote terminal:
CTTY CON
This restores control to the host IBM computer.
2. Modem Connection
To use a smart modem with this command, develop two batch
files to initialize the serial port and set the modem to auto
answer. To create the first file, type:
COPY CON:INIT.BAT
AT SO=1
F6
F6 puts an end-of-file mark, control Z, at the end of the
file. To create the second file, type:
COPY CON:SETUP.BAT
MODE COM1:300,,,,
TYPE INIT.BAT>COM1
CTTY COM1
F6
To set up for an incoming call,
simply type:
SETUP
You will see the running of the batch file and its messages
up until the CTTY COM1 command. Every thing will then freeze
up until the phone rings, the modem answers and sends the DOS
prompt A> to the remote terminal. As with the direct
connection, the remote can run most DOS commands, including
ERASE *.* and FORMAT, so be careful. To return control to the
host IBM PC again, type CTTY CON from the remote. I hope you
have as much fun with this command as I have had.
Carl H. Pelto
South East Michigan Computer Club
--[Cut here]----------------------------------------------------------
___ Blue Wave/QWK v2.12
|
||||||
|
||||||
| Previous Message | Next Message | Back to BAT Magic <-- <--- | Return to Home Page |
|
Execution Time: 0.0159 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2026 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |
