Idiot Trap!!!

1998-11-30 Thread david . atkinson
Just an idea. It appears that an automated mailing list has become the ideal tool to trap idiots. Any idiot can somehow manage to subscribe themselves, but, even though they are given unsubscribe information during the registration, they cannot unsubscribe. Therefore it would be nice to have a li

java and proxies

1998-11-27 Thread david . atkinson
Does anyone know if it possible to use multiple proxies for URL connections within a single java program? I have an application that needs to access to different proxies to get to different networks (long story). I can access either proxy by setting the System properties proxySet etc. However if

Re: Low level disk access

1998-11-11 Thread david . atkinson
I won't charge for the entertainment value, and I wont give up my daytime job. (Although I have considered joining a circus as a juggler!) I was actually implying that I would use JNI and write the interface in C. Hence the "While this is not directly a Java question...". Does anybody know of an

Low level disk access

1998-11-11 Thread david . atkinson
While this is not directly a Java question does anybody know of any library functions etc which will provide low level disk access to harddisks. i.e sector access etc. I am looking at writing a Java class for providing direct access to a dedicated harddisk so that I can avoid some of the overhead

some problems with rxtx-1.2pre5

1998-09-24 Thread david . atkinson
Michael, I have not had time to download the pre5 release yet so cannot check the line number (my changes were merged with others). However, a printout of the compiler error would be useful. Also, I suspect the BlackBox you are using is for an old version of commapi as openPort() was replaced wi

Re: RXTX, SerialImp.c

1998-09-21 Thread david . atkinson
Dan, I did try to write a version using select() but it stopped everything while waiting on the select. I agree that java lacks select(). It would be great if you could get a version of select under java. Alternatively if I could stop select blocking all threads .. Dave > [EMAIL PROTECTED]

Re: RXTX, SerialImp.c

1998-09-21 Thread david . atkinson
Guys, I haven't had a chance to look at what everyone has done but here are my thoughts. The major thing I have done with ioctls() is to do a nonblocking read FIONREAD which also returns the number of bytes available for reading. I could not find a similar function using termios. I can't think o

To read from a port

1998-09-14 Thread david . atkinson
My mistake !! I obviously subscribe to too many mailing lists. I assume you are after more detailed information via Java. The only way I can think of is to look after the tcpdump code and write your own interface in C using JNI. Dave Atkinson > The easiest way I know, if you just want simple pa

Re: Well done

1998-09-14 Thread david . atkinson
To the blackdown gang and all supporters of Linux, thanks for making the world a better place. Without you many of us would be condemned to NT. Dave Atkinson

To read from a port

1998-09-14 Thread david . atkinson
The easiest way I know, if you just want simple parameters such as IRQ, mac address, IO ports is to boot up using a slackware boot disk with net.i. Unlike redhat, slackware has extensive support for ethernet cards and probes just about all of them when booting up with net.i, displaying any result

RXTXPre4 update

1998-09-10 Thread david . atkinson
To those who have played with my previous update to RXTX and anyone else I have now updated what I have done to javacomm2 specs. It is now bundled as an update to pre4 of rxtx. basically there are about 8 files you need to update to rxtxpre4 before running ./configure. This version is much clean

javacomm ioctl help

1998-09-04 Thread david . atkinson
I am trying to add hardware handshaking to the RXTX package and am having lots of troubles with the java environment. I have a routine in C that handles hardware handshaking without any problems. However, incorporating this routine into java with JNI causes all sorts of strange problem. i.e a call

Someone to play with Linux javacomm

1998-08-27 Thread david . atkinson
I have been playing around with the javacomm rxtx stuff implementing the event notification stuff as well as non blocking reads. Unfortunately I have a problem with the serial ports always blocking on reading despite the open options. Therefore I have implemented non blocking by using a separate t

Devices and blocking

1998-08-18 Thread david . atkinson
I have just downloaded the Java Comm stuff including RXTX and noticed that many of the functions aren't available. i.e addEventListener. Since the Solaris examples use event listeners I have been trying to add this functionality. I have started doing this in an unsophisticated way by using a sep