VanDyke Software Forums

VanDyke Software Forums (
-   SecureCRT on the Mac (
-   -   MAC Copy/Paste issue with Tab Character (

kamal 06-16-2020 06:22 AM

MAC Copy/Paste issue with Tab Character

While copying a python script from one terminal & pasting it to another, I noticed some issues as script was not working. I realized that copying is converting all TABs into SPACEs.

Is there a way to copy TAB as is in Securecrt for Mac?

Version 8.7.2 (build 2214)

Catalina 10.15.5

cboyack 06-16-2020 11:35 AM

1 Attachment(s)

Originally Posted by kamal (Post 53669)
Is there a way to copy TAB as is in Securecrt for Mac?

SecureCRT is a terminal emulator, and each TAB it displays on the screen is really only a set of white spaces, whether the space was originally encoded as a TAB or not.

SecureCRT currently has no built-in tool to convert white spaces to TAB characters when copying text.

I've added a feature request on your behalf so that the product director may be able to evaluate it for potential inclusion in some future release. I don't yet have any ETA for when or even if this might ever become available, but if it does we'll let you know.

In the meantime, here is a python script,, that should be able to perform the functionality you desire.

If you map the script to a button on your button bar, simply highlight the text/script you wish to copy/convert, run the conversion script by pressing the button you just created, and then paste the resulting converted text where you wish.

All times are GMT -6. The time now is 03:41 AM.