Re: rename each screen according to hostname

2008-05-27 Thread Trent W. Buck
On Tue, May 27, 2008 at 06:54:10PM -0700, Micah Cowan wrote: > Trent W. Buck wrote: > > On Tue, May 27, 2008 at 10:57:59AM +0100, Stephane Chazelas wrote: > >> On Tue, May 27, 2008 at 07:51:58PM +1000, Chris Henderson wrote: > >>> I ssh to a lot of servers and every time I have to do C-a A to renam

Re: Big paste in screen is slow and sometimes lost some characters

2008-05-27 Thread Trent W. Buck
On Tue, May 27, 2008 at 01:16:45PM +0200, Sylvain wrote: > Hi ! > > I'm experiencing difficulties with paste (with the middle button, not paste > function) in screen : if I paste 500 lines of text in vim under screen, > screen is very slow, produce a flickering effect and lost some characters... >

Re: "termcap" doesn't work

2008-05-27 Thread Trent W. Buck
On Mon, May 26, 2008 at 05:19:54PM +0800, cch wrote: > I use gnome-terminal whose $TERM is xterm. when I invoke screen the > $TERM is changed to "screen", which make my "aptitude" and "mutt" > etc. draw a very dirty screen. [randomly guessing at cause] As I said in IRC, unless you can explain wha

Re: GNU Screen: Sending Commands to More than One Screen at a time?

2008-05-27 Thread Jean Jordaan
> when you type a command in any of the shells that are members of that group, > the command gets sent to all of the group member shells. There are other apps for this .. http://del.icio.us/jean/distributed+shell > if there is already existing functionality to do this within 'screen'. Would be

GNU Screen: Sending Commands to More than One Screen at a time?

2008-05-27 Thread Fuck You Cory Weinberg
In KDE's Konsole application there is a "Broadcast" mode that allows you to set the multiple shells in each tab to be part of a broadcast group. Then when you type a command in any of the shells that are members of that group, the command gets sent to all of the group member shells. Is it pos

Big paste in screen is slow and sometimes lost some characters

2008-05-27 Thread Sylvain
Hi ! I'm experiencing difficulties with paste (with the middle button, not paste function) in screen : if I paste 500 lines of text in vim under screen, screen is very slow, produce a flickering effect and lost some characters... If i made the same test not under screen : paste is ultra fast, ther

[chencan...@fudan.edu.cn: "termcap" doesn't work]

2008-05-27 Thread lestat V
--- Begin Message --- hi all, I use gnome-terminal whose $TERM is xterm. when I invoke screen the $TERM is changed to "screen", which make my "aptitude" and "mutt" etc. draw a very dirty screen. I suppose it is because of a wrong $TERM. When I try to change $TERMCAP by using "termcap ..." in ".scre

"termcap" doesn't work

2008-05-27 Thread cch
hi all, I use gnome-terminal whose $TERM is xterm. when I invoke screen the $TERM is changed to "screen", which make my "aptitude" and "mutt" etc. draw a very dirty screen. I suppose it is because of a wrong $TERM. When I try to change $TERMCAP by using "termcap ..." in ".screenrc", I find that tha

Re: rename each screen according to hostname

2008-05-27 Thread Micah Cowan
Trent W. Buck wrote: > On Tue, May 27, 2008 at 10:57:59AM +0100, Stephane Chazelas wrote: >> On Tue, May 27, 2008 at 07:51:58PM +1000, Chris Henderson wrote: >>> I ssh to a lot of servers and every time I have to do C-a A to rename >>> the screen session to the hostname I ssh to. Is there anyway sc

Re: rename each screen according to hostname

2008-05-27 Thread Geraint Edwards
"Trent W. Buck" <[EMAIL PROTECTED]> said (on Tue, May 27, 2008 at 08:39:50PM +1000): > > ssh() { screen -X title "[EMAIL PROTECTED]"; command ssh "$@"; } > > I think the OP wants to change the session name, not the screen > (window) title. Also, isn't setting the title best done w

Re: rename each screen according to hostname

2008-05-27 Thread Trent W. Buck
On Tue, May 27, 2008 at 10:57:59AM +0100, Stephane Chazelas wrote: > On Tue, May 27, 2008 at 07:51:58PM +1000, Chris Henderson wrote: > > I ssh to a lot of servers and every time I have to do C-a A to rename > > the screen session to the hostname I ssh to. Is there anyway screen > > can automatical

Re: rename each screen according to hostname

2008-05-27 Thread Jean Jordaan
>> I ssh to a lot of servers and every time I have to do C-a A to rename >> the screen session to the hostname I ssh to. I run screen on remote servers. All servers have something like this in my user's .bashrc: PS1='${debian_chroot:+($debian_chroot)}\[\033[01;[EMAIL PROTECTED]:\[\0 33[01;34m\]\w

Re: rename each screen according to hostname

2008-05-27 Thread Stephane Chazelas
On Tue, May 27, 2008 at 07:51:58PM +1000, Chris Henderson wrote: > I ssh to a lot of servers and every time I have to do C-a A to rename > the screen session to the hostname I ssh to. Is there anyway screen > can automatically change the name to the host I am connected to? [...] ssh() { screen -X

rename each screen according to hostname

2008-05-27 Thread Chris Henderson
I ssh to a lot of servers and every time I have to do C-a A to rename the screen session to the hostname I ssh to. Is there anyway screen can automatically change the name to the host I am connected to? Thanks for any help. ___ screen-users mailing lis