|
#1
|
||||
|
||||
Clipboard type used during the paste should be TEXT
SecureCRT 5.1.0 build 207
![]() I'm working all day long on Unix machines using SecureCRT. On the other hand, I'm working as well with MS Office. Unfortunately when one will write a doc or a procedure (or even a single mail in Outlook), MS Word will do "autocorrect" stuffs on the text as you type. For example if you type "ls -lrt", MS Word will translate it to "Ls -lrt" where the dash (ascii 0x2D) has been replaced by a stupid longer dash (ascii 0x96). See the attached example.txt. Open it in an editor and then switch to hexa view. If you copy this text (including the 0x96 character) and paste it on securecrt, the character is sent as-is while I would like to have the 0x20 char sent. You might tell me that the problem is on the MS Word side and that I should disable the "autocorrect" option. Well. Most of the documents used are not mine and it will be difficult to change the settings in a 5000 engineer group. ![]() I had a look at the windows clipboard API and found that several versions of the clip are saved. (http://www.codeproject.com/clipboard...clipboard1.asp) What would do the trick is to have an option to use the CF_TEXT version of the clipboard during the paste instead of CF_UNICODETEXT. Code:
HANDLE hClipboardData = GetClipboardData(CF_TEXT); Please please please please please please please please please please Thank, Pierre. Links of interrest: http://www.codeproject.com/clipboard....asp?msg=26830 |
#2
|
|||
|
|||
Quote:
If we made this an option, would it be acceptable for this to be a global option? --Jeff |
#3
|
||||
|
||||
For me a global option is even better.
This has always been like this and I'm a user of secureCRT for about 2 years now - I'm not sure that this behaviour is caused by your implementation of unicode. I can make several trials if you wan't me to. Best regards, Pierre. |
#4
|
||||
|
||||
We've entered a request for the option to specify the clipboard text format. If we implement it and you would like to be notified by e-mail, please send e-mail to support@vandyke.com and reference thread 1223.
__________________
Mike VanDyke Software Technical Support [http://www.vandyke.com/support] Last edited by miked; 01-24-2006 at 12:40 PM. |
#5
|
||||
|
||||
![]()
Thanks,
I made some further testing (with the clipboard.exe found in the system32 directory) and if the TEXT version of the clipboard was sent, this would be fine for me. I can be your beta tester any time. Pierre. |
#6
|
||||
|
||||
We've updated the feature request with the information you provided above.
Thanks for your willingness to beta test! ![]()
__________________
Mike VanDyke Software Technical Support [http://www.vandyke.com/support] |
![]() |
Thread Tools | |
Display Modes | |
|
|