-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28 Apr 2008 at 1:26, Denys Vlasenko wrote:

From:                   Denys Vlasenko <[EMAIL PROTECTED]>
To:                     [email protected]
Subject:                Re: Operation of more command
Date sent:              Mon, 28 Apr 2008 01:26:09 +0200
Copies to:              "Michael D. Setzer II" <[EMAIL PROTECTED]>

> On Monday 28 April 2008 00:48, Michael D. Setzer II wrote:
> > > > It does work fine when using it on a Fedora system with busybox, but
> > > > doesn't work when booted from the kernel.org kernel and using the 
> > > > /dev/tty1,
> > > > but then same thing happens when I copy the Fedora8 more command to
> > > > the cd. I just don't know why?
> > >
> > > Me neither. Let's find out. Run:
> > >
> > > cat scriptfile | strace -o strace.log more
> > >
> > > and post strace.log to the mailing list.
> > 
> > Not sure what all the stuff means, but perhaps it shows something I need to 
> > add to the
> > ramdrive.gz image file.
> > 
> > I created a test file with just 1 - 0 a number of times with one per line.
> > 
> > testmore.log
> 
> Bingo!
> 
> > open("/dev/tty", O_RDONLY|O_LARGEFILE)  = -1 ENOENT (No such file or 
> > directory)
> 
> You don't have correct /dev/tty. mknod it.

That seems to do it.
Just mknod tty c 5 0 in the /dev directory, and then it work.
The image has tty0 thru tty6, and the process uses tty1 thru tty4 
in the inittab. That is how it was when I took over the project, and had no 
info 
on the setup, and had to figure out how to build new kernels. 
But question is? If using /dev/tty1 as the current terminal, why would /dev/tty 
make a difference? 

Have updated the build system, and will make the addition in the next build.

Thanks again.


> --
> vda


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:[EMAIL PROTECTED]                            
  mailto:[EMAIL PROTECTED]
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

[EMAIL PROTECTED] CREDITS
SETI 5,269,727.070797 | EINSTEIN 1,573,038.609732 | ROSETTA 
480,077.992597


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8 -- QDPGP 2.61c
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBSBSu/izGQcr/2AKZEQK0nwCeK7NPz8MEs/PyBBG1O5aAnDBLRHIAnRBY
e0wvPQwHdvl+BOD4RTwQLLiI
=5p43
-----END PGP SIGNATURE-----
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to