Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: cortman on June 23, 2012, 10:53:41 PM

Title: [SOLVED] Unable to run gnu screen
Post by: cortman on June 23, 2012, 10:53:41 PM
I'm running TinyCore CLI only (latest release) on an old Toshiba Satellite (details available here- www.toshiba-europe.com/computers/products/notebooks/satellitepro460cdt/product.shtm (http://www.toshiba-europe.com/computers/products/notebooks/satellitepro460cdt/product.shtm)), I would like to run GNU screen in the framebuffer and to that end added all screen files from the repository to /mnt/sda1/tce/optional, as well as ncurses and ncurses-common, dependencies. I then load the extensions with

Code: [Select]
tce-load ncurses
tce-load screen

Both load fine. But when I type "screen" I get an error message saying "Cannot open your terminal '/dev/tty1' - please check".
Investigating further, it appears that I can't switch tty's with alt+F# either.
How can i get this functionality?

Thanks!
Title: Re: Unable to run gnu screen
Post by: tinypoodle on June 24, 2012, 02:17:01 AM
Until you get a more competent answer...
IIRC, there is a bootcode... multivt??

As a quick hack here is what I would use:
Code: [Select]
sudo openvt <vtnum> su - tc
Not sure how apropriate this is though...
Title: Re: Unable to run gnu screen
Post by: solorin on June 24, 2012, 02:33:07 AM
AFAIK, the devs have configured Core without virtual terminals.
tinypoodle's bootcode suggestion might give you them back, but i dunno either. 

I haven't touch screen in a while but i do know that tmux should work pretty well out of the box.
(you do need to set the terminal type in a tmux.conf file to allay some error msgs).  there is also a slightly buggy splitvt extension in the repo.
Title: Re: Unable to run gnu screen
Post by: curaga on June 24, 2012, 05:11:22 AM
Yep, the default is only one VT to save RAM, with the multivt bootcode you get six. No idea about screen.
Title: Re: Unable to run gnu screen
Post by: cortman on July 10, 2012, 04:41:56 PM
Thanks all; I'll give this a try.
Title: Re: Unable to run gnu screen
Post by: netnomad on July 11, 2012, 05:38:41 AM
hi friends,

i can confirm that screen works flawless in my configuration.
by the way i use it with the mulitvt-bootcode and some loaded tcz-packages in a grafical-environment.
in my configuration screen is loaded without any message, so it could happen that the running screen is not noticed.

if you have still problems then there could be a dependency problem and the dep-file of screen needs some enhancements.
Title: Re: Unable to run gnu screen
Post by: cortman on July 12, 2012, 01:27:17 PM
Adding multivt solved the multiple tty issue. I'll load screen and ncurses and see where that takes me. Thanks!
Title: Re: Unable to run gnu screen
Post by: cortman on July 12, 2012, 02:00:56 PM
Loaded the extensions into /tce/optional and screen works great. Thanks for all who contributed, especially to tinypoodle.