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

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

681.0. "More Event Text" by CTUADM::COOKE (Vern Cooke @CTU (Western Canada CNS)) Tue Apr 18 1995 16:26

Hello:

I am running PCM version 1.5-006 on a VMS 6.1 VAXstation 4000vlc.

I would like to obtain more than 80 characters of event text in the "Events
from C3" window. To accomplish this, I manually performed a:

	SET TERMINAL LTAxxxx: /WIDTH=220

on the LTA port associated with the DECserver port I defined in PCM; the
default terminal width was 80 which appeared to have been the reason only 80
characters of event text were appearing.

My questions are:

1) Is this the recommended method of obtaining additional event text for the
   Events on C3 window?
2) Is there some parameter that may be modified in PCM to provide the same
   effect since PCM itself now creates the terminal ports (with the associated
   LTAxxx numbers) and it is a chore to manually associate the server/port
   with the LTA port number PCM assigns.
						Thank you for your help,
								...... Vern.
T.RTitleUserPersonal
Name
DateLines
681.1Anyone out there?CTUADM::COOKEVern Cooke @CTU (Western Canada CNS)Wed Apr 26 1995 15:175
    Hello:
    
    			Anyone out there?
    
    							....... Vern.
681.2YOSSAM::PHILIPAnd through the square window...Wed Apr 26 1995 16:1014
Vern,

  Yes we are here, just a little busy at the moment.

  I am sorry, I dont fully understand what you are trying to achieve. Everything
  which appears on the console device will be received and logged by PCM, setting
  the width of the LAT device shouldnt affect what you get.

  By "Events from C3" window, do you mean the eventlist window? if so, then there
  are no limits on the width of any of the fields displayed, and we certainly dont
  truncate data (well, not until we have had 1024 bytes on a line).

Cheers,
Phil
681.3Terminal Width Affects the Event OnlyCTUADM::COOKEVern Cooke @CTU (Western Canada CNS)Thu Apr 27 1995 00:0433
    Hi Phil!
    
    You are correct in saying that PCM logs everything that comes in on the
    LAT port regardless of the width setting. What is affected is how the
    event text is treated by C3.
    
    Here is a sample scenario:
    
    1) A monitored system generates an event in one 100 character line.
    2) PCM receives the full 100 characters and duly logs them.
    3) The LAT terminal is set to 80 characters. This causes the first 80
       characters of the event (the part that actually contains the event
       text) to be passed to the "Events in C3" for display.
    4) The last 20 characters of the 100 character line are not passed to
       the "Events in C3" display.
    
    If I set the LAT terminal width to something greater than 80 characters
    and send an event line of a number of characters up to, but not
    exceeding, the new width, the full line is passed to "Events in C3".
    
    So, you are correct in saying that "Events in C3" has no limit because
    I can pass more than 80 character to the window, but only if the
    associated LAT terminal has a greater than 80 character width.
    
    I first noticed this problem when I enlarged my "Events in C3" window
    and watched the event text appear. All text was being truncated at 80
    characters in the window. When I modified a LAT terminal to more than
    80 characters, I got more than 80 characters in the window. Hence my
    request for some control in the LAT terminal width.
    
    Please let me know if there is anything else I can do or send you to
    clarify this further for you.
    							...... Vern.
681.4YOSSAM::PHILIPAnd through the square window...Thu Apr 27 1995 11:078
Vern,

  Are the lines being truncated, or just wrapped onto the next line?

  They shouldnt be wrapping as we set the LTA device NOWRAP.

Cheers,
Phil
681.5NOWRAP on OPA0 is the answerCTUADM::COOKEVern Cooke @CTU (Western Canada CNS)Thu Apr 27 1995 16:159
    Phil:
    
    Thanks for the NOWRAP tip. After some investigation, I found that the
    OPA0: port of the monitored system was set to WRAP. Once I set it to
    NOWRAP, all the text appeared in the "Events from C3" display.
    
    Also, once NOWRAP was set on the OPA0: port, the WIDTH setting became
    irrelevent.
    								......Vern.
681.6YOSSAM::PHILIPAnd through the square window...Thu Apr 27 1995 17:526
Vern,

  Glad you found the problem.

Cheers,
Phil
681.7CSC32::BUTTERWORTHGun Control is a steady hand.Thu Apr 27 1995 20:2813
    >NOWRAP and WIDTH
    
    caveat emptor.... the problem you see can still happen if *someone has
    connected to a node, logged in and a set term/inq is done even if you
    have done a set term/perm/wid=132 opa0: . This happens
    because the set term/inq dialog interrogates the terminal you
    connected from and unless it's set for wide mode in it's setup, the
    width will be set to 80. This will happen if you connect from a decterm
    too. Note the settings will revert back to the permanent ones when you
    log out.
    
    Regs,
      Dan