Installing Gnu Screen on your Western Digital Mybook World Edition
Submitted by tcblack on Wed, 09/26/2007 - 12:52pm
There is a comment on Nanalegumene's site which says screen wouldn't work on the mybook so we should use dtach. I found dtach to be inadequate for my needs. So I decided to hack out a way to make it work.
About Screen
- The Man Page: http://man.linuxquestions.org/?query=screen§ion=0&type=2
- Gnu page: http://www.gnu.org/software/screen/
- Savanah Page: https://savannah.gnu.org/projects/screen/
How To
Having gotten it working here's what I did (as root).
mkdir /tmp/myfiles# Create a directory under /tmp called 'myfiles'cd /tmp/myfiles# Change to the directory in order to work therewget ftp://ftp.gnu.org/pub/gnu/screen/screen-4.0.2.tar.gz# grab the filetar -xvf screen-4.0.2.tar.gz# unpack the filecd /tmp/myfiles/screen-4.0.2# change into the directory../configure# If you fail to include the "without" statement Time: 1m44.111snano pty.c#now you have to edit the pty.c file using your favorite editor. You might have to usevi pty.cif you haven't installed nano. on line 38 it reads # include You have to comment that out by surrounding it with slash star as in: /* # include */. The reason being the make will fail because stropts.h is not included in your /sys directory. By examining the 38th line of pty.c we find that stropts.h is called when HAVE_SVR4_PTYS exists. I don't know how to counteract that another way besides removing that include. (source)make# Time about 7 Minutesmake installinstall -m 644 etc/etcscreenrc /etc/screenrc#you might want to edit /etc/screenrc with your favorite editor.cp ./screen /bin# I'm not sure why make install didn't install screen somewhere on the path. But running locate didn't find it anywhere but the source directory.
That's it. You now have a functioning terminal multiplexor with all the trimmings.
If you want to skip all this you can download the executable screen and the screenrc file here.
Hat tip to BLFS
Related Content:
You might also be interested in these articles
- tcblack's blog

- Login or register to post comments
Send to friend
User login
Recent comments
- Of course
1 day 22 hours ago - Hi,
I have the same question.
4 days 6 min ago - I was wondering if you could
4 days 9 hours ago - I could use some help...
I
4 days 4 min ago - Hmm. I'm not really sure. I
1 week 4 days ago - The beta testers, we've all
3 weeks 3 days ago - Thank you soooo much
4 weeks 1 day ago - I went searching in L4
Found
4 weeks 1 day ago - Yes, it surprised me too...
4 weeks 2 days ago - The Daily Bible Study Series
4 weeks 4 days ago
Related Content
You might also be interested in these articles:


Comments
Can you disable compiling HAVE_SVR4_PTYS withthe ./configure --disable-HAVE_SVR4_PTYS ??
I am wondering..
Cheers..
All you can do is try.
I compiled it as shown above and that did the trick for me. I'm happy with it as it appears to be working just fine.
Thanks, your trick works fine on my MyBookWorld as well.
I installed the latest version (4.0.3) you can download here though, just because I like to have the latest version :)
With 4.0.3 you have to comment out the same line in pty.c
"If you want to skip all this you can download the executable screen and the screenrc file here."
Is there a link missing ?
I used optware to install screen, but I would like to get a good .screenrc file
and what is wuff wuff all about ?
thanks for your work on this.
Sorry about that lost link it should be on the post now.
I have no clue what you mean by wuff wuff care to enlighten me?
Feel free to read and delete the README.txt
Put screenrc under /etc and put screen under /bin for a default install.
never mind on the wuff wuff, I modified it ages ago.
The default bell message sent to the screen is wuff wuff. Yes it's stupid.
change it with vbell_msg [message]
You can learn lots of things by googling: man screen