bugGNU Screen - Bugs: bug #51099, screenrc commands fail to execute


bug #51099: screenrc commands fail to execute

Submitted by:  None
Submitted on:  Tue 23 May 2017 06:28:15 PM UTC  
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.5.0
Fixed Release:  None Planned Release:  None
Work Required:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


  Spam posted by violab
(Why is this post is considered to be spam? Users may have reported it to be spam or, if it has been recently posted, it may just be waiting for spamchecks to be run.)
Spam content:

Thanks, I didn't know about stuff. Contrary to chdir it works out of the box in order to start a number of screen windows in different directories from my screen configuration file.
-X- <violab>
Tue 23 May 2017 07:32:38 PM UTC, comment #2: 

This appears to happen because screen does not create a window until AFTER the rc file has been processed. This is an issue because the user has no way of knowing that all the commands have been ignored.

Screen needs to warn users that commands are being thrown out when there are no windows to act on.

Doug <dopollan>
Tue 23 May 2017 07:01:43 PM UTC, comment #1: 

I checked the debug output and screen interprets the command from the rc file but does nothing with it. When the user types in a command, manually, then it actually runs the command.


-- Reading from RC file --

FindUserPtr guest found, id 1
UserAcl: user 'guest', no password:AclSetPerm(uu, user 'guest', mode '-w', object '#?')

-- Reading from session --

FindUserPtr guest found, id 1
UserAcl: user 'guest', no password:AclSetPerm(uu, user 'guest', mode '-w', object '#?')
AclSetPermWin guest -w 0

Doug <dopollan>
Tue 23 May 2017 06:28:15 PM UTC, original submission:  

Using a "screenrc" file (via -c option or the default) does not execute commands as expected.

acladd user
aclchg user -w "#?"

This will add the user but the second command does nothing.

"writelock on" is also ignored.

If these commands are entered manually, screen behaves as expected.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by violab (Posted a comment)
  • -email is unavailable- added by dopollan (Posted a comment)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.6