GNU/screen compiled for CS-407 & DS-107+

All discussions/development regarding the Marvell mv5281 Chip can be placed here.
Forum rules
Please note the disclaimer before modifying your Synology Product.

GNU/screen compiled for CS-407 & DS-107+

Postby m.aicardi » Wed Sep 05, 2007 5:22 pm

I think gnu/screen (normally just "screen" in the Linux world) is, after ssh and rsync, one of the most important programs for the Linux user.

The most interesting feature of screen is that you can create a session and then drop the communication with the cubestation (or detach with Ctrl-A then D); screen will detach and the session will continue to work in the background until you connect again and resume screen (with the "screen -ar" command).

I am proud that I've succeeded in compiling screen for the Marvell MV5281-based CS/DS products.

You can download the binary here.

Comments are welcome.

Here is the description of the screen package:

Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells. Each virtual terminal provides the functions of the DEC VT100 terminal and, in addition, several control functions from the ANSI X3.64 (ISO 6429) and ISO 2022 standards (e.g., insert/delete line and support for multiple character sets). There is a scrollback history buffer for each virtual terminal and a copy-and-paste mechanism that allows the user to move text regions between windows. When screen is called, it creates a single window with a shell in it (or the specified command) and then gets out of your way so that you can use the program as you normally would. Then, at any time, you can create new (full-screen) windows with other programs in them (including more shells), kill the current window, view a list of the active windows, turn output logging on and off, copy text between windows, view the scrollback history, switch between windows, etc. All windows run their programs completely independent of each other. Programs continue to run when their window is currently not visible and even when the whole screen session is detached from the users terminal.
User avatar
m.aicardi
Student
Student
 
Posts: 63
Joined: Tue May 29, 2007 2:37 pm

Postby ikeke » Wed Sep 05, 2007 6:43 pm

Great Work thanks a lot !!!
CS-407 | HD Model: 4x Samsung HD501LJ 500GB Raid5
DS-1010+ | HD Model: 3x Seagate LP 1.5 TB
http://www.nas-forum.com - Communauté Française des utilisateurs de NAS Synology
User avatar
ikeke
Seasoned
Seasoned
 
Posts: 564
Joined: Wed Oct 25, 2006 2:26 pm
Location: Lille - France

Postby remmelt » Tue Nov 06, 2007 12:52 pm

Thanks! Works perfectly.
remmelt
Trainee
Trainee
 
Posts: 12
Joined: Fri Sep 28, 2007 12:41 pm

Postby mio75 » Wed Dec 05, 2007 3:46 pm

Hi,

I'm getting this error on my 207+ when I SSH to it using putty:

---------------------------------------------------------------------------
BusyBox v1.1.0 (2007.11.01-13:20+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

DiskStation> screen
Cannot find terminfo entry for 'xterm'.
DiskStation>
---------------------------------------------------------------------------

Any ideas?

I've also tried using SecureCRT's VT100 terminal, then it's just a 'vt100' that's missing :(

Thanks,
M
mio75
Beginner
Beginner
 
Posts: 26
Joined: Tue Nov 20, 2007 5:56 pm

Postby bjorn » Wed Dec 05, 2007 4:09 pm

Code: Select all
DiskStation>  screen
sh: screen: Permission denied
DiskStation> chmod 755 screen
DiskStation> screen
Cannot find terminfo entry for 'xterm'.
DiskStation>


Strange...
User avatar
bjorn
Novice
Novice
 
Posts: 53
Joined: Wed Mar 28, 2007 12:32 pm
Location: The Netherlands

Postby remmelt » Mon Dec 10, 2007 11:46 pm

Try this:

TERM=vt102
screen

That should work.
remmelt
Trainee
Trainee
 
Posts: 12
Joined: Fri Sep 28, 2007 12:41 pm

Postby mio75 » Tue Dec 11, 2007 9:02 am

WORKS! THANKS! :)

(See this is one of these resons why windows is so much easier...not so many 'secret' needed commands :) )

...anyway, now all we need is amule

/M
mio75
Beginner
Beginner
 
Posts: 26
Joined: Tue Nov 20, 2007 5:56 pm

putty and screen

Postby AleksCee » Sun Dec 16, 2007 1:46 pm

by unsing putty a good workaround is:

add the line to /etc/profile:

alias screen="TERM=vt102 screen"

Alex
AleksCee
I'm New!
I'm New!
 
Posts: 9
Joined: Sun Dec 16, 2007 1:13 pm

Re: GNU/screen compiled for CS-407 & DS-107+

Postby helvstrom » Fri Sep 09, 2011 10:15 pm

I've tried to cross compile GNU Screen for DS409 (Marvell 6281), and got lots of errors from the original compilation scripts.

Can you share the scripts you used to compile it? I would really appreciate that.

Thanks.
helvstrom
I'm New!
I'm New!
 
Posts: 1
Joined: Fri Sep 09, 2011 10:07 pm


Return to Marvell mv5281 Development Room

Who is online

Users browsing this forum: No registered users and 2 guests