<?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: vi with tsm in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057327#M742928</link>
    <description>OK,&lt;BR /&gt;&lt;BR /&gt;I attach file with required output.</description>
    <pubDate>Tue, 10 Jul 2007 10:06:43 GMT</pubDate>
    <dc:creator>wojtek75</dc:creator>
    <dc:date>2007-07-10T10:06:43Z</dc:date>
    <item>
      <title>vi with tsm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057320#M742921</link>
      <description>HP-UX 11.11&lt;BR /&gt;tsm 2.2.4d&lt;BR /&gt;&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I connect to a machine with HP-UX with putty. &lt;BR /&gt;After that there is no problem with using vi.&lt;BR /&gt;When I run tsm and run vi,  it "fills" only &lt;BR /&gt;upper part of the putty window. I mean vi &lt;BR /&gt;fixes its command line in the middle of the &lt;BR /&gt;window (about 24 lines from the top) &lt;BR /&gt;instead of the bottom of the window as it does &lt;BR /&gt;as usual. This line is also a baseline for &lt;BR /&gt;scrolling etc.&lt;BR /&gt;&lt;BR /&gt;I used different values of TERM and TSMTERM, &lt;BR /&gt;stty and resize with no success. Does anybody &lt;BR /&gt;has an idea what is wrong with tsm?&lt;BR /&gt;&lt;BR /&gt;I appreciate any help.&lt;BR /&gt;wojtek</description>
      <pubDate>Tue, 10 Jul 2007 09:05:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057320#M742921</guid>
      <dc:creator>wojtek75</dc:creator>
      <dc:date>2007-07-10T09:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: vi with tsm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057321#M742922</link>
      <description>Shalom wojtek,&lt;BR /&gt;&lt;BR /&gt;24 lines 80 columns per line is the standard terminal interface.&lt;BR /&gt;&lt;BR /&gt;I don't know why you'd expect more than that.&lt;BR /&gt;&lt;BR /&gt;Any reason why you're not using pure putty? It works fine.&lt;BR /&gt;&lt;BR /&gt;You should be able to change the putty scroll settings and see enough history to work on the system.&lt;BR /&gt;&lt;BR /&gt;Perhaps reveal what TERM settings you are using and maybe someone more familiar with tsm can help.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 10 Jul 2007 09:14:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057321#M742922</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-07-10T09:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: vi with tsm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057322#M742923</link>
      <description>Any warning when you start tsm?&lt;BR /&gt;&lt;BR /&gt;Try this before starting tsm:&lt;BR /&gt;&lt;BR /&gt;# export TERM=vt100&lt;BR /&gt;# tsm</description>
      <pubDate>Tue, 10 Jul 2007 09:16:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057322#M742923</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-07-10T09:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: vi with tsm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057323#M742924</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;after starting tsm I can see standard output:&lt;BR /&gt;&lt;BR /&gt;Terminal type is: vt100.     TSM Terminal type is: vt100.&lt;BR /&gt;&lt;BR /&gt;# TSM  vt100  (80 column only)  description file 05/18/90&lt;BR /&gt;#    generic  vt100 - see also wy60vt100 es3vt100 es3vt100-2.&lt;BR /&gt;#    See also Vt100 for 80/132 columns.&lt;BR /&gt;#&lt;BR /&gt;#    !!! IMPORTANT NOTE !!!&lt;BR /&gt;#    Set Terminal to: XON/XOFF MODE&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Before running tsm I maximize putty window. Before tsm, vi can see the whole window. When tsm is started, vi can see only first 24 lines of the screen. The problem is the same when TERM is set to vt100, Vt100, vt220 etc.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;wojtek</description>
      <pubDate>Tue, 10 Jul 2007 09:24:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057323#M742924</guid>
      <dc:creator>wojtek75</dc:creator>
      <dc:date>2007-07-10T09:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: vi with tsm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057324#M742925</link>
      <description>Find out the rows and columns set within Putty, then set it with 'stty rows &amp;lt;#&amp;gt; columns &amp;lt;#&amp;gt;'.&lt;BR /&gt;&lt;BR /&gt;I think HP-UX might have a reset command to re-initialise the terminal.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jov</description>
      <pubDate>Tue, 10 Jul 2007 09:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057324#M742925</guid>
      <dc:creator>Jov</dc:creator>
      <dc:date>2007-07-10T09:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: vi with tsm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057325#M742926</link>
      <description>The attempts with stty, reset or clear doesn't solve the problem.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;wojtek</description>
      <pubDate>Tue, 10 Jul 2007 09:40:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057325#M742926</guid>
      <dc:creator>wojtek75</dc:creator>
      <dc:date>2007-07-10T09:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: vi with tsm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057326#M742927</link>
      <description>This issue is usually a mismatch of stty and/or TERM.&lt;BR /&gt;&lt;BR /&gt;Can you post the stty and env output?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jov</description>
      <pubDate>Tue, 10 Jul 2007 09:51:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057326#M742927</guid>
      <dc:creator>Jov</dc:creator>
      <dc:date>2007-07-10T09:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: vi with tsm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057327#M742928</link>
      <description>OK,&lt;BR /&gt;&lt;BR /&gt;I attach file with required output.</description>
      <pubDate>Tue, 10 Jul 2007 10:06:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057327#M742928</guid>
      <dc:creator>wojtek75</dc:creator>
      <dc:date>2007-07-10T10:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: vi with tsm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057328#M742929</link>
      <description>This application is historical used with "real" terminals. &lt;BR /&gt;Also the man page says &lt;BR /&gt;&lt;BR /&gt;"WARNINGS&lt;BR /&gt;&lt;BR /&gt;Some operations are not supported on certain terminals."&lt;BR /&gt;&lt;BR /&gt;There are a lot of setting files in /usr/tsm/term with many settings, among them are fixed numbers of lines.&lt;BR /&gt;e.g. see&lt;BR /&gt;more /usr/tsm/term/more vt220sw7-m.fi&lt;BR /&gt;&lt;BR /&gt;I would not change any of this settings, but I would simply open another putty session.&lt;BR /&gt;&lt;BR /&gt;Perhaps one of the terminal gurus can explain more details.</description>
      <pubDate>Tue, 10 Jul 2007 10:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057328#M742929</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2007-07-10T10:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: vi with tsm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057329#M742930</link>
      <description>The first thing to do is to NOT set TERM to a fixed value. HP-UX has a very useful program called ttytype that will correctly identify your PuTTY terminal emulator and should be used in your login profile:&lt;BR /&gt; &lt;BR /&gt;eval $(ttytype -s)&lt;BR /&gt; &lt;BR /&gt;To see what this does, just type: ttytype -s&lt;BR /&gt; &lt;BR /&gt;Now you will see that PuTTY by itself is set to 80 chars by 24 lines, all very standard -- *UNLESS* you resized the terminal window. Resizing may look trivial but there are major issues when you do this. First, you can resize the window and everything gets bigger, but still the character grid is 80x24. But more commonly, your resize left the characters the same size but the grid changed radically, to perhaps 120x48. Now a 'good' terminal emulator will use a special telnet subcode to tell the HP-UX terminal driver to change COLUMNS and LINES. If not, you must manually run resize or ttytype like this:&lt;BR /&gt; &lt;BR /&gt;eval $(resize)&lt;BR /&gt;or&lt;BR /&gt;eval $(ttytype -s)&lt;BR /&gt; &lt;BR /&gt;This is what allows your PuTTY terminal to work with vi correctly.&lt;BR /&gt; &lt;BR /&gt;However, tsm makes this very messy because it is yet another terminal handler, designed when everyone was using a dialup modems to talk to their computers. According to the program's timestamp, it was last updated in 2000, about 7 years ago, by a company called Structured Software Solutions, Inc (SSSI) which is now FacetCorp. And it turns out that tsm is overriding your PuTTY terminal identification and size. If you run ttytype -s in your tsm window, the TERM value may be different but COLUMNS=80, LINES=24. That's bad. This is a design defect that will probably never be fixed. Even manually setting COLUMNS and LINES doesn't fix the problem with vi.&lt;BR /&gt; &lt;BR /&gt;So if you really, really need to use tsm, resize your PuTTY window back to 80x24 and it should work OK. Otherwise, start multiple copies of PuTTY on your PC and use ATL-TAB to instantly switch between sessions.</description>
      <pubDate>Tue, 10 Jul 2007 10:30:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057329#M742930</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-07-10T10:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: vi with tsm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057330#M742931</link>
      <description>OK, I follow your instructions.&lt;BR /&gt;&lt;BR /&gt;Thank you for your help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;wojtek</description>
      <pubDate>Wed, 11 Jul 2007 01:58:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-with-tsm/m-p/5057330#M742931</guid>
      <dc:creator>wojtek75</dc:creator>
      <dc:date>2007-07-11T01:58:08Z</dc:date>
    </item>
  </channel>
</rss>

