Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 09-28-2006, 02:23 PM
dan.d.jones dan.d.jones is offline
Registered User
 
Join Date: Apr 2006
Posts: 11
Paste from keymap

How do I include a command to paste whatevers in the clipboard in a keymap? I'd like to map Control-T to:

"telnet [PASTE] \n"

EDIT:
(Moderator, I read this forum as being SecureCRT rather than Secure Shell. Feel free to move the thread to the General forum as appropriate.)

Last edited by dan.d.jones; 09-28-2006 at 02:28 PM.
Reply With Quote
  #2  
Old 09-28-2006, 02:45 PM
tnygren's Avatar
tnygren tnygren is offline
Registered User
 
Join Date: May 2005
Posts: 1,408
Hi Dan.d.jones,

There is a method to send what is needed.

The help topic "Send String & Function Key Commands" describes several different escaped commands that can be used in a send string definition.

Quote:
Command
Action

\r
Sends a carriage return (CR)

\n
Sends a linefeed (LF)

\b
Sends a backspace

\e
Sends an escape

\t
Sends a tab

\v
Pastes the contents of the Clipboard to the active session A session is a set of options that are assigned to a connection to a remote machine. These settings and options are saved under a session name and allow the user to have different preferences for different hosts. window

\p
Pauses for one second
To achieve your goal, the following send string definition may be exactly what is needed:

telnet \v\n

Was this what was needed?
__________________
Thanks,

Teresa

Teresa Nygren

Last edited by tnygren; 09-28-2006 at 02:54 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 10:52 PM.