Reply
Thread Tools Search this Thread
Posts: 42 | Thanked: 4 times | Joined on Dec 2007
#1
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.
 
Posts: 42 | Thanked: 4 times | Joined on Dec 2007
#2
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.
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#3
Originally Posted by jibanes View Post
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.
 

The Following 2 Users Say Thank You to dblank For This Useful Post:
Posts: 42 | Thanked: 4 times | Joined on Dec 2007
#4
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

Last edited by jibanes; 01-06-2008 at 12:31 AM.
 
www.rzr.online.fr's Avatar
Posts: 724 | Thanked: 464 times | Joined on Jan 2009 @ fr/35/rennes
#5
is screen packaged so far ?
http://talk.maemo.org/showthread.php?t=4768

regards
--
http://rzr.online.fr/q/maemo
__________________
http://rzr.online.fr/q/please# Please support my #MeeGo #HarmattanDev #n9 / #n950club contribs :

http://store.ovi.com/content/269879/reviews# #Redak #Text #Editor in #Store for 1 EUR but free sources

http://rzr.online.fr/q/harmattan# Shared Repo over 700 projects ...
 
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 04:55 AM.