[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

1231.0. "Third party HP product giving problems???" by 54687::WIJKAMP (One day, you won't drink beer, you'll drink GROLSCH) Tue Mar 12 1996 03:59



    Hello,


    Customer came up with the following question:


    He is serving a HP9000 with PCM V1.6-110.

    This seems to work as expected. Only when he starts up his
    HP-management-utility SAM, then the menu this product uses
    gets corrupted now and then.

    When they do a telnet connect via the decserver port to the
    HP, than everything works okee.

    - Anybody experence with this tool?
    - Should this work??????
    - Any advise for settings?
      (The decterm settings seem to be 100% the same)

    Thanks in advance for your advise/help ect.


    Greetings,

    Ren� Wijkamp
    MCS, OSS The Netherlands.
T.RTitleUserPersonal
Name
DateLines
1231.1CSC32::BUTTERWORTHGun Control is a steady hand.Tue Mar 12 1996 11:4910
    >Gets corrupted now and then. It could be the typeahead buffer isn't
    big enough and enough characters are coming down the pipe before
    flow control has a chance to kick in.
    
    What are the settings of TTY_ALTYPAHD and TTY_ALTALARM on the PCM
    engine? Set them to 2000 and 640 respectively and then reboot the 
    PCM engine as these aren't dynamic parameters.
    
    Regs,
      Dan
1231.2Problem still there.54735::WIJKAMPOne day, you won't drink beer, you'll drink GROLSCHThu Mar 14 1996 10:0916
    
    
    Hello,
    
    
    They changed the parameters to the advised values. I'm sorry, but it
    made no difference at all.
    When you go into the menu, and return to a previous one, the line items
    move one position.
    
    Any other idea's??
    
    
    Thanks again.
    
    Ren�.
1231.3CSC32::BUTTERWORTHGun Control is a steady hand.Thu Mar 14 1996 18:591
    Do these systems send 8-bit ascii control sequences?
1231.4More info/questionsUTURBO::WIJKAMPOne day, you won't drink beer, you'll drink GROLSCHThu Apr 18 1996 11:21114


    Hello, 


    I have a follow up on this problem.

    The following is the case:

    This application is giving a menu. When you step through the
    menu with the down arrow key, You see that the next menu
    item is inversed (intended) but is also written at the
    beginning of the line, and not at position 4.
    When you go down again, the inverse is turned off, and the
    next item is moved at the beginning, and highlichted.

    When you use telnet to connect to this HP-system, the menu
    items stay on the correct position, starting at position 4.

    It seems that somehow PCM inserts a CR and/or LF when
    rewriting the line, thus starting at the beginning of the
    line.


    The application does all kind of cursor positioning things
    like <ESC>[34D (move cursor back 34 positions ect.)

    The important questions at this moment are.

    - DOES PCM support this kind of cursor movements???? 
    - What does pcm use/add as a record terminator (CR/LF)
      if it does, can this be changed?

    (telnet seems to add only a LF as a terminator, thus
    positioning the cursor one line below, on position 4.)


    I have a logfile from the telnet session. 
    Retrievable from UTRTSC""::pcm-menu.log When you do a type of
    this file you can see the undesired effect. (LOGfile also
    added at the end, but with the <ESC> as text, and not
    as ascii-27.)


    I would be very pleased with an answer to my two questions:

    Thanks in advance

    Ren�.                                       \



    LOGfile.

<ESC>[4l<ESC>[20l<ESC>[12h<ESC>[16h<ESC>[?7l<ESC>[?42l<ESC>=<ESC>[?6l<ESC>[?25h<ESC>[?10l<ESC>(B<ESC>)0<ESC>[H<ESC>[999B<ESC>[999C
<ESC>[6n <ESC>[6n<ESC>[<ESC>[H<ESC>[J<ESC>[?25h<ESC>[0m^Nl<ESC>[0;7m^O <ESC>[0;1;7m===<ESC>[0;7m    <ESC>[0;1;7m System Administrati
on Manager (sddp02) (1) <ESC>[0;7m        <ESC>[0m^Nk<ESC>[0;1m^O  
<ESC>[0m^Nx<ESC>[0;1m^O                                                            <ESC>[0m^Nx<ESC>[0;1m^O  
<ESC>[0m^Nx<ESC>[0;1m^O                                                            <ESC>[0m^Nx<ESC>[0;1m^O  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nlqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk^O                     <ESC>[0m^Nx<ESC>[0;1m^O  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O <ESC>[0;1;7mPrinters and Plotters->           <ESC>[0;1m <ESC>[0;1;7m^<ESC>[0;1m  [[    <ESC>[0;1;4mO
<ESC>[0;1mpen      ]] <ESC>[0m^Nx<ESC>[0;1m^O  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Disks and File Systems->           <ESC>[0;1;7m <ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Peripheral Devices->               <ESC>[0;1;7m <ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Backup and Recovery->              <ESC>[0;1;7m <ESC>[0;1m  <ESC>[0m[ <ESC>[0;4mP<ESC>[0mrevious Level
 ]<ESC>[0;1m <ESC>[0m^Nx<ESC>[0;1m^O  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Users and Groups->                 <ESC>[0;1;7m <ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Routine Tasks->                    <ESC>[0;1;7m <ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Process Management->               <ESC>[0;1;7m <ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Kernel Configuration->             <ESC>[0;1;7m <ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Cluster Configuration              <ESC>[0;1;7m <ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Networking/Communications->        <ESC>[0;1;7m <ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Remote Administration              <ESC>[0;1;7m <ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Auditing and Security->            <ESC>[0;1;7m <ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O Other Utilities->                  <ESC>[0;1;7m <ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nx^O                                    <ESC>[0;1;7mv<ESC>[0;1m                     <ESC>[0m^Nx<ESC>[0;1m^O
  
<ESC>[0m^Nx<ESC>[0;1m^O ^Nmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj^O                     <ESC>[0m^Nx<ESC>[0;1m^O  
<ESC>[0m^Nx<ESC>[0;1m^O          Press CTRL-K any time for KEYBOARD HELP           <ESC>[0m^Nx<ESC>[0;1m^O  
<ESC>[0m^Nx<ESC>[0;1m^O                                                            <ESC>[0m^Nx<ESC>[0;1m^O  
<ESC>[0m^Nx<ESC>[0;1mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq<ESC>[0mx<ESC>[0;1m^O  
<ESC>[0m^Nx<ESC>[0;1m^O [   <ESC>[0;1;4mE<ESC>[0;1mxit SAM    ]   [  Options...   ]   [     <ESC>[0;1;4mH<ESC>[0;1melp      ]  <ESC>
[0m^Nx<ESC>[0;1m^O  
<ESC>[0m^Nmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj<ESC>[0;1m^O  <ESC>[60D<ESC>[19APrinters and Plotters->     
      <ESC>[34D
<ESC>[0;1;7mDisks and File Systems->          <ESC>[34D<ESC>[0;1mDisks and File Systems->          <ESC>[34D
<ESC>[0;1;7mPeripheral Devices->              <ESC>[34D<ESC>[0;1mPeripheral Devices->              <ESC>[34D
<ESC>[0;1;7mBackup and Recovery->             <ESC>[34D<ESC>[0;1mBackup and Recovery->             <ESC>[34D
<ESC>[0;1;7mUsers and Groups->                <ESC>[34D<ESC>[0;1mUsers and Groups->                <ESC>[34D
<ESC>[0;1;7mRoutine Tasks->                   <ESC>[34D<ESC>[0;1mRoutine Tasks->                   <ESC>[34D
<ESC>[0;1;7mProcess Management->              <ESC>[34D<ESC>[0;1mProcess Management->              <ESC>[34D
<ESC>[0;1;7mKernel Configuration->            <ESC>[34D<ESC>[0;1mKernel Configuration->            <ESC>[34D
<ESC>[0;1;7mCluster Configuration             <ESC>[34D<ESC>[0;1mCluster Configuration             <ESC>[34D
<ESC>[0;1;7mNetworking/Communications->       <ESC>[34D<ESC>[0;1mNetworking/Communications->       <ESC>[34D
<ESC>[0;1;7mRemote Administration             <ESC>[34D<ESC>[0;1mRemote Administration             <ESC>[34D
<ESC>[0;1;7mAuditing and Security->           <ESC>[34D<ESC>[0;1mAuditing and Security->           <ESC>[34D
<ESC>[0;1;7mOther Utilities->                 





1231.5CSC32::BUTTERWORTHGun Control is a steady hand.Thu Apr 18 1996 21:0242
>    This application is giving a menu. When you step through the
>    menu with the down arrow key, You see that the next menu
>    item is inversed (intended) but is also written at the
>    beginning of the line, and not at position 4.
>    When you go down again, the inverse is turned off, and the
>    next item is moved at the beginning, and highlichted.

>    When you use telnet to connect to this HP-system, the menu
>    items stay on the correct position, starting at position 4.

>    It seems that somehow PCM inserts a CR and/or LF when
>    rewriting the line, thus starting at the beginning of the
>    line.
    
    PCM *does not* insert characters into the data stream. Does the HP
    system send 8-bit ascii sequences to perform some of these operations?
    I aksed that question in -2 and it wasn't answered? What kind of
    terminal does the HP think is attached to it's console? A VT100 or
    what? 


    >The application does all kind of cursor positioning things
    >like <ESC>[34D (move cursor back 34 positions ect.)

    >The important questions at this moment are.

    >- DOES PCM support this kind of cursor movements???? 
    
    Yes. The LPS$CONSOLE application uses nothing but direct cursor
    positioning sequences and it works fine. The LPS$CONSOLE is what one
    uses to connect to a PRINTSERVER to access it's virtual console.
    As long as the HP is sending valid VTxxx escape sequences it should
    work.
    
    >- What does pcm use/add as a record terminator (CR/LF)
    >  if it does, can this be changed?
    
    DO you mean for the CONNECT interface or what? When using connect, the
    data stream is passed directly to the users terminal. The only issue is
    if the HP sends 8-bit seqences and your using LAT or local TXA ports.

Regs,Dan
1231.6The more you know, the more questions you get.UTRTSC::WIJKAMPOne day, you won&#039;t drink beer, you&#039;ll drink GROLSCHFri Apr 19 1996 11:4146
    
    
    Hello Dan,
    
    
    Sorry, I did not answer your previous question.
    
    Yes, the HP states that it sends 8-bit sequences. (I have some doubt,
    that is why I asked for this logfile.)  It is in VT100 emulation mode.
    
        >- What does pcm use/add as a record terminator (CR/LF)
        >  if it does, can this be changed?
    
    
    Type adds a cr/lf at the end of every record, that is why you see the
    behaviour when you type the logfile. (Notice there is NO CR and/or LF
    at the end of the records.)
    I thought maybe PCM reads a record, and that writes it to the decterm +
    CR/LF.
    
    This is via the connect interface of PCM.
    
    It is a Weird problem. Every way we connect to this system via this
    decserver-port (telnet/lat) gives correct results. When we do it via
    PCM Connect we see the menu items move to the beginning. (Why???????)
    
    Personaly I think this is a cosmetic problem (Does not look nice), but
    everything works. BUT the customer is making a lot of problems about
    it.
    
    20+ hp-systems.
    
    So a (any) explenation would be very welcome.
    
    I think I am going to make a network trace to findout if there is not a
    weird 7 1/2-bit sequence somewhere send.
    
    
    Any further help would be very welcome.
    
    Greetings,
    
    Ren�.
    
    
    
1231.7CSC32::BUTTERWORTHGun Control is a steady hand.Fri Apr 19 1996 14:5547
>    Yes, the HP states that it sends 8-bit sequences. (I have some doubt,
>    that is why I asked for this logfile.)  It is in VT100 emulation mode.
    
        >- What does pcm use/add as a record terminator (CR/LF)
        >  if it does, can this be changed?
    
    
>    Type adds a cr/lf at the end of every record, that is why you see the
>    behaviour when you type the logfile. (Notice there is NO CR and/or LF
>    at the end of the records.)
    
    Thats actually RMS doing that and it only occurs if you have the
    carriage_return record attribute.
    
    
    >I thought maybe PCM reads a record, and that writes it to the decterm +
    >CR/LF.
    
>    It is a Weird problem. Every way we connect to this system via this
>    decserver-port (telnet/lat) gives correct results. When we do it via
>    PCM Connect we see the menu items move to the beginning. (Why???????)
    
    Looking at the esc sequences, the second iteration of the string
    doesn't position the cursor in column 4. It assumes that the once the LF
    has been processed the cursor is in the correct position. If a CR is
    sent (which it must be) then it screws up the spacing. In my opinion
    the menu code should send the sequence to place the cursor where they
    want it and not assume that a LF char will take care of it. That would
    make the code much more generic and your problem would not exist.
    
    If they do send an 8-bit seqnece and you use LAT or Direct as the
    transport we'll have a problem as PCM sets the line fir 7-bit controls
    which means 8 bit sequnces won't get handled.
    
    Regs,
      Dan
    
    
    
    Any further help would be very welcome.
    
    Greetings,
    
    Ren�.