Re: [Dorset] GNU screen

2011-12-02 Thread Ralph Corderoy
Hi John,

> Yeah, I've used it for that, but a question came up at work the other
> day - can this be done between different user accounts?

Yes, screen(1) has a multiuser mode and access control lists.  See the
"multiuser" and "addacl" commands.  But it needs screen to be setuid
root in order to access the other user's named pipe under
/var/run/screen/S-$user, and it isn't on this Ubuntu.  Creating a
hard-link to user foo's pipe in the S-bar directory and opening up the
permissions doesn't work;  presumably screen vets the user when scanning
the directory.

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday 2011-12-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] GNU screen

2011-12-02 Thread John Carlyle-Clarke

On 02/12/11 16:09, Ralph Corderoy wrote:

Hi John,


You can also share a screen session from two places (screen -x).

This can be handy for two people to share the same terminal, e.g. one
watches what the other's doing.


Yeah, I've used it for that, but a question came up at work the other 
day - can this be done between different user accounts?


--
Next meeting:  Bournemouth, Tuesday 2011-12-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] GNU screen

2011-12-02 Thread Ralph Corderoy
Hi John,

> You can also share a screen session from two places (screen -x).

This can be handy for two people to share the same terminal, e.g. one
watches what the other's doing.

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday 2011-12-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] GNU screen

2011-12-02 Thread John Carlyle-Clarke

On 02/12/11 13:43, Tim Allen wrote:

Hi

I'm often discovering nifty utilities that I'm embarrassed not to have 
known about years ago. This week it's GNU screen:


http://www.gnu.org/s/screen/

Although I haven't really used it, you could also look at tmux which is 
a more modern utility that does much the same.  I think the main selling 
point of tmux is that it's much, much easier to configure.  screen is 
pretty gnarly, but then again byobu makes it cuddly enough that I've 
never felt the need.




Really useful console window manager, particularly useful for having 
multiple terminals open on a remote machine, especially as if you lose 
connection, you can reattach exactly where you left off. Or set a long 
process running at work, log out and reattach at home.


More info at

http://www.debian-administration.org/articles/34
http://www.kuro5hin.org/story/2004/3/9/16838/14935

I felt embarrassed when, having used screen for years, I discovered 
features I'd never known about.  For example, it can be a pretty 
passable serial terminal program.  You can also share a screen session 
from two places (screen -x).  You can fit the session to the active 
window with C-A F.  It also has the ability to do split windows.  
There's probably more I've yet to find too!




Cheers

Tim





--
Next meeting:  Bournemouth, Tuesday 2011-12-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] GNU screen

2011-12-02 Thread Victor Churchill
Hi Tim/Ralph & all,

On 2 December 2011 14:11, Ralph Corderoy  wrote:

>  > I'm often discovering nifty utilities that I'm embarrassed not to have
> > known about years ago. This week it's GNU screen:
>

I too felt a bit silly about not having come across it before I did - and
at first I thought "what's the point?" - nowadays it (and emacs) are the
first things I install onto a bare new remote machine.

I find it particularly handy for watching/working on a number of different
cloud servers - they are running Ubuntu so I put the byobu variant on them,
with the same setup and set of default 'windows' on each (a shell, a htop,
a mutt, an emacs...) and style each one to have a different background
colour on the botom status line ;-)

>
> Yes, very handy.  Dates back to the 80s.  :)  There's also byobu which
> is an "enhancement" to screen and can display configurable data.
> Probably more useful if you're logging into machines where you want to
> observe the performance.
>
>https://launchpad.net/byobu
>

Thanks for the link Ralph; I was going to mention the derivation of the
word but they beat me to it ;-) Also I was going to moan that byobu seemed
only to be available for Ubuntu but I see that there is a Fedora RPM too
which is nice!


Hope to see some of y'all Tuesday.

-- 
best regards,

Victor Churchill,
Bournemouth
--
Next meeting:  Bournemouth, Tuesday 2011-12-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] GNU screen

2011-12-02 Thread Ralph Corderoy
Hi Tim,

> I'm often discovering nifty utilities that I'm embarrassed not to have
> known about years ago. This week it's GNU screen:
> 
> http://www.gnu.org/s/screen/

Yes, very handy.  Dates back to the 80s.  :)  There's also byobu which
is an "enhancement" to screen and can display configurable data.
Probably more useful if you're logging into machines where you want to
observe the performance.

https://launchpad.net/byobu

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday 2011-12-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue


[Dorset] GNU screen

2011-12-02 Thread Tim Allen

Hi

I'm often discovering nifty utilities that I'm embarrassed not to have 
known about years ago. This week it's GNU screen:


http://www.gnu.org/s/screen/


Really useful console window manager, particularly useful for having 
multiple terminals open on a remote machine, especially as if you lose 
connection, you can reattach exactly where you left off. Or set a long 
process running at work, log out and reattach at home.


More info at

http://www.debian-administration.org/articles/34
http://www.kuro5hin.org/story/2004/3/9/16838/14935


Cheers

Tim

--
Next meeting:  Bournemouth, Tuesday 2011-12-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue