<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: xwindows resizing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255159#M888024</link>
    <description>Thanks Bill.&lt;BR /&gt;&lt;BR /&gt;I did not think your response applied since these are all HPUX servers that I am telneting to, running 11.0 and up. The workstation is also running HPUX 11.0. However, I followed your recommendations, and while checking the various LINES, COLUMNS, and stty settings, here's what I noticed: I only have this issue when I'm logged in as root using the Symark "pbrun" command (similar to sudo), which is most of the time. I normally telnet using my own account, then get root access via "pbrun". After that, I have the problem. If I "su -",&lt;BR /&gt;its fine (I'm sure I'll get a nasty-gram from Internal Security for using "su"). &lt;BR /&gt;Unless anyone has any further insight, I guess I'll have to take this up with the Symark folks.</description>
    <pubDate>Wed, 21 Apr 2004 13:39:12 GMT</pubDate>
    <dc:creator>Luis Toro</dc:creator>
    <dc:date>2004-04-21T13:39:12Z</dc:date>
    <item>
      <title>xwindows resizing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255155#M888020</link>
      <description>I recently upgraded my HPUX workstation and I am experiencing the following:&lt;BR /&gt;I open up an 80x24 HPTERM. If I change the x-window size, the columns and rows remain 80x24.&lt;BR /&gt;I checked with a co-worker, and his stty settings change automatically when he maximizes his hpterms. In my research, I found a "resize" command that will fix the problem, but how do I get the stty columns and rows to change automatically when I resize an hpterm.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 21 Apr 2004 09:41:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255155#M888020</guid>
      <dc:creator>Luis Toro</dc:creator>
      <dc:date>2004-04-21T09:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: xwindows resizing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255156#M888021</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;When I resize my xterm, the values displayed by tty are different, but I need to issue a stty cols 163 if I don't want to get an error using vi for instance like ":Terminal too wide".&lt;BR /&gt;&lt;BR /&gt;Is that waht you're talking about ?&lt;BR /&gt;&lt;BR /&gt;Nicolas&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Apr 2004 10:07:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255156#M888021</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-04-21T10:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: xwindows resizing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255157#M888022</link>
      <description>Some more details:&lt;BR /&gt;I have my root background menu setup to open up an HPTERM and telnet to various UNIX servers. The HPTERM window is 80x24. If I 'view' a file (ie. syslog) with long lines, I used to simply vi the file, then maximize my HPTERM window to minimize wraparound. It seems that now after I maximize the window, vi still thinks the display is 80x24 (scrolling up and down the file yields a gobbled display). 'stty -a' shows that the columns/rows are 80x24. &lt;BR /&gt;Looks like the 'resize' command will fix the problem after I maximize the window, but I used to not have to issue any command. In other words, the columns/rows would automatically change upon maximizing the window.&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 21 Apr 2004 10:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255157#M888022</guid>
      <dc:creator>Luis Toro</dc:creator>
      <dc:date>2004-04-21T10:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: xwindows resizing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255158#M888023</link>
      <description>What resize does is to update the current shell variables LINES and COLUMNS. This is done automatically through the initial telnet negotiation (although not all remote clients support these subcodes, even though the standard has been around for a long time). This is why LINES and COLUMNS (and TERM) can be preset before /etc/profile is run.&lt;BR /&gt; &lt;BR /&gt;In Xwindows, it gets more complicated because the window itself may be on another computer (as in running a PC with an Xwindow emulator). When you run hpterm (a modern version), resizing the window will generate the SIGWINCH signal to the current process (typically a shell) and the size variables will be updated. The problem is probably due to stating hpterm on your local workstation (which should update LINES/COLUMNS automatically in your local shell), then telnet'ing to another machine which may not support the SIGWINCH subcodes in their telnet daemon. &lt;BR /&gt; &lt;BR /&gt;If the remote system has an xterm, run that on the remote machine to display back to your screen, then check LINES and COLUMNS after resizing this remote window. If that doesn't work, the remote machine apparently does not support the SIGWINCH signal even locally. If it does work, then just the telnet daemon on the remote machine is missing support for SIGWINCH (called NAWS in RFC 1073 -- NAWS = Negotiate About Window Size).</description>
      <pubDate>Wed, 21 Apr 2004 11:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255158#M888023</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-04-21T11:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: xwindows resizing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255159#M888024</link>
      <description>Thanks Bill.&lt;BR /&gt;&lt;BR /&gt;I did not think your response applied since these are all HPUX servers that I am telneting to, running 11.0 and up. The workstation is also running HPUX 11.0. However, I followed your recommendations, and while checking the various LINES, COLUMNS, and stty settings, here's what I noticed: I only have this issue when I'm logged in as root using the Symark "pbrun" command (similar to sudo), which is most of the time. I normally telnet using my own account, then get root access via "pbrun". After that, I have the problem. If I "su -",&lt;BR /&gt;its fine (I'm sure I'll get a nasty-gram from Internal Security for using "su"). &lt;BR /&gt;Unless anyone has any further insight, I guess I'll have to take this up with the Symark folks.</description>
      <pubDate>Wed, 21 Apr 2004 13:39:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255159#M888024</guid>
      <dc:creator>Luis Toro</dc:creator>
      <dc:date>2004-04-21T13:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: xwindows resizing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255160#M888025</link>
      <description>Many programs ignore SIGWINCH which I believe is the default action.  We shouldn't be too hard on them, they are command line tools after all.</description>
      <pubDate>Wed, 21 Apr 2004 13:45:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255160#M888025</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-04-21T13:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: xwindows resizing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255161#M888026</link>
      <description>I think you've nailed down the problem. pbrun probably creates a wide umbrella to protect root and may have issues with cetain signals. You might try sudo to see if it solves the problem. Otherwise, you may have to pick a fixed window size and start HPTERM with the desired size rather than resizing on the fly.</description>
      <pubDate>Thu, 22 Apr 2004 20:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/xwindows-resizing/m-p/3255161#M888026</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-04-22T20:16:29Z</dc:date>
    </item>
  </channel>
</rss>

