<?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 Vi editor problem when using SSH in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136458#M154154</link>
    <description>I installed HP's SSH product on my RP8400 running 11i and now when I edit files with vi the screen display is not right.  The top line of the text file being edited begins at about 10 lines from the botom of the screen. The top half to 3/4's of the screen is just blank.  All editing functions seem to work fine.  I have tried 2 different SSH client programs and the results are the same.  Any ideas?  Thanks.&lt;BR /&gt;&lt;BR /&gt;Kevin</description>
    <pubDate>Thu, 04 Dec 2003 13:41:32 GMT</pubDate>
    <dc:creator>Kevin Westover</dc:creator>
    <dc:date>2003-12-04T13:41:32Z</dc:date>
    <item>
      <title>Vi editor problem when using SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136458#M154154</link>
      <description>I installed HP's SSH product on my RP8400 running 11i and now when I edit files with vi the screen display is not right.  The top line of the text file being edited begins at about 10 lines from the botom of the screen. The top half to 3/4's of the screen is just blank.  All editing functions seem to work fine.  I have tried 2 different SSH client programs and the results are the same.  Any ideas?  Thanks.&lt;BR /&gt;&lt;BR /&gt;Kevin</description>
      <pubDate>Thu, 04 Dec 2003 13:41:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136458#M154154</guid>
      <dc:creator>Kevin Westover</dc:creator>
      <dc:date>2003-12-04T13:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Vi editor problem when using SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136459#M154155</link>
      <description>We use putty (&lt;A href="http://www.chiark.greenend.org.uk/~sgtatham/putty/)" target="_blank"&gt;http://www.chiark.greenend.org.uk/~sgtatham/putty/)&lt;/A&gt; as our client and it works just fine...except for the function keys are a little flaky.&lt;BR /&gt;&lt;BR /&gt;--Jim</description>
      <pubDate>Thu, 04 Dec 2003 13:46:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136459#M154155</guid>
      <dc:creator>James Specht</dc:creator>
      <dc:date>2003-12-04T13:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Vi editor problem when using SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136460#M154156</link>
      <description>The problem has nothing to do with your ssh software, but with the terminal (emulation) on the machine you run the client and the kind of terminal the server thinks you have.&lt;BR /&gt;&lt;BR /&gt;First make sure what terminal program you use on the client side. For instance, putty (a freeware ssh client for windows) can run as vt100 or xterm.&lt;BR /&gt;&lt;BR /&gt;Then take a look at your TERM environment variable on the server and make it match (vt100 or xterm when using putty, for instance).&lt;BR /&gt;&lt;BR /&gt;Then it should work like you want.</description>
      <pubDate>Thu, 04 Dec 2003 13:46:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136460#M154156</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-12-04T13:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Vi editor problem when using SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136461#M154157</link>
      <description>check TERM.&lt;BR /&gt;&lt;BR /&gt;export TERM=vt100.&lt;BR /&gt;&lt;BR /&gt;Also check LINES and COLUMN settings.&lt;BR /&gt;&lt;BR /&gt;env to get these values.&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2003 13:46:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136461#M154157</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-12-04T13:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Vi editor problem when using SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136462#M154158</link>
      <description>Hi Kevin,&lt;BR /&gt;&lt;BR /&gt;Try some different TERM entries. &lt;BR /&gt;&lt;BR /&gt;export TERM=vt220&lt;BR /&gt;also export the editor and try,&lt;BR /&gt;&lt;BR /&gt;export EDITOR=vi&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds</description>
      <pubDate>Thu, 04 Dec 2003 13:56:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136462#M154158</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2003-12-04T13:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Vi editor problem when using SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136463#M154159</link>
      <description>look at the output of stty -a and see if rows and columns are specified. &lt;BR /&gt;&lt;BR /&gt;I am running Exceed as my xwindows emulator, and here's the stty settings that I have found to work best:&lt;BR /&gt;&lt;BR /&gt;speed 9600 baud; line = 0; &lt;BR /&gt;rows = 44; columns = 133&lt;BR /&gt;min = 4; time = 0; &lt;BR /&gt;intr = ^C; quit = ^\; erase = ^H; kill = ^U&lt;BR /&gt;eof = ^D; eol = ^@; eol2 &lt;UNDEF&gt;; swtch &lt;UNDEF&gt;&lt;BR /&gt;stop = ^S; start = ^Q; susp &lt;UNDEF&gt;; dsusp &lt;UNDEF&gt;&lt;BR /&gt;werase &lt;UNDEF&gt;; lnext &lt;UNDEF&gt;&lt;BR /&gt;parenb -parodd cs7 -cstopb hupcl -cread -clocal -loblk -crts &lt;BR /&gt;-ignbrk brkint -ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc &lt;BR /&gt;ixon -ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak &lt;BR /&gt;isig icanon -iexten -xcase echo echoe echok -echonl -noflsh &lt;BR /&gt;-echoctl -echoprt -echoke -flusho -pendin &lt;BR /&gt;opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop &lt;BR /&gt;&lt;BR /&gt;See also the man pages for resize and tset.&lt;BR /&gt;&lt;BR /&gt;mark&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;&lt;/UNDEF&gt;</description>
      <pubDate>Thu, 04 Dec 2003 14:30:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136463#M154159</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-12-04T14:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Vi editor problem when using SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136464#M154160</link>
      <description>Hi Kevin,&lt;BR /&gt;&lt;BR /&gt;If the $TERM setting matches OK you may just need to resize the screen - try the command&lt;BR /&gt;&lt;BR /&gt;resize&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 04 Dec 2003 14:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136464#M154160</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-12-04T14:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Vi editor problem when using SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136465#M154161</link>
      <description>It turns out the root login had an environment variable in it's .profile called UNIX95 set to true.  This seemed to be causing the problem because when I commented it out, the vi problem went away.  Anyone know what the environment variable UNIX95 does?  This same .profile file was working fine on an N4000 running HPUX 11.00.&lt;BR /&gt;&lt;BR /&gt;Kevin</description>
      <pubDate>Thu, 04 Dec 2003 16:38:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136465#M154161</guid>
      <dc:creator>Kevin Westover</dc:creator>
      <dc:date>2003-12-04T16:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Vi editor problem when using SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136466#M154162</link>
      <description>UNIX95 lets you take advantage of some enhanced unix functionality. It also messes up the sh command for unsharing depots.&lt;BR /&gt;&lt;BR /&gt;UNIX95=1&lt;BR /&gt;export UNIX95&lt;BR /&gt;&lt;BR /&gt;ps -efH | grep root&lt;BR /&gt;&lt;BR /&gt;This will return an enhanced ps output that indents child processes making them easier to spot. This is one of many features you get by setting UNIX95&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 04 Dec 2003 16:55:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136466#M154162</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-12-04T16:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Vi editor problem when using SSH</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136467#M154163</link>
      <description>A little moe about UNIX95: DON'T set it unless you've searched through all the mqan pages and docs for all your current and future programs. It changes features and behaviors for libraries and programs but as you've seen, an entirely unexpected behavior was introduced by setting it in a profile.&lt;BR /&gt; &lt;BR /&gt;To avoid all the side effect, use it only for the duration of a command such as ps:&lt;BR /&gt; &lt;BR /&gt;UNIX95= ps -e -H&lt;BR /&gt; &lt;BR /&gt;A lot of sysadmins misunderstand the defining of a variable on the same line as a command. It works just fine. Setting UNIX95 equal to nothing defines the variable name, and according to XPG4 standards, that's all that is necessary. See the man page for ps, particularly options -H -C and -o. So avoid lots of future problems and only use UNIX95 for specific commands based on the manpage.</description>
      <pubDate>Thu, 04 Dec 2003 22:56:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vi-editor-problem-when-using-ssh/m-p/3136467#M154163</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-12-04T22:56:36Z</dc:date>
    </item>
  </channel>
</rss>

