Active Topics

 


Reply
Thread Tools
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; 2008-01-06 at 04:31.
 
www.rzr.online.fr's Avatar
Posts: 1,348 | Thanked: 1,863 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
__________________
Current obsession:

https://purl.org/rzr/abandonware

Please help to list all maemo existing apps :

https://github.com/abandonware/aband...ment-578143760

https://wiki.maemo.org/Apps#

I am looking for " 4 inch TFT LCD display screen " for Nokia n950 HandSet

http://rzr.online.fr/q/lcd


Also, I need online storage to archive files :

http://db.tt/gn5Qffd6#

https://my.pcloud.com/#page=register...e=g8ikZmcfEJy#
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:56.