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


bug #51099: screenrc commands fail to execute

Submitter:  None
Submitted:  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
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


  Spam posted by violab
  Spam posted by 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)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    No changes have been made to this item

    Back to the top

    Powered by Savane 3.9