screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #63479] -dm option ignores the layout of screenrc.


From: Constantin Hong
Subject: [screen-devel] [bug #63479] -dm option ignores the layout of screenrc.
Date: Tue, 6 Dec 2022 14:01:47 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63479>

                 Summary: -dm option ignores the layout of screenrc.
                 Project: GNU Screen
               Submitter: codesupernova
               Submitted: Tue 06 Dec 2022 07:01:45 PM UTC
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: 4.9.0
         Discussion Lock: Any
           Fixed Release: None
         Planned Release: None
           Work Required: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 06 Dec 2022 07:01:45 PM UTC By: Constantin Hong <codesupernova>
To backup my macOS machine, I use a screenrc which a layout and I set 

/usr/local/bin/screen -dm -c
/Users/username/my_script/GNUscreen/backup.screenrc

 in a crontab.

After waking up, I open the detached screen for peace of mind. Every task
works great except for the predefined screen layout. The *-dm* option doesn't
keep the layout. Without a crontab, the bug still exists. (But in this case,
*detach* option in the rc file fixes if screen starts without *-dm* option).
Also this bug exists in bash of Rocky OS 9.

This is an example *backup.screenrc* to reproduce the error.


layout save default

zombie kr
verbose on

shell zsh
sessionname backup

screen -t macOS 1 
screen -t backup 2 
screen -t NOTE 3
screen -t VIT 4 
select NOTE
split 
focus down
select macOS 
split
focus down
select backup
focus up
split 
focus down
select VIT


The command I used.


 screen -dm -c backup.screenrc









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63479>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]