[net.micro.amiga] Dave Weckers VT100

drew@58392.dec.com (Steve Drew) (09/03/86)

In regards to VT100 (Dave Weckers) Dan Wallach writes:
> etc.  So that a small program d/uload will scroll everything off the screen.
> Now the kermit is fantastic!  I used it with a Fido system and everything
> worked fine.  There's a status line on the bottom (ala Wombat Term) and it
> supposedly supports multi-file transfer. I don't know about that.  Either I
> did it wrong or it doesn't work.  I told FIDO:
> download
> prototol?  kermit
> filename?  sailfont.doc,sailfont.asm
> Ready to send sailfont.doc sailfont.asm
> Locally I chose Kermit Receive (you got send, receive, get, bye)
> File: sailfont.doc,sailfont.asm
>
> And it proceded to download the doc file, after 16 blocks though, it failed.
> The second file failed completely without a single block.
> The problem was though, the machine had one of my most favorite crash types:
> THE SILENT CRASH - everything freezes but the status light is still bright and
> there's no Software Error - Task Held AutoRequest anywhere!
> I'm a newcommer to KERMIT so I'm probably doing something wrong.  Anyone care
> to enlighten?
> Now I gotta brace myself for the deluge of mail...
>  
> Dan Wallach

As the hacker of the kermit.c module of Dave's program let me say that although
the kermit supports multi-file transfers, it is for SEND/GET only and assumes
the host is running as a server. So to upload 2 files on the amiga select
    GET
    File: sailfont.doc,sailfont.asm
Kermit (VT100) will now ask the server for these files.

As a note I have just finished adding  full wild card support, better:
multi-file transfers, error recovery, and error reporting. I'll get this code
to Dave, so possibly a 2.1 release? And with this version it will handle the
above precedure you decscribed in the receive mode.

If Dave approves I've also added a Utility menu for: Send Break, Change Dir 
(so that all files come and go to where you want them to.). I'd also like
to add Hang Up routine but I can't find any mention in the manuals on how to
Drop DTR on the Serial port. Any suggestions on how to do this ???

Thanks again to Dave Wecker.

Steve Drew.

		ENET:    CGFSV1::DREW
		ARPA:    drew%cfgsv1.dec.com@decwrl.dec.com
		USENET:  {decvax!decwrl}!cgfsv1.dec.com!drew    

vanam@pttesac.UUCP (Marnix van Ammers) (09/04/86)

In article <5131@decwrl.DEC.COM> drew@58392.dec.com (Steve Drew) writes:
>
>
>If Dave approves I've also added a Utility menu for: Send Break, Change Dir 

