|
|
This item text has been erased.
15 responses total.
I don't really use Kermit (since many years ago), but I think that this kind of stuff is designed to be roughly the same for all platforms, as far as Kermit is concerned. So you might try doing man kermit here & see whether you find anything useful.
This response has been erased.
Well, I have the Kermit book. What's it worth to you to borrow it? :)
Yes, get the Kermit book (Gianone). Probably the C-Kermit book also discusses scripts in detail, though I couldn't really say for sure. popcorn, check out the new kermit Usenet groups, especially comp.protocols.kermit.misc, which has recently been created from the old comp.protocols.kermit, and is open for public posting. One of the recent threads was on an attack-dial script. If you can find it there, you won't have to re-invent the wheel. If I remember, attack-dialing with Kermit is somewhat problematic, so the solution is kind of kludgy...
This response has been erased.
This would be a good thing to put in a starter-kit, if the kit included a version of Kermit supporting this type of script...
Basically, that should work. Suppose you get tired of attack dialing and want to terminate the script. Will ^C do it?
This response has been erased.
I bet Ctrl-Alt-Del would do the trick!
This response has been erased.
I looked through the section on scripts in Gianone's book on MS-Kermit and couldn't find any reference to it. She gives a sample script which attack-dials, but the script decrements a counter to limit the number of retries.
Is there a way to get input from the user in that loop? Can you set it to time out in case of no response? Set the time to something like a second, maybe, & check for some particular short input, allowing you to interrupt it that way. (I doubt this is possible, since it's the two of you trying to figure it out. But just in case.)
One other thought: doesn't kermit have an "escape character" setting? (Is this a sequence-prefix character, or an interrupt? I certainly don't remember how this worked, & it was over 10 years ago.)
Kermit has an "if not <condition>" or "if <condition>" command that I was looking at. At first glance it doesn't seem to support the kind of interrupt that we're looking for here (the <condition>'s don't seem to support an escape key). If a keypress could be read at that point, I think it would solve the problem.
Would this sort of script cum program be a good go-with for the Rehabbed Computers Project - the DOS ones of course?
Response not possible - You must register and login before posting.
|
|
- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss