SRA Lab Open Source Code

29Jul/110

Tip for python-mode with Emacs

If you expect 'Alt + d' wil only remove the first part 'foo_' of 'foo_bar' with the great python-mode, you can make this change to python-mode.el:

- (modify-syntax-entry ?\_ "w" py-mode-syntax-table)
+ (modify-syntax-entry ?\_ "_" py-mode-syntax-table)

Thank you Ivan.

Update with python-mode v6.0.4, add this line to python-mode-syntax-table (line 153):

(modify-syntax-entry ?\_ "_" table)

22Jul/110

v3.0.1 to avoid ".0" problems

A dot zero isn't a dot zero without few problems, so I've released libmodbus v3.0.1 to fix problems with non-recent Linux kernels and other platforms.

libmodbus 3.0.1 (2011-07-18)

  • Avoid useless serial_mode integer when TIOCSRS485 isn't supported
  • Fix compilation failure on Windows (RS485 support) by Tobias Doerffel
  • Properly check TIOCSRS485 define by Matthijs Kool
  • Rename package to libmodbus5 to fix lintian warning
12Jul/110

Magic libmodbus 3.0.0 is out

OK, the new stable release of libmodbus is finally out! Only 2 years after libmodbus v2.0.3 and 400 commits, I'm happy to release this new version which contains many changes to improve the API and enhance the Modbus protocol conformity. The major features of this release are:

  • more coherent and extended API
  • POSIX error return codes
  • full documentation of the API
  • IPv6 support
  • new backend design
  • support for Windows, MacOS X and FreeBSD
  • rewriting of the message reading to avoid timeout
  • native serial communication on Windows

Thanks to the many contributors

Tobias Doerffel, Florian octo Forster, Hannu Vuolasaho, Patsy Kaye, Ivo De Decker,
Allan Cornet, Manfred Gruber, Jason Oster, Petr Parýzek, Antti Manninen, Barry Grumbine,
Kirill Smelkov, Anibal Limón, David Olivari, Sisyph, aladdinwu, Jeff Laughlin, Yishin Li , Henrik Munktell, Paul Fertser, Norbert Koch and Stéphane Raimbault.

The development continues for the next v3.1 release with this roadmap.

Have fun!