[BusyBox 0003704]: more doesn't work due to /dev/tty

bugs at busybox.net bugs at busybox.net
Sun Jun 22 16:21:01 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=3704 
====================================================================== 
Reported By:                evanl
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   3704
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             06-13-2008 00:55 PDT
Last Modified:              06-22-2008 09:21 PDT
====================================================================== 
Summary:                    more doesn't work due to /dev/tty
Description: 
I am using busybox 1.6.1. 

On some embeded system, there might be no /dev/tty. But more applet must
open /dev/tty, otherwise it just does a "cat". Why don't just let more to
getc() from stdin? That's will make more works everywhere.

====================================================================== 

---------------------------------------------------------------------- 
 vda - 06-13-08 03:04  
---------------------------------------------------------------------- 
Because of "cmd | more" case.

getc() from stdin will eat cmd's input, NOT your keyboard input. Imagine
how it will work in this case... 

---------------------------------------------------------------------- 
 vda - 06-22-08 09:21  
---------------------------------------------------------------------- 
I think current behavior is ok. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-13-08 00:55  evanl          New Issue                                    
06-13-08 00:55  evanl          Status                   new => assigned     
06-13-08 00:55  evanl          Assigned To               => BusyBox         
06-13-08 03:04  vda            Note Added: 0008174                          
06-22-08 09:21  vda            Status                   assigned => closed  
06-22-08 09:21  vda            Note Added: 0008444                          
======================================================================




More information about the busybox-cvs mailing list