bugGNU nano - Bugs: bug #59101, in the Debian installer, reading...

 
 

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

bug #59101: in the Debian installer, reading from standard input does not work

Submitter:  Benno Schulenberg <bens>
Submitted:  Sat 12 Sep 2020 09:23:28 AM UTC
   
 
Severity:  2 - Minor Status:  Wont Fix
Assigned to:  None Open/Closed:  Closed

Sat 12 Sep 2020 09:48:38 AM UTC, comment #1: 

The ability to read file data from stdin has been removed from the tiny version in commit f8834652.

Benno Schulenberg <bens>
Group administrator
Sat 12 Sep 2020 09:23:28 AM UTC, original submission:  

When in the shell (ash) of the Debian installer, doing something like:

cat /etc/* | nano -

results in an empty buffer, and this message on the status bar: "[ Failed to open stdin: No such file or directory ]".

At first I thought maybe ash didn't implement the pipe, but it results that /dev/stdin is simply missing.  After adding it manually (ln -s /proc/self/fd/0 /dev/stdin), the above command works fine.

I could ask Debian to add that symlink (and the ones for stdout and stderr) to their installer image, but... why does the tiny nano have the ability to read from stdin at all?  I doubt anyone uses this ability when using a tiny nano.  And if someone does, well, it is just a convenience feature: if it is absent, the user can pipe the stuff to an intermediate file and then open the file.  Removing the ability does not make anything impossible, just maybe slightly less convenient.  But the tiny nano is not about being convenient but about being as small as reasonably possible.

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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-08 bens Open/ClosedOpen Closed
    2020-09-12 bens Assigned tobens None
    2020-09-12 bens StatusNone Wont Fix

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code