Pseudo terminals are very convenient for testing purposes, but they are not fully compatible with real serial (or even usb-serial) hardware. With the new option, some workarounds can be enabled to hide the differences and increase compatibility. Although these workarounds shouldn't cause any problems in production builds, the advise is to disable this feature. A few ioctl's are not supported for pseudo terminals. They fail with EINVAL (Linux) or ENOTTY (Mac OS X). Since these specific error codes should not occur under normal conditions, they are simply ignored when pseudo terminal support is enabled. The TIOCEXCL ioctl (exclusive access) is also problematic. The TIOCEXCL setting is shared between the master and slave side of the pty. When the setting is applied on the slave side, it persists for as long as the master side remains open. The result is that re-opening the slave side will fail with EBUSY, unless the process has root priviliges. Since this is very inconvenient, the TIOCEXCL setting is not used when pseudo terminal support is enabled.
Overview ======== Libdivecomputer is a cross-platform and open source library for communication with dive computers from various manufacturers. The official web site is: http://www.divesoftware.org/libdc/ The sourceforge project page is: http://sourceforge.net/projects/libdivecomputer/ Installation ============ On UNIX-like systems (including Linux, Mac OS X, MinGW), use the autotools based build system. Run the following commands from the top directory (containing this file) to configure, build and install the library and utilities: $ ./configure $ make $ make install If you downloaded the libdivecomputer source code directly from the git source code repository, then you need to create the configure script as the first step: $ autoreconf --install To uninstall libdivecomputer again, run: $ make uninstall Support ======= Please send bug reports, feedback or questions to the mailing list: https://lists.sourceforge.net/lists/listinfo/libdivecomputer-devel or contact me directly: jefdriesen@hotmail.com License ======= Libdivecomputer is free software, released under the terms of the GNU Lesser General Public License (LGPL). You can find a copy of the license in the file COPYING.
Description
Languages
C
98.3%
M4
1.2%
Makefile
0.5%