Odd, guess the ^G got stripped out of the bell_msg, it was there...

Just to show a working config here's my setup:
  Gentoo linux on both laptop and server. both reasonably up to date.

  laptop (~x86):
    rxvt-unicode v9.06 (--enable-everything --enable-perl --enable-xft)
            [ I'm using it in client/daemon mode too ]
                
                OpenSSH_5.2p1

        server (x86):
                OpenSSH_5.2p1

    Screen version 4.00.03 (FAU) 23-Oct-06
                  gentoo adds a bunch of patches, so maybe one of them is it:
                        (or maybe your distro adds one that breaks it)
                          
http://www.gtlib.gatech.edu/pub/gentoo/gentoo-x86-portage/app-misc/screen/files/

                        that has the system screenrc too so the term tweaks / 
defaults could do it too...

    My .screenrc is pretty basic:
                ----- SNIP
                hardstatus on

                # tabs for open windows, hostname and time
                caption always "%{.bW}[ %h ][ %{.bW}%-w%{.rW}%n %t%{-}%+w 
%=%{..G}][ %{..Y}%m/%d %C%a CST ]"

                #trick vim into 256-color mode, although only 88 (hack)
                termcapinfo * 'Co#256'

                altscreen on
                autodetach on
                startup_message off
                defscrollback 1000

    # thats a real ^G not '^' + 'G'
                bell_msg "^G ring ring - window %n"
                ----- SNIP

Good Luck!

Jeremy



On Thu 16 Apr 2009 - 12:56PM, Zhengning Jiang wrote:
> Hi ,
> 
> yes my .screenrc -> bell_msg has a real ^G.
> Still doesn't work :( ... I'll have a try without ^G like your bell_msg.
> 
> @Andew: Do a ' man rxvt ' and grep for urgentOnBell. If this option does not
> exist, than
> this is your problem.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Tue, Apr 14, 2009 at 4:47 PM, Jeremy Jay <dinkuma...@gmail.com> wrote:
> 
> > I've gotten it to work, are you all actually inserting a real ^G
> > or just the characters '^' and 'G'. if you edit .screenrc with vim, for
> > example, type [ ctrl-v ctrl-g ] to insert the right character.
> >
> > My config has:
> >
> >  bell_msg "  ring ring window %n"
> >
> > hope that helps!
> >
> > Jeremy
> >
> >
> > On Tue 14 Apr 2009 - 08:59AM, andrew wrote:
> > > > i have a little problem regarding window hint urgent with my setup.
> > > > I run a screen with irssi inside on my server and use urxvt as terminal
> > for
> > > > access.
> > >
> > >
> > > I have basically the same problem, I've _never_ gotten it to work even
> > > partially. I'm using screen 4.00.03 and rxvt 2.7.10
> > > I'd really like to figure out how to make this work also.
> > >
> > > -Andrew
> > >
> >
> >

Reply via email to