Thanks for any suggestions,
Barry
tol...@utk.edu
--
_____ ____ ____
/\ _ `. ' __,\ ',__.`
\ \ \_\ \ __ _ __ _ __ __ __ |
\ \ _ < /'__`\ /\`'__\/\`'__\/\ \/\ \ /
\ \ \_\ \/\ \_\.\_\ \ \/ \ \ \/ \ \ \_\ \ L_,
\ \____/\ \__/.\_\\ \_\ \ \_\ \/`____ \ ._______/
\/___/ \/__/\/_/ \/_/ \/_/ `/___/> \ ---
/\___/
\/__/
[.sig deleted]
Yeah, just put the line `output ats28=255' in your .mykermit file.
This is documented in the book and and you can see examples of it in
any of the dialing scripts...
--Jerry
--
|> Jerry Alexandratos ** "vengo de la tierra del <|
|> dark...@strauss.udel.edu ** fuego ten cuidado cuando <|
|> dark...@canary.pearson.udel.edu ** llamas mi nombre..." <|
The best way to handle this is to use the built in dial commands:
you can either use "set dial init \13ATS28=255\13" or
"set dial dial-command \13ATS28=255DT%s\13"
move info about the dial commands in "Using C-Kermit"
Jeffrey Altman * PO Box 220415 * Great Neck, NY * 11022-0415 * (516) 466-5495
"C-Kermit: available on more platforms than any other communications software."
"Kermit FTP: sending files whenever and wherever they are needed."
*NEW* OS/2 version available: ftp kermit.columbia.edu /kermit/bin/ckoker.zip
Fast Cart
--
===============================================================================
Fast Cart (Arcell B. Frazier) Phone: (617)225-8945
500 Memorial Drive #372 "But, my friends call me Fast Cart...
Cambridge, MA 02139-4326 Well, at least I prefer that anyway!"
fast...@mit.edu
> Is there a way for C-Kermit to automatically know what line "/dev/whatever"
> you are using upon startup?
>
> Fast Cart
set line /dev/whatever
Barry
I'm not sure I'm clear on your requirements -- does /dev/tty do what you want?
--Ken Pizzini
Or are you just talking about "set line /dev/ttyp01" type commands?
If so, just dump it into your .kermrc
--------------------------- my .kermrc --------------------------------
set local off
set flow rts
set buffer 50000 50000
set win 0
set send pac 4096
set rec pac 4096
set window 3
set block 1
set file type bi
define rz !rz -e \%1 \%2 \%3 <&\v(ttyfd) >&\v(ttyfd)
define sz !sz -e \%1 \%2 \%3 <&\v(ttyfd) >&\v(ttyfd)
define sb !sb -e \%1 \%2 \%3 <&\v(ttyfd) >&\v(ttyfd)
define rb !rb -e \%1 \%2 \%3 <&\v(ttyfd) >&\v(ttyfd)
define sx !sx -e \%1 \%2 \%3 <&\v(ttyfd) >&\v(ttyfd)
define rx !rx -e \%1 \%2 \%3 <&\v(ttyfd) >&\v(ttyfd)
-----------------------------------------------------------------------
--
See the Emerald on the Matrix? Baltimore, Maryland Access to the Internet
That's Charm.Net Hon! E-Mail: in...@charm.net Voice:(410) 558.3900
http://www.charm.net/ "guest" login, no password Data:(410) 558.3300
But, "whatever" changes whenever I log in. Understand? I want something that
will know what line I'm using...
I found that on the C-kermit protocol we use, (from '89) /dev/tty is always
default at 1200 bps. I want to be able to "set line /dev/whatever" whenever I
start C-kermit because I'm not always using the same tty.
That is irrelevant. All I/O through /dev/tty goes as whatever speed you
logged in as. If you do not use "set line ...", then the speed reported
by "show com" is not applicable.
(noty/jms) jms@tardis% kermit
C-Kermit 5A(190), 4 Oct 94, for SunOS 4.1 (BSD)
Copyright (C) 1985, 1994,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
C-Kermit>show com
Communications Parameters:
Line: /dev/tty, speed: 9600, mode: remote, modem: none
Parity: none, duplex: full, flow: xon/xoff, handshake: none
In reality, C-kermit should say "speed: not-applicable" since this is an
rlogin session and the effective baud rate is around 1 million bits per
second.
> I want to be able to "set line /dev/whatever" whenever I
>start C-kermit because I'm not always using the same tty.
Why? It won't make C-kermit run any faster. It already runs at the full
trasfer rate that the terminal driver is already using, even if C-kermit
is a bit confused and reports 1200 baud by mistake.
In summary, C-kermit reports a bogus number for the speed if no "set line"
command has been issued. Anyone who believes that number or tries to change
it is confused. The speed for /dev/tty is totally irrelevent for login
sessions that came in on TCP/IP, X.25, or anything else that uses the
pty interface to UNIX.
--
Joe Smith MCI Data Services, TYMNET Technical Support Services (Vnet 854)
<j...@tymnet.com> 2560 N 1st St, MS-F21, San Jose, CA 95131 (408)922-6220
CA license plate: "POPJ P," 36-bits forever! (4 Tymshare PDP-10s still going!)
Humorous disclaimer: "My Amiga 3000 speaks for me."