filepro menus and Ctrl-S - maybe Anzio setting?

Fairlight fairlite at fairlite.com
Mon Dec 6 12:49:24 PST 2010


In the relative spacial/temporal region of
Mon, Dec 06, 2010 at 03:38:20PM -0500, Bruce Easton achieved the spontaneous
generation of the following:
> A client has a few menus that have nineteen options on them.
> The first character on each of these menus is a Ctrl-S.  (I think
> dmakemenu starts at Ctrl-A and then goes up by one - up through the
> last non-blank option - so on these menus, the nineteenth option
> is the last option, ergo the Ctrl-S as the first char in the file.)
> 
> Anyway, when they run via Anzio, the screen is frozen when you
> arrive at the menu and a Ctrl-Q needs to be typed to unfreeze
> the screen.   Easily fixable inserting a blank line somewhere on
> the menu so that the last non-blank option is above 19.  Also,
> I understand you do not get this behavior using putty.   I don't
> get it coming from mac term using xterm.
> 
> I don't have an Anzio here, so I'm wondering - is there something
> that can be set in Anzio that will ignore the Ctrl-S?  And for that
> matter, what about the other standard Unix/Linux keyboard
> short-cuts - if it's hearing Ctrl-S, then wouldn't it hear Ctrl-B,
> or Ctrl-C, etc. when it might be the first char in the menu file?

Bruce, Bruce, Bruce,

How long have you been doing unix, man?  :)  *poke*

As regards terminal flow control, ^S is stop in stty settings, same as
^Q is start.  You -can- use stty to turn the flow control characters to
something else.  That'd be non-standard.  You can even technically disable
flow control entirely (bad idea), especially if you do passthrough printing
on a slow connection).

I'd just avoid ^S and ^Q, same as I'd avoid ^Z and ^C (well, ^C needs to be
avoided if INTR is set to that...it will be by default on linux, it won't
be on SCO, which uses ^? [Delete] instead).  Actually, `stty -a` and look
at the full settings of key bindings to avoid.

And just so you don't take the ribbing too hard...  My best friend, back in
our early *nix days, we were on a BSD 4.3 Tahoe system running on a Unisys
7000.  He changed his password, and we always went for secure passwords.
He made his ^Skullz with a ^S instead of just a capital S.  I laughed for
about three minutes straight when he expressed his confusion as to why the
login process seemed to just hang indefinitely when he was logging in.  :)
Totally cracked me up.  I hit ^Q for him, and told him to reset his
password to something sane.  :)

mark->
-- 
Audio panton, cogito singularis.


More information about the Filepro-list mailing list