Re: Using a logitech mx700 with scrollwheel _and_ thumb buttons

2005-07-06 Thread Joe Schmoe
Andre, --- André-Philippe Paquet <[EMAIL PROTECTED]> wrote: > My MX500 is working just fine. Here what I do: > >- Install imwheel (/usr/ports/x11/imwheel) > > >- Add this to ~/.imwheelrc > > ".*" > None, Up, Alt_L|Left,1 > None, Down, Alt_L|Right,1 > > "(null)" > None, Up, Alt_L|L

logitech mx700 mouse button disfunction under FreeBSD

2005-07-06 Thread Joe Schmoe
The logitech mx700 is a cordless 10-button mouse (3 buttons, two thumb buttons, scroll wheel up and down, two paging buttons, and one "app" button). While the mx500 mouse, that seems to be very closely related to the mx700, has been reported to work (scroll wheel and both thumb buttons function) u

Re: Using a logitech mx700 with scrollwheel _and_ thumb buttons

2005-07-06 Thread André-Philippe Paquet
Sorry, I didn't see your last message! Start xwindows with your favorite wm and in a terminal, run: imwheel -b "67" & xmodmap -e "pointer = 1 2 3 6 7 4 5" If it doesn't work, it may be something else. I just redid the whole process I told and it works here. Andre-Philippe On 7/5/05, Joe Schmoe

Call for FreeBSD status reports

2005-07-06 Thread Max Laier
All, Three month of fruitful development have passed since the last round of FreeBSD status reports, and the release of FreeBSD 6.0 is on the doorstep.  We hope that you made good progress on your projects and have interesting news to share.  Please do so by sending a status report to [EMAIL P

Re: linking libjava.so RPATH problem

2005-07-06 Thread Tom Schutter
On 7/5/05, Vasil Dimov <[EMAIL PROTECTED]> wrote: > On Tue, Jul 05, 2005 at 03:55:26PM -0600, Tom Schutter wrote: > > I am having problems linking in the Java JVM libraries (libjava.so, > > libverify.so, libjvm.so) into my executable. > > > > With these options added to my gcc command: > > -L/usr/

bus error in strsep

2005-07-06 Thread Stefan Sperling
Hello hackers, I am getting a bus error in my application when I call strsep and it matches a character. It doesn't matter whether I call the strsep from my libc or a freshly compiled one, the error stays the same. This is my test case: $ cat strsep.c #define NULL ((void*)0) /* copied verbatim

Re: bus error in strsep

2005-07-06 Thread Maksim Yevmenkin
Stefan, int main(int argc, char* argv[]) { char *c = "whats:your:name:buddy?"; that is not read only copy. you can not write into it. replace it with char *c = strdup("whats:your:name:buddy?"); (void*)mystrsep(&c, ":"); } and it should work

Re: bus error in strsep

2005-07-06 Thread Maksim Yevmenkin
Maksim Yevmenkin wrote: Stefan, int main(int argc, char* argv[]) { char *c = "whats:your:name:buddy?"; that is not read only copy. you can not write into it. replace it with made type. that should read "that is read only copy" :) char *c = strdup("wh

Re: bus error in strsep

2005-07-06 Thread Stefan Sperling
On Wed, Jul 06, 2005 at 12:10:23PM -0700, Maksim Yevmenkin wrote: > Maksim Yevmenkin wrote: > >>char *c = "whats:your:name:buddy?"; > > > > that is not read only copy. you can not write > >into it. replace it with > > made type. that should read "that is read o

Re: bus error in strsep

2005-07-06 Thread Dimitry Andric
On 2005-07-06 at 21:41:00 Stefan Sperling wrote: >> >>char *c = "whats:your:name:buddy?"; >> made type. that should read "that is read only copy" :) > Dark corners of C... So it's my own fault, as usual :) Actually, this dark corner was enlightened not so long ago. String constants used to b

Re: Using a logitech mx700 with scrollwheel _and_ thumb buttons

2005-07-06 Thread Julian Elischer
Joe Schmoe wrote: Andre, --- André-Philippe Paquet <[EMAIL PROTECTED]> wrote: My MX500 is working just fine. Here what I do: - Install imwheel (/usr/ports/x11/imwheel) - Add this to ~/.imwheelrc ".*" None, Up, Alt_L|Left,1 None, Down, Alt_L|Right,1 "(null)" None, Up, Alt_L|L

Re: bus error in strsep

2005-07-06 Thread Giorgos Keramidas
On 2005-07-06 12:08, Maksim Yevmenkin <[EMAIL PROTECTED]> wrote: > Stefan, > > >int main(int argc, char* argv[]) > >{ > > char *c = "whats:your:name:buddy?"; > that is not read only copy. you can not write > into it. replace it with > > char *c = strdup("whats:y

Re: bus error in strsep

2005-07-06 Thread Maksim Yevmenkin
int main(int argc, char* argv[]) { char *c = "whats:your:name:buddy?"; that is not read only copy. you can not write into it. replace it with char *c = strdup("whats:your:name:buddy?"); Or the following: char c[] = "whats:your:name:buddy?"; whi

Re: thread-safe popen

2005-07-06 Thread Dipjyoti Saikia
Hi , Please find the code snippet of popen() from the source code that I have (We are working on an OS that is derived from FreeBSD 4.1) . I don't think I have the thread safe version . - FILE * popen(command, type) const char *command, *type; { struct pid

Re: linking libjava.so RPATH problem

2005-07-06 Thread Vasil Dimov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jul 06, 2005 at 10:29:20AM -0600, Tom Schutter wrote: > On 7/5/05, Vasil Dimov <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 05, 2005 at 03:55:26PM -0600, Tom Schutter wrote: > > > I am having problems linking in the Java JVM libraries (libjava.so