<?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: When putty is full screen and you backspace a long command, cursor jumps up a line in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62393#M17910</link>
    <description>&lt;P&gt;I wrote my own terminal, so I have a few clues as to what’s going on.&lt;/P&gt;&lt;P&gt;The reason the cursor jumps is that the switch thinks the size of the terminal is smaller than what it is.&lt;/P&gt;&lt;P&gt;In your example, after recalling the command and coming back with the cursor, the switch thinks that the command is wrapped on 2 lines (the terminal would automatically print on next line if the line too long) so when it thinks you’ve reached the beginning of the 2nd line, it will jump up 1 line and position the cursor at the end of this line (according to the size the switch thinks the terminal is).&lt;/P&gt;&lt;P&gt;I had a try with Putty, and XOS (even tried a 5520) works well, both Telnet and SSH. Every time I resize the putty window, the XOS automatically adjusts to the new terminal size and there is no jumping.&lt;/P&gt;&lt;P&gt;Then I tried on XMC Webshell, and here it is flagrant. Any resize you do with XMC Webshell is not signalled back to the switch. This would be a bug on the XMC Webshell. I already don’t like the XMC Webshell much, so this is another nail in that coffin!&lt;/P&gt;&lt;P&gt;But with Putty it works ok. Then I tried your exact steps, did the show ports command (which you probably did without specifying “no-refresh”), and I re-sized the putty window WHILE the XOS was still refreshing the output. ESCaped that and then sure enough I could make the cursor jump. So the problem is that XOS does not adjust the terminal size if the terminal signals a new size while it is constantly refreshing the output of the command. However it is very easy to correct the behaviour, once you ESCaped the refreshed output (and you have an XOS CLI prompt showing), simply re-adjust the putty window size, and then that will sync it up on XOS as well.&lt;/P&gt;&lt;P&gt;I can raise these with GTAC if you like; but you can also do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jan 2021 00:30:14 GMT</pubDate>
    <dc:creator>Ludovico_Steven</dc:creator>
    <dc:date>2021-01-30T00:30:14Z</dc:date>
    <item>
      <title>When putty is full screen and you backspace a long command, cursor jumps up a line</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62389#M17906</link>
      <description>&lt;P&gt;This is a question that I have in regards to a 4 year old post.&amp;nbsp; Where are we with this?&lt;/P&gt;&lt;OEMBED url="https://community.extremenetworks.com/extremeswitching-exos-233219/exos-cli-cursor-jumping-7343209"&gt;&lt;/OEMBED&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was 4 years ago and still I see this issue.&lt;/P&gt;&lt;P&gt;Using Putty to SSH to EXOS 5520 on 31.1.1.3.&lt;/P&gt;&lt;P&gt;If you type something like sh port 1:1-48, you have to maximize your putty window to see it right so its not jumping around.&amp;nbsp; So once putty is maximized when you get out of that view and lets say you want to run a few other commands, larger commands.&lt;/P&gt;&lt;P&gt;Say you type a somewhat longer command i dont know, like this for example:&lt;/P&gt;&lt;P&gt;enable sharing 1:57 grouping 1:57,2:57 algorithm address-based L3_L4 lacp&lt;BR /&gt;and now you want to create another load sharing group (or whatever it is thats simular but needs minor changes), you hit the up arrow to recall the last command, and then arrow back to the numbers maybe you want to change it to :&lt;/P&gt;&lt;P&gt;enable sharing 1:58 grouping 1:58,2:58 algorithm address-based L3_L4 lacp&lt;BR /&gt;Well as you start arrowing back to the first group of numbers, the cursor jumps up a line and the command dissapears.&amp;nbsp; Its there, if you count how many spaces you need to go and delete and type and hit enter you can get the command updated and in, but usually thats not good to work blindly like that.&lt;/P&gt;&lt;P&gt;So 4 years later many software revisions later, any help with this issue?&amp;nbsp; I haven’t recalled ever having this on a cisco or linux device.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 02:22:45 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62389#M17906</guid>
      <dc:creator>Keith9</dc:creator>
      <dc:date>2021-01-29T02:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: When putty is full screen and you backspace a long command, cursor jumps up a line</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62390#M17907</link>
      <description>&lt;P&gt;Well, all I can say is, that I experience this all the time and it’s really annoying since I use the XMC Terminal all the time when working remotely for different customers. A fix would be great...&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 06:19:30 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62390#M17907</guid>
      <dc:creator>Stefan_K_</dc:creator>
      <dc:date>2021-01-29T06:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: When putty is full screen and you backspace a long command, cursor jumps up a line</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62391#M17908</link>
      <description>&lt;P&gt;I believe you can adjust that on the switch side with the command:&amp;nbsp;configure cli columns &amp;lt;#&amp;gt; lines &amp;lt;#&amp;gt;&lt;/P&gt;&lt;P&gt;Putty might also have a way to adjust that if you wanted to try a fix on the terminal emulator side instead.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 22:01:22 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62391#M17908</guid>
      <dc:creator>SamPirok</dc:creator>
      <dc:date>2021-01-29T22:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: When putty is full screen and you backspace a long command, cursor jumps up a line</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62392#M17909</link>
      <description>&lt;P&gt;Oh, I somehow thought we were talking about the XMC terminal. But yes, it applies to both Putty and XMC Terminal. The command you mentioned might fix it in both cases…&amp;nbsp;Will give it a try, thank you!&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 22:08:02 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62392#M17909</guid>
      <dc:creator>Stefan_K_</dc:creator>
      <dc:date>2021-01-29T22:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: When putty is full screen and you backspace a long command, cursor jumps up a line</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62393#M17910</link>
      <description>&lt;P&gt;I wrote my own terminal, so I have a few clues as to what’s going on.&lt;/P&gt;&lt;P&gt;The reason the cursor jumps is that the switch thinks the size of the terminal is smaller than what it is.&lt;/P&gt;&lt;P&gt;In your example, after recalling the command and coming back with the cursor, the switch thinks that the command is wrapped on 2 lines (the terminal would automatically print on next line if the line too long) so when it thinks you’ve reached the beginning of the 2nd line, it will jump up 1 line and position the cursor at the end of this line (according to the size the switch thinks the terminal is).&lt;/P&gt;&lt;P&gt;I had a try with Putty, and XOS (even tried a 5520) works well, both Telnet and SSH. Every time I resize the putty window, the XOS automatically adjusts to the new terminal size and there is no jumping.&lt;/P&gt;&lt;P&gt;Then I tried on XMC Webshell, and here it is flagrant. Any resize you do with XMC Webshell is not signalled back to the switch. This would be a bug on the XMC Webshell. I already don’t like the XMC Webshell much, so this is another nail in that coffin!&lt;/P&gt;&lt;P&gt;But with Putty it works ok. Then I tried your exact steps, did the show ports command (which you probably did without specifying “no-refresh”), and I re-sized the putty window WHILE the XOS was still refreshing the output. ESCaped that and then sure enough I could make the cursor jump. So the problem is that XOS does not adjust the terminal size if the terminal signals a new size while it is constantly refreshing the output of the command. However it is very easy to correct the behaviour, once you ESCaped the refreshed output (and you have an XOS CLI prompt showing), simply re-adjust the putty window size, and then that will sync it up on XOS as well.&lt;/P&gt;&lt;P&gt;I can raise these with GTAC if you like; but you can also do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 00:30:14 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62393#M17910</guid>
      <dc:creator>Ludovico_Steven</dc:creator>
      <dc:date>2021-01-30T00:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: When putty is full screen and you backspace a long command, cursor jumps up a line</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62394#M17911</link>
      <description>&lt;P&gt;With Putty I only have this problem when connected via Serial. SSH is no issue and (I believe) Telnet also works fine.&lt;/P&gt;&lt;P&gt;So for me only two issues exist:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Via Putty and serial (which isn’t a big problem, because I rarely use it on a switch in production)&lt;/LI&gt;	&lt;LI&gt;Via XMC Webshell&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;​If you could raise a ticket with GTAC for the latter it would be great. Additionally what about this feature request:&lt;BR /&gt;net0057263 - FEATURE Allow Resize of WebShell Terminal To Accomodate Additional Rows/Columns Of Output&lt;BR /&gt;My customers always request this...&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 01:22:54 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62394#M17911</guid>
      <dc:creator>Stefan_K_</dc:creator>
      <dc:date>2021-01-30T01:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: When putty is full screen and you backspace a long command, cursor jumps up a line</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62395#M17912</link>
      <description>&lt;P&gt;&lt;A href="https://ext.connectedcommunity.org/profile?UserKey=933d641a-42b2-4680-8c11-441affd7adb7" target="_self" rel="noreferrer"&gt;Ludovico Stevens &lt;/A&gt; , yes if you could raise this with GTAC that would be great.&lt;/P&gt;&lt;P&gt;One expects that when the window is resized either if its constantly refreshing (like the show ports output) or not constantly refreshing (like sitting at a command line), the behavior should be the same.&amp;nbsp; Consistency would go a long way here rather than having to type everything in a notepad document and cutting and pasting things in.&amp;nbsp; Taking advantage of the up arrow to recall previous commands (sometimes long and needing an edit) or tab completion in the CLI is much better than copying and pasting between programs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really like to see this work like it does if you SSH into a Linux machine.&amp;nbsp; Point being, the linux system just plain works.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 00:37:40 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62395#M17912</guid>
      <dc:creator>Keith9</dc:creator>
      <dc:date>2021-02-02T00:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: When putty is full screen and you backspace a long command, cursor jumps up a line</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62396#M17913</link>
      <description>&lt;P&gt;I raised &lt;A href="https://unifiedjira.extremenetworks.com/browse/EXOS-28473" target="_blank" rel="nofollow noreferrer noopener"&gt;EXOS-28473&lt;/A&gt; for the problem where XOS does not adjust the window size with SSH/Telnet if the&amp;nbsp; terminal (e.g. Putty) is resized while a refreshed show command is displaying.&lt;/P&gt;&lt;P&gt;But XMC Webshell is a different problem. Webshell does not signal the window size to the connected device. So XOS keeps operating on the assumption of 80 columns. On some other switch CLIs (like VOSS and ERS) it won’t matter much because they won’t let the entered command every go beyond 80 characters, but XOS does not do that.&lt;/P&gt;&lt;P&gt;But I found this workaround which seems to do the job. Create an exshrc.xsf file with this command inside “configure cli columns 108” and place it on the XOS. The exshrc.xsf gets executed every time someone logs into the switch. If it was from Webshell, 108 columns seems to be what is needed to make it work right. If it was via Putty or some other proper terminal, the actual window size will be set after a resize.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 05:18:47 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/when-putty-is-full-screen-and-you-backspace-a-long-command/m-p/62396#M17913</guid>
      <dc:creator>Ludovico_Steven</dc:creator>
      <dc:date>2021-02-08T05:18:47Z</dc:date>
    </item>
  </channel>
</rss>

