The commands need absolute paths in slurping. So I need programmer-quotes, because of laziness to write long paths. How can I use them like:
^a :readbuf `pwd`/file
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your question seems to assume that it is possible to use backticks in this way. However,
screendoes not appear to support backticks in the:readbufcommand. It also does not support other shell conventions such as~for home directory, or$XYZfor environment variable expansions.When
screenreads the file named in the:readbufcommand, the file name is relative to the current directory wherescreenstarted, not the current directory of whatever is displayed in the active window. This might be why you found that absolute paths worked for you. Try using a filename relative to whatever directory you startedscreenfrom originally.Update: For additional work on this answer, see: GNU Screen: Environment variables