VMware esxtop does not display properly in ssh chrome extension..

131 views
Skip to first unread message

cg...@aquaflowusa.com

unread,
Mar 7, 2020, 8:34:38 AM3/7/20
to chromium-hterm
I use the ssh Chrome browser extension for most all of my ssh needs now, but there is one that does not work so well.  When I connect to an ESXi vSphere host and run the esxtop command, the output is not formatted as it should be and scrolls for several seconds.  It works fine under Putty and other SSH terminal apps.  

Are there setting or the like to deal with this?

Thank you,
Clay Goss, IT Consultant, Aquaflow Pump and Supply

Chris Gerber

unread,
Mar 8, 2020, 11:17:31 AM3/8/20
to chromium-hterm
I suspect that you could fix this by changing the value of the TERM environment variable. I would try:
  • Connect to vSphere from PuTTY, or one of your other SSH apps.
  • At a command prompt, type `echo $TERM` and record the value.
  • Connect to vSphere from the Chrome extension.
  • Run `echo $TERM` and confirm that the value is different.
  • Run `TERM=value esxtop` and see if it looks better, where `value` is what you recorded from PuTTY.
If my suspicions are correct, PuTTY will show "xterm" as it's value, and Chrome will show "xterm-256color". Either way, you might want to try "xterm" or "vt100" as values for TERM.

You can create an alias that sets the right TERM for `esxtop`, set the right TERM for your session, or update your Chrome extension to always use a different value. For the last of those, click the extension, then Options, scroll down to "environment variables", and enter something like:
```

Clay Goss

unread,
Mar 8, 2020, 12:59:14 PM3/8/20
to Chris Gerber, chromium-hterm
Chris,

This works!  

Thank you!

Clay Goss 

--
You received this message because you are subscribed to a topic in the Google Groups "chromium-hterm" group.
To unsubscribe from this topic, visit https://groups.google.com/a/chromium.org/d/topic/chromium-hterm/o0gpZOCYfeE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to chromium-hter...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-hterm/6874a686-5ad1-429c-8409-2875b06b74ad%40chromium.org.

Clarence Dold

unread,
Mar 8, 2020, 4:09:29 PM3/8/20
to chromium-hterm, gerb...@gmail.com, cg...@aquaflow-pumps.com
That was unexpected. There shouldn't be any difference in cursor positioning between xterm-256color and xterm.
It is likely that VMWare ESX doesn't have a definition for xterm-256color, so it was using a default ANSII or no cursor positioning at all.
That would be mess for other "full screen" programs.
ESX has limited tools, but there are some text-gui/curses config operations, or maybe my memory is rusty.

On Sunday, March 8, 2020 at 9:59:14 AM UTC-7, Clay Goss wrote:
Chris,

This works!  

Reply all
Reply to author
Forward
0 new messages