#1
|
|||
|
|||
MAC Copy/Paste issue with Tab Character
Hi,
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 |
#2
|
|||
|
|||
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.
__________________
Thanks, --Cameron VanDyke Software Technical Support support@vandyke.com (505) 332-5730 Last edited by jdev; 06-16-2020 at 10:43 AM. |
![]() |
Tags |
copy , mac , paste |
Thread Tools | |
Display Modes | |
|
|