Re: How can I preserve TMPDIR environment in screen?

2017-07-16 Thread Jean Louis
TMPDIR or have a wrapper script > that does this. > > Jean Louis writes: > > Hello, > > > > I am using screen in following peculiar manner, down below. > > > > And I am trying to test it to change the TMPDIR variable. > > > > $ env SOMETHING=

How can I preserve TMPDIR environment in screen?

2017-07-16 Thread Jean Louis
"TMPDIR") it is nil. But SOMETHING is "OK". Can I understand why is screen deleting my TMPDIR? I need it. Jean Louis #!/bin/execlineb -P if { s6-test -d /home/data1/protected/Work } s6-setuidgid admin backtick -n HOME { homeof admin } backtick -n PATH { echo "/home/da

Re: How to programmatically open new screen window?

2016-12-23 Thread Jean Louis
On Fri, Dec 23, 2016 at 08:42:46AM -0800, Neal Fultz wrote: > > Some screen commands can send their output to stdout, others don't, but > > there are ways to fake it. This will give you the session name for the > > current screen session: > > > > > > -- snippet -- > > # get the sessionname for our

How to programmatically open new screen window?

2016-12-23 Thread Jean Louis
Hello, Is there an option or possibility to programmatically open a new screen window? In particular, that program in one window, may find out its instance of screen and then to open new screen window with some other program running and switch focus to it? Jean _