Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-09-2019, 12:04 PM
ZekeB ZekeB is offline
Registered User
 
Join Date: Jan 2019
Posts: 3
Question Keymap adding variables to Send String

Here's my use case: I'm doing a tail -f on a file and I have a mapping to send a string that hits return several times, draws a line of dashes, then a few more returns.

That works fine. What I'd really like is the ability to insert variables into the string such as the current time as I've mocked up below.


\n\n\n\n\n------------------{HH:MM:SS}---------------------------------\n\n\n

Is there a way to do this? The session is in tail, so doing a date +%H:%M:%S or something similar that would have to be processed on the server won't help.
Reply With Quote
 


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 06:18 PM.