Re: [dwm] irssi + screen + urxvt in dwm -> window hint urgent not working

From: Jeremy Jay <dinkumator_AT_gmail.com>
Date: Thu, 16 Apr 2009 09:52:53 -0400

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 <dinkumator_AT_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
> > >
> >
> >
Received on Thu Apr 16 2009 - 13:52:53 UTC

This archive was generated by hypermail 2.2.0 : Thu Apr 16 2009 - 14:00:06 UTC