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

Conference dssdev::decforms

Title:DECforms
Notice:This is not an official software support channel. Kit info: 4.L
Moderator:DSSDEV::FORMS
Created:Thu Mar 23 1989
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:4004
Total number of notes:16520

3987.0. "Can someone explain what decpccm is please ?" by SEDTMA::HANCOCK (Use what you (used to) sell) Fri Feb 28 1997 12:07

    	Hi,
    		here is an extract from the 2.0,2.1,2.B Release Notes ref
    	      a problem with VT420's when the data flow is interrupted..
    		Can someone tell me what decpccm is please ?
    
    					Cheers Mick
    
    ------------------------------extract begins---------------------------
              Because DECforms uses the multi-page capability of the
              VT420 terminal, interrupting an application that is
              transmitting data may cause the cursor to be left on the
              off-screen page. To correct this condition, modify the VMS
              prompt to contain the escape sequence to couple the cursor
              to the display. To modify the prompt, place the following
              sequence of commands in your login.com:

                      $ decpccm[0,7] = 27  ! Initial escape character
                      $ decpccm = decpccm + "[?64h" ! The balance of DECPCCM
                      $ set prompt = "''decpccm'''f$environment("PROMPT")'"
    ------------------------------extract ends------------------------------
    
T.RTitleUserPersonal
Name
DateLines
3987.1DRAGN::BOURQUARDThis is not hereTue Mar 04 1997 16:3917
>>   $ decpccm[0,7] = 27  ! Initial escape character
>>   $ decpccm = decpccm + "[?64h" ! The balance of DECPCCM
>>   $ set prompt = "''decpccm'''f$environment("PROMPT")'"


In this example, "decpccm" is simply a VMS symbol that will contain the 
escape sequence that puts the VT420 cursor on the current display (just like
$ EDIT = EDIT/TPU).  If you look at the VT420 Users Guide or programming card
the mnemonic for the command to move the cursor to the current display is
DECPCCM and the sequence is ESC[?64h.  

Another example would be the escape sequence to set a line on a terminal
to double-wide.  The escape sequence is ESC#6 adn the mnemonic is DECDWL.

I don't know what DECPCCM actually stands for though.

Dan