Start a new topic
Implemented

Coloring of syntax in SSH sessions

Dear,


it would be very helpfull if you could make it so that certain words in SSH session get a color.

It would also be nice if you could choose those words and colors freely or use a template such as 'Cisco network devices' or 'Linux distributions'.


Your competitors such as MobaXterm and Devolutions already have this possibility.


Thanks and keep up the good work!


5 people like this idea

that's great Adam!

Thank you very much, it's been a long time since I learned and used RegEx.

 

This isn't working in my RTS:

(¨( *)?no | down |[^A-Za-z0-9](disabl(\w*)|fault|shutdown|disconnected|err(\w*)|ERR(\w*)|fail(\w*)|denied|not permitted|disallowed|not allowed|refused|problem|not permitted|notconnect)[^A-Za-z0-9])

 I'm not using the latest version though, could that be an issue?

Could be? I'm using 5.0.11009 and it is working for me. Is there a specific word that isn't working?

I'm happy to report that Royal TS 5.0 has been released and includes this feature.

For more information about the major new features of Royal TS 5.0, please head over to our https://www.royalapplications.com/ts/win/features-upgrade

"It will catch "err", "error" but will also catch "overruns" because it has "err" in it. So it will catch anything with "err" anywhere in the word."


As |^err(\w*) is not working - you can add space before err and then it will not highlight overruns ie.

(?i)disable(\w*)|fail(\w*)| err(\w*)

try add \b before word: \b(?i)disable(\w*)|\bfail(\w*)|\berr(\w*)


image


you are looking for:

image


hope this help ;)

Filip

Since I came to RoyalTS from using Mobaxterm, I was spoiled by its syntax highlighting of words that were built-in. Does anyone have a similar regex and is willing to share, to apply this to RoyalTS?


1 person likes this

I regularly import a new site with 40+ telnet or SSH sessions via a spreadsheet, is there a simple way to apply syntax highlighting on all these new connections?  At present it looks like I have to go add the regex, then select the colours. Can be done in Bulk edit, but its still laborious. 


Hi James,


check out the bulk-edit KB here:

https://support.royalapps.com/support/solutions/articles/17000027858-bulk-edit-and-the-folder-dashboard-win-


I hope this helps.


Regards,
Stefan

Hi James, try to use sikulix.com It can automate any clicking ;-) Filip

one more thing: I expect you can change the default setting for your connection so all new connections will have your requirements. hope this help

@James Julier : The best solution is to use the overrides. This will apply to all connexions. 


@Branko Zavrl : i'm looking for the same thing

Login or Signup to post a comment