WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Unable to run gnu screen  (Read 3143 times)

Offline cortman

  • Newbie
  • *
  • Posts: 36
[SOLVED] Unable to run gnu screen
« on: June 23, 2012, 07: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), 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!
« Last Edit: July 12, 2012, 11:14:19 AM by cortman »
Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my referral link: https://copy.com?r=IlpMD4 :)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Unable to run gnu screen
« Reply #1 on: June 23, 2012, 11:17:01 PM »
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...
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline solorin

  • Full Member
  • ***
  • Posts: 184
Re: Unable to run gnu screen
« Reply #2 on: June 23, 2012, 11:33:07 PM »
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.
« Last Edit: June 23, 2012, 11:39:54 PM by solorin »
. . . if you don't know, now you know. . .
        ----- R.I.P. Biggie Smalls -----

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Unable to run gnu screen
« Reply #3 on: June 24, 2012, 02:11:22 AM »
Yep, the default is only one VT to save RAM, with the multivt bootcode you get six. No idea about screen.
The only barriers that can stop you are the ones you create yourself.

Offline cortman

  • Newbie
  • *
  • Posts: 36
Re: Unable to run gnu screen
« Reply #4 on: July 10, 2012, 01:41:56 PM »
Thanks all; I'll give this a try.
Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my referral link: https://copy.com?r=IlpMD4 :)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Unable to run gnu screen
« Reply #5 on: July 11, 2012, 02: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.
« Last Edit: July 11, 2012, 02:41:26 AM by netnomad »

Offline cortman

  • Newbie
  • *
  • Posts: 36
Re: Unable to run gnu screen
« Reply #6 on: July 12, 2012, 10:27:17 AM »
Adding multivt solved the multiple tty issue. I'll load screen and ncurses and see where that takes me. Thanks!
Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my referral link: https://copy.com?r=IlpMD4 :)

Offline cortman

  • Newbie
  • *
  • Posts: 36
Re: Unable to run gnu screen
« Reply #7 on: July 12, 2012, 11:00:56 AM »
Loaded the extensions into /tce/optional and screen works great. Thanks for all who contributed, especially to tinypoodle.
Copy.com offers 15 GB free cloud storage plus 5 GB extra for both of us when you use my referral link: https://copy.com?r=IlpMD4 :)