benjaminmurphy / conque

Automatically exported from code.google.com/p/conque
0 stars 0 forks source link

Lines dissappear when connecting to Nexus Switch #75

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. launch ConqueTerm in Linux running bash
2. ssh to NxOS device
3. Backspace over any character

What is the expected output? What do you see instead?

Backspace keys shouldn't affect visibility of line

What version of the product are you using? On what operating system?

ConqueTerm 2.3 (color enabled), 
python 2.7.1, 
bash 4.2, 
Linux 2.6.38-13-generic
Vim 2.7.3

Please provide any additional information below.

From what I can tell, NxOS for some reason puts a carraige return at the 
begining of the line for the command prompt (or, at least ends lines with a 
\n\r making the \r *look* like the first character)  Cisco IOS doesn't do this 
the same way.  If I launch screen instead of bash, it doesn't happen.  It also 
doesn't happen under windows.  In all scenarios tested (bash, sh, screen; 
windows/cmd) the switch reports termtype is vt100.  Since \n\r seems to trigger 
the problem, I had wondered of others had connected to similar environments and 
found a workaround.

Original issue reported on code.google.com by bithead0101@gmail.com on 29 Dec 2011 at 10:50

GoogleCodeExporter commented 8 years ago
Just top clarify, I launch ConqueTerm with :ConqueTerm bash, then ssh to a 
nexus switch/router.  Then at the command prompt, I backspace to erase a 
character.  The entire line turns invisible.  When I hit return, the next line 
is visible until something is backspaced over.

Original comment by bithead0101@gmail.com on 29 Dec 2011 at 10:53