On 2009-03-01 04:53, Dennis Peterson wrote: > When I use the OEM console terminal on my Mac it sends \033OP when pressing > F1. > It doesn't do anything in clamdtop. It does work when using Mac's X11 Xterm > app > but I haven't looked up what is sent with it. > > Perhaps the clamdtop author knows what it is expecting to receive from F1. >
I use KEY_F(1), which is supposed to be a portable way to check for F1. Apparently it doesn't work on all terminal/OS combinations. I changed help to be 'H'/'h' now, due to bug #1429 (F1 invoking gnome terminal help instead of clamdtop). I also changed clamdtop's behaviour with regard to default colors: it sets black as background color (Bug #1438). The old behaviour (using terminal's default) can still be achieved by using --defaultcolors. On 2009-03-01 00:38, Bill Landry wrote: > I am not running any GUI, I ssh into the server and launch clamdtop, and > F1 is just ignored. Do I need to be on the server in GUI mode to see > any F1 results? > No, you don't need X to use clamdtop. F1 pops up gnome terminal's help because it intercepted the key before it reached clamdtop. That was not intended behaviour. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml