bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ability to disable mouse events in dialog?


From: Thomas Dickey
Subject: Re: ability to disable mouse events in dialog?
Date: Fri, 12 Mar 2010 06:35:50 -0500 (EST)

On Mon, 8 Mar 2010, Josh Hunt wrote:

(If this isn't the proper forum for my question let me know if there
is a better place.)

I'm writing a bash script using dialog as the UI and would like to
disable/ignore mouse clicks/events.  Is this possible to do from the
command-line?  I do not see any mention of this in the dialog man
page.

dialog turns on xterm mouse support if ncurses thinks it is available.
That's if $TERM contains "xterm" or if the kmous string in the corresponding terminal description looks like xterm's, e.g.,

        kmous=\E[M,

You could define a non-mouse description and compile that with tic...


Any help is greatly appreciated.

Please cc me to any replies as I am not a member of the list.

Thanks
Josh


_______________________________________________
Bug-ncurses mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ncurses


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]