[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: break sequence not working CS9000 -> Sun's

Doug Hughes doug@gblx.net
Thu, 20 Jun 2002 06:21:26 -0700 (PDT)


On Thu, 20 Jun 2002, Bryan Stansell wrote:

> On Thu, Jun 20, 2002 at 08:19:48AM +0100, Nicholas.Penney@uk.ing.com wrote:
> > However no matter what I do I cannot get the servers to drop to the OK
> > prompt when connecting through the console software.  Issuing ctrl-e,c,l0
> > and/or ctrl-e,c,l2 both display the "[halt sent]" message and display ~^B on
> > the screen but the server just carries on in full multi-user mode.
> >
> > Has anybody got these CS9000's working with this software?  Can you offer
> > any suggestions as to how I can proceed to get this working?
>
> i doubt the cs9000's are the problem.  i personally don't have an
> alt-break setup to test with, but my best guess is that there needs to
> be a 0.5 second delay between each character for this to work.  at
> least, that's the info i'm seeing at sunsolve.  there is no delay in
> the code.  so, the big test is, can you type <cr>,~,<ctrl-b> by hand
> during a console session and get a machine to halt?  if so, it's
> probably the delay issue.  unfortunately, there is no way to fix this
> without some code changes.  but, if typing the sequence by hand doesn't
> work either, something else is going on.  lemme know how it goes with
> the test (it'll prove we *really* need that delay capability).
>

expect has some really good code for doing delay if you feel like
'borrowing'. There's one part, send_human, that will even simulate
a human typing at the keyboard (with all the inherent variability
therein). Most of it is C. You'd have to replace some of the Tcl
buffer translation, but it doesn't look too hard on the surface.
(You may even have already thought of this. :)

	Doug