Please don't make sending a BREAK a menu item.  Make it so that I can
set one of my function keys to send a BREAK.  Or else make it so that
[right-amiga period] sends a BREAK (I do believe that is the "official"
way of typing a BREAK on the Amiga -- please correct me if I'm wrong).

Every keyboard I use has a BREAK key.  It's the only key I consider
"missing" on the Amiga keyboard.  Personally I'd be willing to sacrifice
the HELP key to make a BREAK key.

Marnix

louie@umd5 (Louis Mamakos) (09/04/86)

In article <5131@decwrl.DEC.COM> drew@58392.dec.com (Steve Drew) writes:
> . . . . .  I'd also like
>to add Hang Up routine but I can't find any mention in the manuals on how to
>Drop DTR on the Serial port. Any suggestions on how to do this ???
>
>Thanks again to Dave Wecker.
>
>Steve Drew.
>
>		ENET:    CGFSV1::DREW
>		ARPA:    drew%cfgsv1.dec.com@decwrl.dec.com
>		USENET:  {decvax!decwrl}!cgfsv1.dec.com!drew    

The simple way to do this is to close the serial device.  When the use
count goes to zero (i.e. no one else has it open), it will drop DTR.

-- 
Louis A. Mamakos WA3YMH   University of Maryland, Computer Science Center
 Internet: louie@trantor.umd.edu
 UUCP: {seismo!umcp-cs, ihnp4!rlgvax}!cvl!umd5!louie

acs@amdahl.UUCP (Tony Sumrall) (09/05/86)

In article <5131@decwrl.DEC.COM> drew@58392.dec.com (Steve Drew) writes:

> 
> As a note I have just finished adding  full wild card support, better:
> multi-file transfers, error recovery, and error reporting. I'll get this code
> to Dave, so possibly a 2.1 release? And with this version it will handle the
> above precedure you decscribed in the receive mode.

I've added 8 bit quoting to the KERMIT routine you provided along with
some other mods to DBW  et al code.  I was gonna send him all of my mods
but if you're planning the above changes I'll hold off on sending him my
kermit routine (as long as you'll add 8 bit quoting).  Yes, it'll be
useful cause I've added parity and wordsize selections.

> If Dave approves I've also added a Utility menu for: Send Break, Change Dir 
> (so that all files come and go to where you want them to.). I'd also like
> to add Hang Up routine but I can't find any mention in the manuals on how to
> Drop DTR on the Serial port. Any suggestions on how to do this ???

I dunno about Dave but *I'd* like Send Break and Change Dir.  Hang Up I
don't really care about but I've got a smart modem.  If you're adding Send
Break, don't forget to allow the setting of the break time--preferable in
both init and script files.
-- 
Tony Sumrall                    ...!{ihnp4,hplabs,seismo,sun}!amdahl!acs

[ Opinions expressed herein are the author's and should not be construed
  to reflect the views of Amdahl Corp. ]

haddock@ti-csl (09/08/86)

>/* Written 12:23 pm  Sep  5, 1986 by acs@amdahl.UUCP in ti-csl:n.m.amiga */
>>In article <5131@decwrl.DEC.COM> drew@58392.dec.com (Steve Drew) writes:
>> If Dave approves I've also added a Utility menu for: Send Break, Change Dir 
>> (so that all files come and go to where you want them to.). I'd also like
>> to add Hang Up routine but I can't find any mention in the manuals on how to
>> Drop DTR on the Serial port. Any suggestions on how to do this ???
>
>I dunno about Dave but *I'd* like Send Break and Change Dir.  Hang Up I
>don't really care about but I've got a smart modem.  If you're adding Send
>Break, don't forget to allow the setting of the break time--preferable in
>both init and script files.
>-- 
>Tony Sumrall                    ...!{ihnp4,hplabs,seismo,sun}!amdahl!acs

Also keep in mind that I (at least me) will be needing a SEND BREAK <msec> 
in the scripts as well.   According to my sources, a short BREAK is
to last 0.375-seconds and a long or disconnect BREAK lasts at least
3-seconds.   Your mileage may vary according to state and local laws :-) 
Here at our lab, to get at one or two of the Unix machines I need both kinds
of BREAKs.   The long one to deal with the MICOM (bleah!) and a short one to
change speeds on the Unix VAX (the short one is the most necessary).   Right
now I'm changing speeds to 300-baud and sending a BLANK.

I like the idea of using <right Amiga>-{something}.   Wouldn't <r-A> B be
appropriate?   At least it would be easy to remember.

		Cheers,
			-Rusty-

================================================================
*hardcopy*		*electr{onic, ic}*
Rusty Haddock		ARPA:  Haddock%TI-CSL@CSNET-RELAY.ARPA
POB 226015 M/S 238	CSNET: Haddock@TI-CSL
Texas Instruments Inc.	USENET: {ut-sally,convex!smu,texsun}!ti-csl!haddock
Dallas, Texas 75266	VOICE: (214) 995-0330

sgt@alice.UucP (Steve Tell) (09/16/86)

>> [how do drop dtr]
> [closing the serial device should do it]

Does vt100 version 2.0 close the device when it exits?
Or does this hangup-on-close not work with 1.1?
My copy leaves dtr on when i leave the program.

-- 
Steve Tell
AT&T Bell Laboratories, Murray Hill, NJ  (... is not responsible for
										any of these opinions)

danny@convex.UUCP (09/18/86)

> 
> Does vt100 version 2.0 close the device when it exits?
> Or does this hangup-on-close not work with 1.1?
> My copy leaves dtr on when i leave the program.

No no no no.  This is a feature, not a bug!  This way, I can call 
BBS's with Starterm and then when I want to download, I can exit
starterm and boot vt100!  For those that don't have Kermit, I use
Wombat for the buffered xmodem-crc transfers...  PROGRAMMERS!
DON'T TRY TO HANG UP THE PHONE!  If I want to hang up my phone,
I'll send:  <pause>+++<pause>ATH

Thank you.

Dan Wallach
...!inhp4!convex!danny

bill@dayton.UUCP (bill) (09/19/86)

In article <93500035@convex> danny@convex.UUCP writes:
>No no no no.  This is a feature, not a bug!  
   [stuff]
>                                                 PROGRAMMERS!
>DON'T TRY TO HANG UP THE PHONE!  If I want to hang up my phone,
>I'll send:  <pause>+++<pause>ATH

Nonsense.  That is a bug (mayhaps an intentional one.) If you
want to leave the program, and run another term program without
hanging up the modem, set the "FORCE DTR" switch in the modem
or jimmy your cable.  When a serial device is closed, DTR should drop.
This sending <pause>+++ stuff is giberish.

-- 
UUCP: ihnp4!rosevax!dayton!bill         Bill Argyros
ATT:  (612) 375-2816                    Dayton-Hudson Dept. Store. Co.
                                        700 on the Mall
                                        Mpls, Mn. 55402

mwm@dunsel.berkeley.edu (Mike Meyer) (09/21/86)

In article <196@dayton.UUCP> bill@dayton.UUCP () writes:
>In article <93500035@convex> danny@convex.UUCP writes:
>>No no no no.  This is a feature, not a bug!  
>   [stuff]
>>                                                 PROGRAMMERS!
>>DON'T TRY TO HANG UP THE PHONE!  If I want to hang up my phone,
>>I'll send:  <pause>+++<pause>ATH
>
>Nonsense.  That is a bug (mayhaps an intentional one.) If you
>want to leave the program, and run another term program without
>hanging up the modem, set the "FORCE DTR" switch in the modem
>or jimmy your cable.  When a serial device is closed, DTR should drop.
>This sending <pause>+++ stuff is giberish.

Nonsense. This is a feature, not a bug. Of course, the HANG UP (drop
DTR) menu entry is a must. While <pause>+++ is gibberish, so is
jimmying the cable or having the modem ignore DTR to get the needed
functionality.

Two exits (drop DTR then exit and exit with DTR high) is also a nice
feature.

	<mike

vanam@pttesac.UUCP (Marnix van Ammers) (09/23/86)

In article <93500035@convex> danny@convex.UUCP writes:
>
>> 
>> Does vt100 version 2.0 close the device when it exits?
>> Or does this hangup-on-close not work with 1.1?
>> My copy leaves dtr on when i leave the program.
>
>No no no no.  This is a feature, not a bug!  This way, I can call 
>BBS's with Starterm and then when I want to download, I can exit
>starterm and boot vt100!  For those that don't have Kermit, I use
>Wombat for the buffered xmodem-crc transfers...  PROGRAMMERS!
>DON'T TRY TO HANG UP THE PHONE!  If I want to hang up my phone,
>I'll send:  <pause>+++<pause>ATH

Well, let's make it a configurable item.  So we can specify in
the vt100.init file if DTR should be turned off upon exit.

I would also like to see a configurable item for an initial startup
script.  I have modified my vt100 version 2 so that it will automatically
use vt100.startup.script if it exists.  So now I have a disk that will
boot up go into Weckers vt100 program and call work.  Now I need to
add a BEEP function to script.c so that I will get beeped when the
connection has been established.

I don't have my mod for vt100.startup.script with me but it's a
fairly simple few lines added to vt100.c .  I think it would be
better though to make it configurable in the vt100.init file.

I can't wait for version 3!

Marnix

danny@convex.UUCP (09/23/86)

It's real simple.  Why force a drop dtr?  Simple leave a few menu items to
the tone of (and maybe also stuff in the startup-script for your program)

MENU                 SUBMENU
----                 -------

Hang Phone           Hayes
                     Drop DTR

Quit & Hang Up       Hayes
                     Drop DTR

Just Quit

Or just a toggle:

Hangup method        Hayes
		     Drop DTR

Whatever turns you on.  Dropping the DTR automatically is bad.  Flipping the
dip switch on the back of the modem is worse (Whatabout the modems with no
dips or ones you have to remove the cover?  Whatabout modems with AT& commands?
Does the average consumer know about these?)
Of course, your documentation would have to explain that Drop DTR would allow
you to engage another program with your program still going.  Also explain that
by not dropping DTR, you can quit your program and go to another with some
feature you don't have (of course, you'd want to avoid the necessity)

