+The upstream source assumes you will use a traditional hard-wired serial
+port, but those are getting rare. Rather than refactor the code, I've just
+made the Debian package always open the device /dev/REG. All you need to
+do is symlink this to whatever your actual serial port is with something like:
+
+ cd /dev
+ ln -s ttyUSB0 REG
+
+The 'port' field in the REG line of the eggrc file will be ignored, so just
+leave it set to '0'.
+
+ - - - - -
+
If the EGG computer is behind a firewall, it must be programmed
to allow UDP packets on port 2510 outgoing packet and UDP port
1105 for an incoming connection.
responds with a "data request" packet, and then the EGG program
will send the data.
- - - - - -
-
-This package is known to compile but not run successfully on at
-least the amd64 architecture. The only architecture it has really
-been tested on is i386... If anyone is sufficiently motivated
-to chase down and fix whatever the problem is, patches would be
-welcomed!
* merge 64-bit fixes from Fernando Lucas Rodriguez <fernando_lr@terra.es>,
closes: #680014
+ * fix additional 64-bit isms in the UI code
* revise dependency to be kbd | console-tools to ease backport support
* unqualify openvt path in init.d to tolerate /bin vs /usr/bin
+ * enable the use of USB serial ports, etc, by making eggsh always open
+ /dev/REG, which is now assumed to be a symlink to the actual device
-- Bdale Garbee <bdale@gag.com> Mon, 02 Jul 2012 14:59:55 -0600
designating /dev/term/a. */
sprintf(ttydev, "/dev/term/%c", 'a' + (opts->port - 1));
#else
- sprintf(ttydev, "/dev/ttyS%d", opts->port);
+ sprintf(ttydev, "/dev/REG", opts->port);
#endif
switch(opts->baud) {
sprintf(ttydev, "/dev/term/%c", 'a' + (opts->port - 1));
#endif
#else
- sprintf(ttydev, "/dev/ttyS%d", opts->port);
+ sprintf(ttydev, "/dev/REG", opts->port);
#endif
switch(opts->baud) {
sprintf(ttydev, "/dev/term/%c", 'a' + (opts->port - 1));
#endif
#else
- sprintf(ttydev, "/dev/ttyS%d", opts->port);
+ sprintf(ttydev, "/dev/REG", opts->port);
#endif
switch(opts->baud) {
# this time. Port is serial port number (e.g. 1 for /dev/ttyS1);
# <baud> is baud rate.
#
+# NOTE: in Debian, the device opened is always /dev/REG!
+# Symlink that to whatever your actual serial device is.
+#
# NETUP <script> <args> ...
# NETDOWN <script> <args> ...
#