[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1682.0. "DECterm + SETHOST + WPS -> autorepeat of keys" by HGOVC::MICHAELWAN () Tue Nov 07 1989 02:31

1)  I have problem using my VS3100 and DECterm when I SET HOST to another
    machine and do WPS (in ALL-IN-1). The program (which one?) simply auto
    repeats my key strokes 3 times out of 10 even when I have released the
    keys as fast as I can. The auto-repeation of the key may range from 2
    to more than 10 times. This is very annoying as I have to always use
    the back space key to erase all the characters that are not intended to
    type in.
    
2)  At first, I suspected that was a problem with the keyboard. However,
    the problem presisted after I changed the keyboard. Then I tried to
    disable the auto-repeat feature of the keybroad. However, after I have
    typed in something in WPS, the undesired auto-repeation happened again.
    Then I checked that the auto-repeat feature was enabled some how (by
    WPS?). 
    
    The problem didn't occur when I was in DCL. And the auto-repeat feature
    remained disabled no matter how long I have pressed the keys.
    
    So what's the cause of it and how can I fix it?
    
    Thanks a lot.
T.RTitleUserPersonal
Name
DateLines
1682.1Locking user features should fix itHANNAH::MESSENGERBob MessengerTue Nov 07 1989 12:147
Re: .0

This is a known problem.  There is a workaround which seems to fix it in most
cases: turn on the Lock User Features toggle button in the Customize General
dialog box.

				-- Bob
1682.2works - but why?HGOVC::MICHAELWANTue Nov 07 1989 22:337
    Thanks Bob. Now it works. Although now I don't have the autorepeat
    feature even if I want it.
    
    Is it a problem with DECterm, sethost or WPS? Will it be fixed in the
    next release?
    
    Thanks.
1682.3Somewhat mysteriousHANNAH::MESSENGERBob MessengerWed Nov 08 1989 00:5614
Re: .2

I don't completely understand the problem, but I think there is a server or
Xlib bug of some kind that is aggravated when an application rapidly turns
auto-repeat on and off.  By locking user features in DECterm you are disabling
WPS+'s ability to turn auto-repeat on and off with an escape sequence; you
should still be able to turn auto-repeat on yourself from Cusomize.

In V2 (VMS V5.3) DECterm ignores the escape sequence altogether, even if you
haven't locked user features.  However, some people (including me) have still
seen the problem even in V2; I saw it when I was editing a file and tried to
use F13 to delete a word.  The "workaround" was to use the delete key a lot.

				-- Bob
1682.4PSW::WINALSKICareful with that VAX, EugeneWed Nov 08 1989 15:004
This is a well known, very old, and much-complained-about bug in WPS.  WPS has
no right to be mucking about with auto-repeat in this way.

--PSW
1682.5FK::FREDSo sue me.Mon Nov 13 1989 21:5622
    This is a mis-use of a sequence which should never have been defined in
    the first place.  The sequence turns autorepeat on and off on VT200
    terminals.
    
    I have found that 9 out of 10 times the bug appears on VSII/GPX
    systems, but has also been reported on other types.
    
    Since this happens on both VWS and DECwindows I will tell you what
    happens  in VWS, it's probably the same...
    
    When a keyboard attribute is changed, the driver actually resets *all*
    (or at least many) attributes not just one.  Many of the commands
    respond with mode change ack's.  These ack's arrive faster than the
    system can handle them and the input buffer gets data overruns and in
    the process loses any 'real' data that may have been among the burst.
    In this case what's lost is the key up transition.  So the driver (or
    server) thinks that a key is still down.
    
    The VWS solution was to disable the sequence for the terminal, which
    does not solve the problem but does make it less critical.
    
    _Fred
1682.6Aha!HANNAH::MESSENGERBob MessengerTue Nov 14 1989 11:436
Re: .5

Thanks for the explanation, Fred.  Maybe this can be fixed in the later version
of the driver (I hope).

				-- Bob
1682.7problem could be almost anywhereSTAR::BMATTHEWSTue Nov 14 1989 13:5514
If only the autorepeat has been turned on or off then the decwindows driver
will only modify autorepeat. We have never been able to determine exactly
what the problem is and it could well be a problem in the lk201 keyboard
hardware that causes data to be lost or it's 4 character fifo to overflow
if it is recieving mode changes from the driver, while also trying to ack
those changes and also trying to transmit the key transitions.

The thing I don't understand is why do you have to be running wps+ and be
set host. Maybe the timing delay and the buffering along the way is causing
characters to be delivered to wps+ that it is not expecting and it's getting
confused.

						Bill

1682.8Didnt EDT do it as well?YUPPY::CONNOLLYMon Dec 04 1989 08:415
    I dont know if this will help track down the problem but i think
    i remember that EDT used to use the autorepeat on/off technique
    to control (read slow) user input!
    
    Gerry
1682.9SSPENG::KLEINSORGESo sue me.Mon Dec 04 1989 09:574
    
    Yes, it did but was this was removed sometime in the last century.
    
    
1682.10Another workaround: Avoid TABsMSDSWS::LOVEFri Dec 08 1989 08:174
    	I discovered that the character repeat would only occurs after I
    type a TAB character on that line.  When I avoid typing TABs the
    problem goes away.  Does the TAB turn this repeat feature on some how?
    Weird!
1682.11Did you have a hard day at the office Dear?YUPPY::CONNOLLYWed Dec 20 1989 13:2912
    >>> < Note 1682.9 by SSPENG::KLEINSORGE "So sue me." >
    >>>
    >>> Yes, it did but was this was removed sometime in the last century.

    
    
    Well what a nice person you are!!!, perhaps you missed the phrase
    "used to" in my reply!!!
    
    Regards (and merry Xmas)
    
    Gerry
1682.12SITBUL::KLEINSORGESo sue me.Fri Dec 22 1989 01:536
    
    I guess I forgot the :-) - it was just a conformation that yes it once
    did but hasn't for a very long time.