Well, I'm begining to sound like Commodore or Apple dictating how to/how not
to write your programs.  Do it your way.  I just really like rapidly flipping
between com programs while still logged into the same host.  After all, 
Wombat is undeniably the best Xmodem because of the 64 block buffer but then
VT100 is the best Kermit and Starterm is the best general BBS dialer/term with
color...  unless someone comes out with a super-duper-term, don't go dropping
DTR.  Enuf said.

Dan Wallach
...!ihnp4!convex!danny

glee@cognos.UUCP (Godfrey Lee) (09/23/86)

> In article <93500035@convex> danny@convex.UUCP writes:
> >No no no no.  This is a feature, not a bug!  
>    [stuff]
> >                                                 PROGRAMMERS!
> >DON'T TRY TO HANG UP THE PHONE!  If I want to hang up my phone,
> >I'll send:  <pause>+++<pause>ATH
> 
> Nonsense.  That is a bug (mayhaps an intentional one.) If you
> want to leave the program, and run another term program without
> hanging up the modem, set the "FORCE DTR" switch in the modem
> or jimmy your cable.  When a serial device is closed, DTR should drop.
> This sending <pause>+++ stuff is giberish.
> 
> -- 
> UUCP: ihnp4!rosevax!dayton!bill         Bill Argyros

It is absolutely necessary that the terminal emulator not hang up the phone
(drop DTR) when it exits. Otherwise, it is a damn nuisance when you need to
hop in and out (like download a file - then compile it --> if you don't exit, 
you run out of memory). There should, however, be a menu option to hang up.

-- 
--------------------------------------
Godfrey Lee
Cognos Incorporated
3755 Riverside Drive
Ottawa, Ontario
CANADA  K1G 3N3
(613) 738-1440
decvax!utzoo!dciem!nrcaer!cognos!glee
--------------------------------------