[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

1047.0. "INQUIRE statement in LOGIN.COM breaks FILEVIEW." by AISG::COMELLA (John Comella, DTN 291-8483) Fri Jun 30 1989 13:07

I was unable to start DECWINDOWS on systems on which everyone else had no
problem.  Mark O'Toole narrowed the problem to something in my LOGIN.COM
file. 

The symptoms were that within a few seconds of announcing that it was 
starting FILEVIEW, it would announce that FILEVIEW had stopped with 
"condition handler not found".

The offending line was

$	 INQUIRE <variable> 

Once I eliminated that, DECWINDOWS started perfectly. 

How do I ask a question in my LOGIN under DECWINDOWS?  Or, alternatively,
how do I get a routine to run automatically after DECWINDOWS and a FILEVIEW
have started?

Thanks.

John

T.RTitleUserPersonal
Name
DateLines
1047.1LESLIE::LESLIEGentlemen! Let&#039;s broaden our minds!Sat Jul 01 1989 03:495
    You can't. What are you trying to acheive? Is there an alternative way
    of doing this?
    
    - ���

1047.2What I was trying to do...AISG::COMELLAJohn Comella, DTN 291-8483Wed Jul 26 1989 23:2923
What was I trying to do?

I used to ask myself if I was logged-in from home so I could keep track of my 
home-usage.  But I have since realized that I can't log into a DECW machine 
anyway.  I guess that I'll have to log into the local cluster from home.

It looks like I'll just read the nodename in LOGIN, and if it's my uVAX, I'll
bypass the INQUIRE statement.

Not being able to log-into a DECW machine remotely is a real pain in the
neck. Maybe I should write a routine that shuts my machine down when I log
out at 6 PM and reboots it under UIS.  But then I'm faced with either
waiting forever in the morning to reboot it or having another automatic
routine do the reverse at 7:30 AM (except weekends).  Hmmm.  This DECwindows
stuff had better be really good. 

Thanks.

John

Does anyone have a strategy for dealing with modems?  I think I know the
answer:  someone will probably make a fortune when they come up with one. 

1047.3Did I miss something?QUARK::LIONELFree advice is worth every centWed Jul 26 1989 23:405
    I don't understand - why can't you log into a DECwindows system from
    home?  I'm doing that just now.
    
    			Steve

1047.4STAR::MFOLEYRebel without a ClueThu Jul 27 1989 00:176
       
       
       	What are you trying to do? I'm confused...
       
       							mike

1047.5VWSLAT?VANPYR::BLAKEThe Rottweiler did itThu Jul 27 1989 05:436
    You wouldn't be running VWSLAT from your workstartion, would you? That
    disables incoming LAT connections. If so, simple stop VWSLAT before
    going home (and @LTLOAD) and restart it in the morning.
    
    Colin.

1047.6Workaround for DCL INQUIRE for DECterm LOGIN.com ? SAC::WOOD_JMon Mar 12 1990 06:5041
  I had a "$ INQUIRE _purge" statement in my LOGIN.COM, which would ask me if
  I wanted to purge certain files. This worked fine on DECwindows workstations
  with VMS v5.2, but when I upgraded to v5.3 both my Fileview and DECterm
  sessions failed to appear.

  I have played about with my LOGIN.com, and have observed the following:

  o If my LOGIN.com just says

	$ INQUIRE _something		! i.e. one line

     no DECterms nor Fileviews appear.


  o If my LOGIN.com ia as follows: (based on VMS v5.3 Release Notes example,
    1.7.3.2, p1-10):

	$ if f$getdvi( "sys$output:", "trm" )
	$ then
        $       devnam = f$getdvi( "sys$output:", "devnam" ) - "_" - "_"
	$       devnam = f$extract( 0, 2, devnam )
	$ 	write sys$output "Devnam is ''devnam'"
	$       if devnam .nes. "TW" then goto skip_inq
	$               inquire _input
	$ skip_inq:
	$ endif

    the effect seems to be as I want it. That is, when the DECterms are created
    I am prompted for input, and the Fileview session appears OK. Can I rely on
    this ? 

  I wonder if I am not understanding something here. Why should the first
  LOGIN.com (of just INQUIRE) prevent the DECterms being created, whilst
  the second LOGIN works OK ?

  What about captive accounts on workstations ? Are these not possible ?

  Thanks in anticipation,

	John Wood
1047.7SMAUG::MENDELIn some strange power&#039;s employMon Mar 12 1990 12:1811
        See Note 2320, and others.

        Session Manager starts up interactive processes with mailbox
        terminals. Therefore, the Inquire either fails, or reads the the
        "CREATE/TERM"  command from the SM as its input.

        Check to see, in login.com, if the terminal is a mailbox. 
        (f$loc("MBA",f$trn("TT")) .eq. 0). If it is, treat it as a  batch or
        network process - only define logicals and symbols.

        Kevin
1047.8Test whether input source is a terminalBOMBE::MOOREEat or be eatenMon Mar 12 1990 21:534
    I think all you really need is:
    
    	$ if f$getdvi("SYS$COMMAND","trm") then INQUIRE etc...
    
1047.9DECWIN::FISHERPrune Juice: A Warrior&#039;s Drink!Tue Mar 13 1990 12:184
Looking for the TW device won't work forever.  We will be switching to a new
pseudo-terminal sometime, and that will have a different device name.

Burns