Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Green Screen
  New Posts New Posts RSS Feed - Pasting ctrl characters
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedPasting ctrl characters

 Post Reply Post Reply
Author
Message
freds View Drop Down
Newbie
Newbie


Joined: December 05 2004
Location: New Zealand
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote freds Quote  Post ReplyReply Direct Link To This Post Topic: Pasting ctrl characters
    Posted: December 08 2004 at 9:16am
I am using AccuTerm 2k2.
When I paste a string from the clipboard into an emulator session the ctrl characters are ignored.

I need to paste some data which includes characters such 'enter' and 'F1'. I use Chr(13) and Chr(27) in the string to be pasted but these characters are ignored.
Is there a way to ensure the ctrl characters are not ignored when being pasted from the clipboard.
Fred
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: December 10 2004 at 6:31am
Hi Fred -

Unfortunately there is no way to use Paste to send control characters (other than CR/LF) to the host. This is by design. You can use a script to retrieve the clipboard contents and then send them to the host. This bypasses the control character filtering that occurs when using Paste. Here is a sample script that you could call from a function key, or you could create a new button for toolbar and add this script to the new button:

ActiveSession.Output Clipboard()


Thanks,

Pete
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.