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 LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 4.5.0
Fixed Release: NonePlanned 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.

 

Tue 31 Oct 2017 11:49:39 AM UTC, comment #3:

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.
http://geek-nose.com

Viola <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.

DEBUG OUTPUT:

-- 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.

example:
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.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1