-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, When in console mode, and using gpm (the mouse program), I get a lot of these messages in the log: Feb 17 22:07:16 nimrodel /usr/sbin/gpm[4515]: *** info [gpm.c(723)]: Feb 17 22:07:16 nimrodel /usr/sbin/gpm[4515]: Request on 7 (console 2) Feb 17 22:07:16 nimrodel /usr/sbin/gpm[4515]: *** info [gpm.c(732)]: Feb 17 22:07:16 nimrodel /usr/sbin/gpm[4515]: Closing Feb 17 22:07:56 nimrodel /usr/sbin/gpm[4515]: *** info [gpm.c(821)]: Feb 17 22:07:56 nimrodel /usr/sbin/gpm[4515]: Connecting at fd 6 Feb 17 22:08:11 nimrodel /usr/sbin/gpm[4515]: *** info [gpm.c(723)]: Feb 17 22:08:11 nimrodel /usr/sbin/gpm[4515]: Request on 6 (console 2) Feb 17 22:08:11 nimrodel /usr/sbin/gpm[4515]: *** info [gpm.c(732)]: Feb 17 22:08:11 nimrodel /usr/sbin/gpm[4515]: Closing I want to eradicate them. Looking at "info gpm", I read: `-V[VERBOSITY INCREMENT]' Raise or decrease the maximum level of messages that will be logged. Thus a positive argument has the effect of making the program more verbose. One can also give a negative argument to hush the program; due to getopt(3) rules, any optional argument needs to be passed without a space in between! When omitting the argument, the increment defaults to 1. Default verbosity level is 5 (`LOG_NOTICE'). *Note Program Arguments: (libc)Program Arguments. But it doesn't accept that parameter. See: nimrodel:~ # gpm -m/dev/mouse -texps2 and I get the mouse correctly. I kill it: nimrodel:~ # killall gpm then retry with -V: nimrodel:~ # gpm -m/dev/mouse -texps2 -V *** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h". nimrodel:~ # gpm -m/dev/mouse -texps2 -V 0 *** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h". nimrodel:~ # gpm -m/dev/mouse -texps2 -V\ 0 *** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h". nimrodel:~ # gpm -m/dev/mouse -texps2 -V0 *** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h". nimrodel:~ # gpm -m/dev/mouse -texps2 -V5 *** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h". nimrodel:~ # gpm -m/dev/mouse -texps2 -V 5 *** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h". nimrodel:~ # gpm -m/dev/mouse -texps2 -V *** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h". nimrodel:~ # gpm -V -m/dev/mouse -texps2 *** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h". I look at "gpm -h" nimrodel:~ # gpm -h Usage: gpm [options] Valid options are (not all of them are implemented) <<==== ... -V verbosity increase number of logged messages nimrodel:~ # gpm -V *** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h". nimrodel:~ # gpm -V1 *** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h". So... it seems I'm using it correctly, but it is not implemented. How do I reduce its verbosity? I don't want those messages in the syslog. Is the only method filtering them out with syslog-ng? - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFF13VAtTMYHG2NR9URAgPsAKCD98+ZI2glC8yjUj48u+7V2y8BigCfajbx WUA6b6WPARG7DgZ99f/0br4= =+2pC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Get a look at Lessons for Lizards, as I already implemented some documentation about this topic there. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2007-02-18 at 17:49 +0200, Alexey Eremenko wrote:
Get a look at Lessons for Lizards, as I already implemented some documentation about this topic there.
Do you have a link, please? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFF2IZdtTMYHG2NR9URAtW5AKCRgD3mkPS8BLMPURgx/B5I7StNywCfYAFT k0DLESkYjvZGs2Nz5jUBr68= =QPoo -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 18 February 2007 11:01, Carlos E. R. wrote:
The Sunday 2007-02-18 at 17:49 +0200, Alexey Eremenko wrote:
Get a look at Lessons for Lizards, as I already implemented some documentation about this topic there.
Do you have a link, please?
http://forgeftp.novell.com/lfl/.html/howto-mouse-console.html but it doesn't tell what happened with -V option. I guess you have to to use: ftp://ftp.gwdg.de/pub/opensuse/distribution/10.2/repo/src-oss/suse/src gpm-1.20.1-340.src.rpm and build your own. -- Regards, Rajko. http://en.opensuse.org/Portal -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2007-02-18 at 11:41 -0600, Rajko M. wrote:
http://forgeftp.novell.com/lfl/.html/howto-mouse-console.html
but it doesn't tell what happened with -V option.
And it doesn't say anything new for me... what I use is enable service "gpm", so I always have it available, even in level 5. You simply have to adequately edit some variables in /etc/sysconfig/mouse, like: MOUSEDEVICE="/dev/mouse" MOUSETYPE="exps2" GPM_PARAM=""
I guess you have to to use: ftp://ftp.gwdg.de/pub/opensuse/distribution/10.2/repo/src-oss/suse/src gpm-1.20.1-340.src.rpm and build your own.
Ouch. And then redo on every version... I'll end up faster by adapting syslog-ng to filter those messages out. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFF2NrFtTMYHG2NR9URAk/dAJ4w3WSe+2uJc3L7gALvMkzX8e7QuQCeIsfT I+BAUH5LcaSIcVFA99KZ7lw= =0XyT -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 18 February 2007 17:01, Carlos E. R. wrote:
The Sunday 2007-02-18 at 11:41 -0600, Rajko M. wrote: ....
I guess you have to to use: ftp://ftp.gwdg.de/pub/opensuse/distribution/10.2/repo/src-oss/suse/src gpm-1.20.1-340.src.rpm and build your own.
Ouch.
And then redo on every version... I'll end up faster by adapting syslog-ng to filter those messages out.
In the source code command line is analyzed in the file /src/gpn.c and there is no word about -V option, and -v is just version information. That means it runs with default verbosity. The same version gpm-1.20.1 is in all source since 9.3 and that is the latest, so this hangs with default verbosity for a some time. Actually it is the same in gpm-1.20.0. -- Regards, Rajko. http://en.opensuse.org/Portal -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Alexey Eremenko
-
Carlos E. R.
-
Rajko M.