Available port names in gtkterm are currently limited
to the 16 hardcoded in config.c. Would be nice if the
user could manually enter their own port name such as
/dev/rfcomm0 (bluetooth serial port).
When the program starts, if /dev/ttyS0 does not exist
then the program wrongly assumes there are no serial
ports available. I would like to be able to
communicate with bluetooth devices over virtual serial
ports which do not require a traditional serial port
device such as /dev/ttyS0.
As a workaround I have patched config.c to include
rfcomm0-3 like so:
--- src/config.c.orig 2005-11-23 09:52:12.000000000 +1100
+++ src/config.c 2005-11-23 09:52:19.000000000 +1100
@@ -44,13 +44,17 @@
#include "gettext.h"
#include "i18n.h"
-#define NUMBER_OF_DEVICES 16
+#define NUMBER_OF_DEVICES 20
gchar *devices_list[NUMBER_OF_DEVICES] = {
"/dev/ttyS0",
"/dev/ttyS1",
"/dev/ttyS2",
"/dev/ttyS3",
+ "/dev/rfcomm0",
+ "/dev/rfcomm1",
+ "/dev/rfcomm2",
+ "/dev/rfcomm3",
"/dev/tts/0",
"/dev/tts/1",
"/dev/tts/2",