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

 
 

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

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

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.

 

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

    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):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 Jun 2017 08:38:43 AM UTCbensOpen/ClosedOpen=>Closed
    Sun 18 Jun 2017 09:42:46 AM UTCbensStatusIn Progress=>Fixed
    Sun 11 Jun 2017 06:02:41 PM UTCbensStatusNone=>In Progress
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1