Re: [dwm] [dvtm] CO_BEL patch for madtty.c

From: Marc Andre Tanner <mat_AT_brain-dump.org>
Date: Sun, 17 Feb 2008 10:41:49 +0100

On Sat, Feb 16, 2008 at 04:16:32PM +0100, Leonardo Taccari wrote:
> Hello Marc and all dvtm lovers (and users),
> with dvtm I wasn't able to listen the '\a' so I saw that it was a feature,
> not a bug.
> I saw that madtty.c need ncurses.h, so we can use the beep()[0][1]
> X/Open Curses function for this stuff.
>
> I simply added the beep() invocation on the madtty_process_nonprinting()
> routine (case CO_BEL).

I personally don't like the beeping and flashing but i will give it a
try and see how this works in practise (i haven't yet seen a difference
with this patch applied on my macbook).

> I also hope to commit wip/dvtm on pkgsrc[2] this weekend (pkgsrc is the
> NetBSD packages system, but it is very very very portable so it runs on
> a lot other OSes as well). My local package works well, but I should add
> options.mk for selecting ncurses or ncursesw.

Thanks for this!

Regards,
Marc

-- 
 Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0
Received on Sun Feb 17 2008 - 10:40:09 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:20:27 UTC