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

Conference vaxaxp::vmsnotes

Title:VAX and Alpha VMS
Notice:This is a new VMSnotes, please read note 2.1
Moderator:VAXAXP::BERNARDO
Created:Wed Jan 22 1997
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:703
Total number of notes:3722

265.0. "Disable command line recall?" by CSC32::J_WHISONANT () Fri Feb 28 1997 09:53

    Is it possible to disable command line recall? If so, can it be done on
    a per-process basis?
    Tks,
    Jim Whisonant
T.RTitleUserPersonal
Name
DateLines
265.1AMCFAC::RABAHYdtn 471-5160, outside 1-810-347-5160Fri Feb 28 1997 10:4812
Why?  It is such a nice feature.

There's at least two features going on here.  The DCL command line recall and
the terminal driver line editting mode.  SET TERMINAL /NOLINE_EDITING disables
the latter.  DCL will continue to recall command lines.  The RECALL /ERASE
command erases the contents of the recall buffer.

Per-process is not good thinking.  Multiple processes can share a terminal. 
Per-terminal is probably what you meant.

Once an image is running, the DCL recall no longer comes into play.  Any program
can supress the terminal line edit function in a variety of ways.
265.2tksCSC32::J_WHISONANTFri Feb 28 1997 15:232
    Thanks for the info. As for the per-process bit, maybe per-user would
    have been a better choice of words.
265.3What Problem Is The Customer Solving Here?XDELTA::HOFFMANSteve, OpenVMS EngineeringFri Feb 28 1997 16:3617
:    Thanks for the info. As for the per-process bit, maybe per-user would
:    have been a better choice of words.

   Disable (or reprogram) the arrow keys on the keyboard?  :-)
   Downgrade to VMS V3.x?  :-)

   Seriously, I'm going to climb *way* out on a limb, and guess that
   the real customer question here involves the behaviour of the DCL
   INQUIRE verb.  If so, switch over to READ.

   If I've climbed out on the wrong limb, please tell us exactly what
   the customer is up to...  (I've seen very few requests for disabling
   command line recall over the years -- most folks want to incorporate
   command line recall into their programs; folks often end up using a 
   few basic SMG calls to add command line recall into an application.)

265.4Disable command recall from one account?CSC32::J_WHISONANTFri Feb 28 1997 18:419
    In all honesity, I think he is a power hunger system manager. His night
    shift operator caused havoc by carelessly hitting the up arrow and
    re-running an application 3 or 4 times and it caused the system manager
    much grief. He wants to disable this function for the operator account
    only. Right or wrong, good motive or bad, the system manager is still
    my customer. I do not mind telling him it is not possible if this is
    the truth. However, if it is possible, I owe him an honest answer.
    Thanks for your time and interest.
    Jim
265.5application, not environmentCOMEUP::SIMMONDSlock (M); while (not *SOMETHING) { Wait(C,M); } unlock(M)Sat Mar 01 1997 20:096
    I'm tempted to say that the application in question needs fixing.. ($ for
    us there ?)   ..of course anything is possible and we could certainly
    disable ^B for a given USERNAME (over in Hackers) if that is what will
    make this Customer Happiest!
    
    John.
265.6AUSS::GARSONDECcharity Program OfficeMon Mar 03 1997 01:3315
    re .4           
    
    As a dubious solution, try putting @TT in the LOGIN.COM for the
    operator after everything else in the LOGIN.COM that is needed has been
    done.
    
    I don't think that there is a (supported) way of achieving what the
    customer is actually asking for viz. disable command recall. [It is
    strange that one can't do this so perhaps the customer should ask for
    it.]

    Perhaps the site should consider a captive account for the operators.
    There are various tools that provide either character cell or GUI for
    common operator/system manager functions or you could knock up something
    adequate in DCL if the operator's function is fairly limited.
265.7tksCSC32::J_WHISONANTMon Mar 03 1997 10:326
    Thank you very much for your reply. As for 'no supported way' to disable
    command recall, it is understandable that no one would have asked for
    it since command recall is a really nice feature. However, sooner or
    later, at least one person will want to disable/change every feature on
    the system. 
    Jim
265.8AUSS::GARSONDECcharity Program OfficeMon Mar 03 1997 17:016
re .7
    
> since command recall is a really nice feature
    
    Yes, it's hard to believe that we used to survive without it (and
    cut and paste on window terminals etc.).
265.9Wrong Approach?XDELTA::HOFFMANSteve, OpenVMS EngineeringMon Mar 03 1997 17:175
:However, if it is possible, I owe him an honest answer.

  An inept or malicious user can wreak havoc without the recall buffer...
  And an inept or malicious privileged user can wreak havoc without limit.