How to escape newline in quick command bar ? [3]

Deleted by poster

Tuesday, October 30, 2018 9:23 AM



Re: How to escape newline in quick command bar ?

Tuesday, November 6, 2018 7:42 AM - Support

There was an unintended change in Version 6's quick commands. This most likely happened when we changed the quick commands command box into a multi-line enabled box.

This issue has been reported to our dev team. Thanks for the report.

Currently, you can transmit the new line character as the '\012' ascii code like so:

cat /etc/passwd | awk -F ':' '{ printf "%-15s %-15s\0124n", $1,$NF }'

or

cat /etc/passwd | awk -F ':' '{ printf "%-15s %-15s%c4n", $1,$NF, "\012" }'

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog


Re: How to escape newline in quick command bar ?

Monday, December 31, 2018 8:33 PM - chenell

I look forward to a resolution with this. I use several "one-liners" on a daily basis and have run into a few other quirks with the text box change that weren't present in Xshell 5. Any update by chance?


Re: How to escape newline in quick command bar ?

Monday, January 7, 2019 4:39 PM - Support

Currently, only the \n character is not escaped and our devs are aware of this issue. As a temporary workaround, you can use "\\ \010n" for sending \n. \010 translates to backspace.

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog


Previous views: 173