Have a user on a Solaris 10 sunray CDE environment her mouse wheel will not scroll up or down in windows it will paste but not scroll. Other users logged into sunray have no issues with mouse wheel. Any ideas on what the fix could be?
Thanks:)
---------- Post updated at 08:19 PM ----------... (0 Replies)
Hi,
I use a nomachine terminal to access KDE desktop(redhat linux enterprise) on a server. Is there any way to get the mouse wheel to work without root privilege ?
I have a usb mouse connected to a nomachine terminal,most likely the mouse wheel problem is not the problem of nomachine, but... (1 Reply)
:confused:
I am using Linux for a while and now changed to slackware for my study and it is not as good as redhat everytime when you add this or that it needs either configure modules or recompile kernel
Now I changed from PS/2 mouse to USB trouble starts it refuse to work I know I can... (3 Replies)
Help! My mouse gave up the ghost, so I connected a USB wheel mouse, and chose it from the list in Suse's Yast2. Also installed it in Windows 98 on the same machine. It works fine in both linux and Windows 98, except for this fact:
I have to reinstall it every time I boot into Linux.... (1 Reply)
Hello.
I've got round to installing RedHat 7.1, and i have this slight problem.
I'm not able to use my mouse wheel.
Is this just not possible in RedHat or is there a way to configure my mouse so i can use my mouse wheel.
Thank you. (1 Reply)
Hi Everyone, Just a short question. I have SuSe linux 7.1 and need configure my logitech wheel mouse. My left and right mouse button works but not the wheel. Does anyone have any Ideas???
Thanks
Peter (1 Reply)
POE::Wheel::Curses(3pm) User Contributed Perl Documentation POE::Wheel::Curses(3pm)NAME
POE::Wheel::Curses - non-blocking input for Curses
SYNOPSIS
use Curses;
use POE qw(Wheel::Curses);
POE::Session->create(
inline_states => {
_start => sub {
$_[HEAP]{console} = POE::Wheel::Curses->new(
InputEvent => 'got_keystroke',
);
},
got_keystroke => sub {
my $keystroke = $_[ARG0];
# Make control and extended keystrokes printable.
if ($keystroke lt ' ') {
$keystroke = '<' . uc(unctrl($keystroke)) . '>';
}
elsif ($keystroke =~ /^d{2,}$/) {
$keystroke = '<' . uc(keyname($keystroke)) . '>';
}
# Just display it.
addstr($keystroke);
noutrefresh();
doupdate;
# Gotta exit somehow.
delete $_[HEAP]{console} if $keystroke eq "<^C>";
},
}
);
POE::Kernel->run();
exit;
DESCRIPTION
POE::Wheel::Curses implements non-blocking input for Curses programs.
POE::Wheel::Curses will emit an "InputEvent" of your choosing whenever an input event is registered on a recognized input device (keyboard
and sometimes mouse, depending on the curses library). Meanwhile, applications can be doing other things like monitoring network
connections or child processes, or managing timers and stuff.
PUBLIC METHODS
POE::Wheel::Curses is rather simple.
new
new() creates a new POE::Wheel::Curses object. During construction, the wheel registers an input watcher for STDIN (via select_read()) and
registers an internal handler to preprocess keystrokes.
new() accepts only one parameter "InputEvent". "InputEvent" contains the name of the event that the wheel will emit whenever there is
input on the console or terminal. As with all wheels, the event will be sent to the session that was active when the wheel was
constructed.
It should be noted that an application may only have one active POE::Wheel::Curses object.
EVENTS AND PARAMETERS
These are the events sent by POE::Wheel::Curses.
InputEvent
"InputEvent" defines the event that will be emitted when POE::Wheel::Curses detects and reads console input. This event includes two
parameters:
$_[ARG0] contains the raw keystroke as received by Curses::getch(). An application may process the keystroke using Curses::unctrl() and
Curses::keyname() on the keystroke.
$_[ARG1] contains the POE::Wheel::Curses object's ID.
Mouse events aren't portable. As of October 2009, it's up to the application to decide whether to call mousemask().
SEE ALSO
Curses documents what can be done with Curses. Also see the man page for whichever version of libcurses happens to be installed (curses,
ncurses, etc.).
POE::Wheel describes wheels in general.
The SEE ALSO section in POE contains a table of contents covering the entire POE distribution.
BUGS
None known, although curses implementations vary widely.
AUTHORS & COPYRIGHTS
Please see POE for more information about authors and contributors.
perl v5.14.2 2012-05-15 POE::Wheel::Curses(3pm)