bugGNU Screen - Bugs: bug #64378, screen manpage has misleading bash...

 
 

bug #64378: screen manpage has misleading bash example

Submitter:  None
Submitted:  Mon 03 Jul 2023 06:40:44 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  4.9.0
Fixed Release:  4.9.1 Planned Release:  4.9.1
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 11 Aug 2023 10:26:23 PM UTC, comment #2: 
Alexander Naumov <anaumov>
Group administrator
Tue 01 Aug 2023 05:58:17 PM UTC, comment #1: 

I would also like to note that the same issue is present in the info page, in node "6.4 Shell"

Sebastian Carlos <sebastiancarlos>
Mon 03 Jul 2023 06:40:44 PM UTC, original submission:  

Bug fixed in Ubuntu, discussion at
https://bugs.launchpad.net/ubuntu/+source/screen/+bug/1986839
where they asked me to submit the bug upstream.  Patch is included there as well; savannah will not let me attach diff here.

Quoted from that linked page:

The screen(1) page in version 4.09.00 describes the 'shell' command/option ending with

   [...] If the command begins with a '-' character, the shell
   will be started as a login-shell. Typical shells do only
   minimal initialization when not started as a login-shell.
   E.g. Bash will not read your ~/.bashrc unless it is a login-shell.

This is incorrect and misleading. According to the bash(1) page, it only looks for ~/.bash_profile (and similar files) for a login shell, but looks for ~/.bashrc when "an interactive shell that is not a login shell is started".

Obviously minor priority, but should be trivial to fix since it's just an example filename.



Anonymous

 

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

Attach Files:
   
   
Comment:
   

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 anaumov (Posted a comment)
  • -email is unavailable- added by sebastiancarlos (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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-08-18 anaumov StatusReady For Test Fixed
        Fixed ReleaseNone 4.9.1
    2023-08-11 anaumov StatusNone Ready For Test
        Open/ClosedOpen Closed
        Planned ReleaseNone 4.9.1

    Back to the top

    Powered by Savane 3.13-04b1.
    Corresponding source code