View Single Post
  #2  
Old 06-16-2020, 11:35 AM
cboyack cboyack is offline
VanDyke Technical Support
 
Join Date: Apr 2020
Location: Albuquerque, NM
Posts: 71
Quote:
Originally Posted by kamal View Post
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, ConvertSpacesToTabsOnCopy.py.txt, 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.
Attached Files
File Type: txt ConvertSpacesToTabsOnCopy.py.txt (1.9 KB, 178 views)
__________________
Thanks,
--Cameron

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by jdev; 06-16-2020 at 11:43 AM.
Reply With Quote