Problem with multibyte characters in status line

2016-11-22 Thread Brian Patrie
Screen version 4.01.00devel (GNU) 2-May-06, under Linux Mint 17.3 Screen version 4.04.00 (GNU) 19-Jun-16, under ArchLinux LANG=en_US.UTF-8 SYSSCREENRC='' hardstatus string "%{= KW}%n %h%{w}%<%= %-w%{ck}%n %t%?(%u)%?%{-}%+w %{c}%H %d %D %c'%s" Multibyte characters appear correctly in windows; b

Re: Sending Command Pipeline to a detached Screen

2016-11-22 Thread Neal Fultz
*screen -d -m -S Screen-Name* *screen -S Screen-Name -p 0 -X stuff "Command1; Command2 | Command3 && Command4"$(echo -ne '\015')* This first creates a screen session running a shell, most likely bash. Second, it sends some commands to the terminal input using stuff. In this case, you could append

Re: Sending Command Pipeline to a detached Screen

2016-11-22 Thread aws backup
Ok I figured out the correct syntax. screen -d -m -S Screen-Name; screen -S Screen-Name -p 0 -X stuff "Command1; Command2 | Command3 && Command4"$(echo -ne '\015') $(echo -ne '\015') starts the command pipe in the screen session. But now the screen is not terminating anymore after the command