[Updated] Question related to GNU Screen questions : programmers cite in Readbuf and GNU Screen: files for numbered buffers? . Since they are not resolved, the question asks a more general concept of environment variables. I am convinced that they are the key to improving screen performance.
1. How to use Bash variables on the screen, for example:
$ export path=`pwd` $ ^a :readbuf `echo $path`/debugging_code.php
2. How can I reuse screen buffers, for example:
$ ^a :readreg a `echo $path` $ ^a :readbuf $a/debugging_code.php $ ^a ]
3. How can I use Screen buffers, such as environment variables?
, . :
$ screen -X setenv a "$PWD/debugging_code.php"
:
C-a :readbuf $a
4.0.3, :
^A :readbuf !shell-command
. , popen , bufferfile ( ), , , . , , , , , , .
popen
bufferfile
^A :readbuf !cat $HOME/projects/foobar/file.txt
, .
gnu-screen-readbuf-exec Github Git, .
Source: https://habr.com/ru/post/1715810/More articles:stable match - algorithmJava Stringparsing с Regexp - javaGNU screen: `` quote programmer '' in Readbuf? - gnu-screenData Warehouse Type Bit Data Bit - typesLua десятичный знак? - functionXSLT: complex conversions, sentences? - xmlHow to display custom asp.net compilation error message - asp.netStructureMap AlwaysUnique does not work with constructor injection - structuremaphttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1715815/gnu-screen-files-to-numbered-buffers&usg=ALkJrhj7pC7OBWnF70PfrpZqRPkYu-4pLQHow to let CAKeyframeAnimation pick up the current state when overriding another? - iphoneAll Articles