maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   GNU Screen: No more ptys? (https://talk.maemo.org/showthread.php?t=14484)

jibanes 2008-01-06 00:59

GNU Screen: No more ptys?
 
Hello,

When I compile GNU screen-4.0.2 for my N810, it creates the armel binary just fine, but I have only one pty, when I try to create a new screen (ctrl-a c) it displays "No more ptys", I'm guessing the # of ptys is hardcoded somewhere, or there's an OS2008 trick I'm not aware of, have any of you successfully used screen on your OS2008 device?

Please note that attaching and detaching a screen session works just fine, I just can't have more than one pty which is really not great.

jibanes 2008-01-06 01:45

Re: GNU Screen: No more ptys?
 
Okay I found why, there's a kernel tunable on OS2008 as such:

kernel.pty.max = 4

So I bump'd it to 256 and we're in business again!
Thread closed, problem solved.

dblank 2008-01-06 02:12

Re: GNU Screen: No more ptys?
 
Quote:

Originally Posted by jibanes (Post 121643)
Okay I found why, there's a kernel tunable on OS2008 as such:

kernel.pty.max = 4

So I bump'd it to 256 and we're in business again!
Thread closed, problem solved.

I think you can just "echo num > /proc/sys/kernel/pty/max" as well.

The latest OS2008 bumps it to 16.

jibanes 2008-01-06 03:52

Re: GNU Screen: No more ptys?
 
Yes, that's right RX-44_2008SE_2.2007.50-2_PR_COMBINED_MR0_ARM.bin sets it by default to 16, which is probably enough for a low-end workstation/pda. I'm glad I have screen on this thing working, that's for sure.

Also, glad to see that the latest rev is on 2.6.21.


Jerome

www.rzr.online.fr 2009-09-15 19:16

Re: GNU Screen: No more ptys?
 
is screen packaged so far ?
http://talk.maemo.org/showthread.php?t=4768

regards
--
http://rzr.online.fr/q/maemo


All times are GMT. The time now is 00:59.

vBulletin® Version 3.8.8