bugGNU nano - Bugs: bug #51207, when reading from stdin *and*...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #51207: when reading from stdin *and* opening a file, that file is shown first

Submitter:  Benno Schulenberg <bens>
Submitted:  Thu 08 Jun 2017 09:07:57 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 18 Jun 2017 09:42:46 AM UTC, comment #1: 

Fixed in git, 8dffb00f.

This also changes the "wrong" order of warnings.  When doing for example 'src/nano /etc/fstab /etc/passwd', nano used to warn first about /etc/passwd being unwritable and then about /etc/fstab.  When using "set nopauses", this is kind of nice, but when not (which is the default), this is strange.

Benno Schulenberg <bens>
Group administrator
Thu 08 Jun 2017 09:07:57 AM UTC, original submission:  

To reproduce, run 'src/nano  -  NEWS' and type some characters, then type ^D ^D, and see how it shows the buffer that contains NEWS instead of the buffer containing the characters we just typed.

Expected behavior: nano should always start with showing the buffer that was mentioned first on the command line, in this case: the stuff that came from standard input.

Benno Schulenberg <bens>
Group administrator

 

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

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 bens (Submitted the item)
  •  

    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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-06-26 bens Open/ClosedOpen Closed
    2017-06-18 bens StatusIn Progress Fixed
    2017-06-11 bens StatusNone In Progress
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code