[Debian-eeepc-devel] eeepc-acpi-scripts + console + gnu screen ↦ ?staircase?effect

Damyan Ivanov dmn at debian.org
Tue Apr 13 14:55:46 UTC 2010


-=| Trent W. Buck, Tue, Apr 13, 2010 at 09:17:49PM +1000 |=-
> Damyan Ivanov <dmn at debian.org> writes:
> > Can you try with the following patch applied?
> >
> > diff --git a/etc/acpi/lib/notify.sh b/etc/acpi/lib/notify.sh
> > index b476b53..d602e91 100644
> > --- a/etc/acpi/lib/notify.sh
> > +++ b/etc/acpi/lib/notify.sh
> > @@ -12,7 +12,8 @@ notify() {
> >      echo "$MSG"  # for /var/log/acpid
> >  
> >      if [ ! -S /tmp/.X11-unix/X0 ]; then
> > -       echo "$MSG" > /dev/console
> > +        # echo's behaviour wrt "\r" is shell-dependent
> > +       printf "$MSG\r\n" > /dev/console
> >         return
> >      fi
> 
> This fixes things in screen, and doesn't seem to break things outside of
> screen.  Thanks.

Thanks for testing. Patch applied to Git.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20100413/5c100eff/attachment.pgp>


More information about the Debian-eeepc-devel mailing list