Custom Terminal Emulator for SSH Sessions

Custom Terminal Emulator for SSH Sessions

2 votes

avatar

Hello,


Not sure if anyone has suggested this yet or not (I couldn't find any threads mentioning it) but I think it would be really cool if we could be able to customize the terminal emulator used by the SSH functionality in RDM. Currently it appears it uses PuTTY (or something based on PuTTY), which is OK, and I know there are some settings (similar to those available in PuTTY) that we can use to customize behavior. But I use CYGWIN all the time which uses MinTTY - I much prefer that emulator for various reasons. Is there any chance we could add support for a custom terminal emulator (or just add the MinTTY emulator as a choice we could choose in the settings)?


Thanks in advance for the consideration, and Happy New Year!


Best regards.

David Willis

avatar

Recommended Answer

Hello,


Just wanted to follow back up here, as I believe I found the root cause and solution for this. The TLDR is to make sure your terminal "bold mode" setting in RDM is set "change font and color" and then make sure your "background" setting in vim is set "dark". For more details on how I came to this conclusion, read on...


So PuTTY (and RDM's emulator as well it seems) have a "bold mode" setting that determines what changes they apply to bold text - it can be either "change font", "change color" or "change font and color":


This setting can be configured at the SSH entry level or in the local RDM settings, or you can even change it on a per-session basis via the font and color toolbar buttons while connected to an SSH session.


Something I did not know until today is there is a "bold" variant for each color which contains a different shade of that color (we can see this in the color palette settings) - if the "bold mode" setting is set to either "change color" or "change font and color", then it will use these "bold shades" instead of the regular colors for bolded text. Thinking about this and the symptoms I had been seeing, I realized the issue was due to the bold text not being properly applied.


So changing the "bold mode" setting noted above to "change font and color" worked to fix the issue in the basic terminal.


However text was still dim in vim - after some poking around I realized the "background" setting in vim was set to "light" instead of "dark" for some reason; once I changed it to "dark" then the bold text was properly applied. To do this permanently I added a line to my .vimrc on the server:


set background=dark


Hopefully this could help someone else trying to solve the same problem.


Best regards,

David Willis

All Comments (8)

avatar

Hi,


This is something we could look into. I would like to know about some of the reasons you like MinTTY, in order to understand what kind of behaviour customization you are looking for.


And for information, we used putty as the base for our terminal in the past, but we moved away from it years ago. We did keep the settings to look like the settings of putty because our users were already accustomed to it. And it is still a reference used by many users for features and bugs.


Regards

Denis Vincent