Re: screen session remember

2024-03-13 Thread Anton Sharonov
On Wed, Mar 13, 2024 at 03:26:56PM -0700, Neal Fultz wrote: > I would probably tackle this on the shell side rather than in .screenrc. > > For example, in ~/.bashrc, on startup, we can check what the number of the > screen is. And use PROMPT_COMMAND to update to the most recent eg using > sed. >

Re: screen session remember

2024-03-13 Thread Neal Fultz
I would probably tackle this on the shell side rather than in .screenrc. For example, in ~/.bashrc, on startup, we can check what the number of the screen is. And use PROMPT_COMMAND to update to the most recent eg using sed. # Screen only if [ -n "$STY" ] ; then d1=/home/nfultz/projects

Re: screen session remember

2024-03-13 Thread Anton Sharonov
On Wed, Mar 13, 2024 at 08:46:30PM +0100, aotto wrote: > I have a “screen session” with 10 screens and after > rebooting I want each screen (0-9) to start in the same > directory in which it was closed. Maybe not exactly what you are asking for, but you can hardcode your shells to curtain path on

Re: screen session remember

2024-03-13 Thread aotto
Thanks for the answer - this hint I already use. → but I would like to have a "replacement" which is always "up-to-time" On 13.03.24 22:01, Anton Sharonov wrote: On Wed, Mar 13, 2024 at 08:46:30PM +0100, aotto wrote: I have a “screen session” with 10 screens and after rebooting I want each scr

screen session remember

2024-03-13 Thread aotto
a simple question → I have a “screen session” with 10 screens and after rebooting I want each screen (0-9) to start in the same directory in which it was closed. mfg

screen session remember

2024-03-13 Thread aotto
hi, thank you for providing the "screen" software. My simple question → I have a “screen session” with 10 screens and after rebooting I want each screen (0-9) to start in the same directory in which it was closed. → all directories are local and in my HOME directory → there is no "change-us