[riot-commits] [RIOT-OS/RIOT] 50f9b2: pyterm: do a proper cleanup at SIGINT

Oleg Hahm oleg at hobbykeller.org
Fri Aug 1 17:10:56 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 50f9b25a9a9ac3f5bc62ebe0ba797195880ea9ea
      https://github.com/RIOT-OS/RIOT/commit/50f9b25a9a9ac3f5bc62ebe0ba797195880ea9ea
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: do a proper cleanup at SIGINT


  Commit: 5769269cda41b84c14207075032d4e9b161bf5cf
      https://github.com/RIOT-OS/RIOT/commit/5769269cda41b84c14207075032d4e9b161bf5cf
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: set default serial port to /dev/ttyUSB0


  Commit: e1f899264270a8f666bb460e7c634a1a255969e8
      https://github.com/RIOT-OS/RIOT/commit/e1f899264270a8f666bb460e7c634a1a255969e8
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: make config file name a variable


  Commit: 6c31adeaee90d48e7d92ee8a9f8c8522851c48d3
      https://github.com/RIOT-OS/RIOT/commit/6c31adeaee90d48e7d92ee8a9f8c8522851c48d3
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: introduce command line arguments


  Commit: fd95200ae49a4f311b6f29024d592786769e85d3
      https://github.com/RIOT-OS/RIOT/commit/fd95200ae49a4f311b6f29024d592786769e85d3
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: filter for specific output (via regex)


  Commit: dd469b1f7b47eac416467313dde86ce88e4417b2
      https://github.com/RIOT-OS/RIOT/commit/dd469b1f7b47eac416467313dde86ce88e4417b2
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: ignore lines based on regex


  Commit: f816d7482491950fc9c4524308325f70148668bd
      https://github.com/RIOT-OS/RIOT/commit/f816d7482491950fc9c4524308325f70148668bd
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: prefix pyterm commands with /


  Commit: 64b1250f3b8732c879f54619284948c4c1287437
      https://github.com/RIOT-OS/RIOT/commit/64b1250f3b8732c879f54619284948c4c1287437
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: configure baudrate


  Commit: cffa4e73d530c1592f740537bb71fb2b05c10a0b
      https://github.com/RIOT-OS/RIOT/commit/cffa4e73d530c1592f740537bb71fb2b05c10a0b
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: added twisted based JSON sending


  Commit: 508e8770c73d676d05df8dfab5f3c564ba15cf99
      https://github.com/RIOT-OS/RIOT/commit/508e8770c73d676d05df8dfab5f3c564ba15cf99
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: fix program exit procedure, disable SIGINT


  Commit: 07e4e4372ece16761af3e6377585997c83850657
      https://github.com/RIOT-OS/RIOT/commit/07e4e4372ece16761af3e6377585997c83850657
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: remove unnecessary debug output


  Commit: 211dfeca6c1f6ae7077b9711b3398183adcf8ebc
      https://github.com/RIOT-OS/RIOT/commit/211dfeca6c1f6ae7077b9711b3398183adcf8ebc
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: allow spaces in JSON regex


  Commit: 534ca4633ee5213fa7ae4171620cb38c7146da88
      https://github.com/RIOT-OS/RIOT/commit/534ca4633ee5213fa7ae4171620cb38c7146da88
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: distinguish between int and string in JSON sending


  Commit: 1899fffb4fc172a281bbabe373c36e890b590e27
      https://github.com/RIOT-OS/RIOT/commit/1899fffb4fc172a281bbabe373c36e890b590e27
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: use writeSomeData to send data immediately


  Commit: e38fd42fef6f0cac04d4097eb1f6d20e12a8f687
      https://github.com/RIOT-OS/RIOT/commit/e38fd42fef6f0cac04d4097eb1f6d20e12a8f687
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: integrated changes from @mehlis' testbed-controller branch


  Commit: 32716fea6c22ce690cf3842fa610481f633c87fe
      https://github.com/RIOT-OS/RIOT/commit/32716fea6c22ce690cf3842fa610481f633c87fe
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: enable saving and setting of  init commands at runtime


  Commit: e661b386a08272c511b6bda2e021afc1dd8861ba
      https://github.com/RIOT-OS/RIOT/commit/e661b386a08272c511b6bda2e021afc1dd8861ba
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: handle serial disconnect

* will reconnect automatically if possible after a disconnect
* resolves #910


  Commit: fbd2c345ce5c525e31a32da71e842615e981a45a
      https://github.com/RIOT-OS/RIOT/commit/fbd2c345ce5c525e31a32da71e842615e981a45a
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: cosmetics

* replaced tab with white spaces
* removed trailing white spaces


  Commit: f335cf07c30536db7e0f4fbdfd1f3fbb3aec0add
      https://github.com/RIOT-OS/RIOT/commit/f335cf07c30536db7e0f4fbdfd1f3fbb3aec0add
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: set default verbosity to info


  Commit: a0796ae6e533081a3788bbc05e056817f1d77d5e
      https://github.com/RIOT-OS/RIOT/commit/a0796ae6e533081a3788bbc05e056817f1d77d5e
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: always perform input preprocessing


  Commit: 9a2c1d3c87bf83b14f7dd45f83a248e60c1ccbdb
      https://github.com/RIOT-OS/RIOT/commit/9a2c1d3c87bf83b14f7dd45f83a248e60c1ccbdb
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: split up input processing into separate functions


  Commit: cec44e3aed506ae8f11558a919e5f8e615d6fc20
      https://github.com/RIOT-OS/RIOT/commit/cec44e3aed506ae8f11558a919e5f8e615d6fc20
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: fixed usage line for /alias


  Commit: 431655a3f0e46ebd2015585fdcce7e4d72cef187
      https://github.com/RIOT-OS/RIOT/commit/431655a3f0e46ebd2015585fdcce7e4d72cef187
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: introduced trigger actions


  Commit: b1323bf0c399dbbc16f95598fb9ee37140ec33fd
      https://github.com/RIOT-OS/RIOT/commit/b1323bf0c399dbbc16f95598fb9ee37140ec33fd
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: use logger instead of print


  Commit: 02f7b610a5ca776b3bbd5ca82e5481fcbbb03048
      https://github.com/RIOT-OS/RIOT/commit/02f7b610a5ca776b3bbd5ca82e5481fcbbb03048
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: increase verbosity for alias command


  Commit: f76ae40861e876d14f3c3cea3b09fd1342a93fcd
      https://github.com/RIOT-OS/RIOT/commit/f76ae40861e876d14f3c3cea3b09fd1342a93fcd
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: use the rest of line for alias and trigger

Allows nested aliases and triggers


  Commit: 79844660a6ec41b25764bfcf5239a1c807de3c56
      https://github.com/RIOT-OS/RIOT/commit/79844660a6ec41b25764bfcf5239a1c807de3c56
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: enable interoperability with native TCP uart


  Commit: a6b276b734cc296c4a86b68be1850831f25e9afd
      https://github.com/RIOT-OS/RIOT/commit/a6b276b734cc296c4a86b68be1850831f25e9afd
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: ugly hack to make twisted optional


  Commit: aaccb81794a212bc3e1f1fcfc9297ee839459b85
      https://github.com/RIOT-OS/RIOT/commit/aaccb81794a212bc3e1f1fcfc9297ee839459b85
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: print warning if twisted is not available


  Commit: 9a09cba325c27e2dc5215c83fc78b152a6903b7a
      https://github.com/RIOT-OS/RIOT/commit/9a09cba325c27e2dc5215c83fc78b152a6903b7a
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: added some documentation


  Commit: 8c84df391e16215eda4ce9800d49564218f63b66
      https://github.com/RIOT-OS/RIOT/commit/8c84df391e16215eda4ce9800d49564218f63b66
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: added license


  Commit: a0f43ba73625daa292e728a5296ca1961c5f25ee
      https://github.com/RIOT-OS/RIOT/commit/a0f43ba73625daa292e728a5296ca1961c5f25ee
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: outsource serial connect to a separate function


  Commit: 8b9c54efaec9ba731b8d45b2cfd767773aa45e82
      https://github.com/RIOT-OS/RIOT/commit/8b9c54efaec9ba731b8d45b2cfd767773aa45e82
  Author: Oleg Hahm <oliver.hahm at inria.fr>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: make formatting string configurable


  Commit: af5291b7d71fef93fb9b6f448d80b764694aff38
      https://github.com/RIOT-OS/RIOT/commit/af5291b7d71fef93fb9b6f448d80b764694aff38
  Author: Oleg Hahm <oliver.hahm at inria.fr>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: handle TCP connection errors


  Commit: 73f6a0c51815144a128f3a368fafae73b1b69215
      https://github.com/RIOT-OS/RIOT/commit/73f6a0c51815144a128f3a368fafae73b1b69215
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: split connect and set_baudrate

Apparently, opening and setting the baudrate at the same time creates
problem for certain platforms (Arduino-Due).


  Commit: af24a947f6366c66ac4b812ba2885d2ee80c6689
      https://github.com/RIOT-OS/RIOT/commit/af24a947f6366c66ac4b812ba2885d2ee80c6689
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M dist/tools/pyterm/pyterm.py

  Log Message:
  -----------
  pyterm: make Guido happy


  Commit: 63401235580b77c2efd3f965af5936f4f5d8b80a
      https://github.com/RIOT-OS/RIOT/commit/63401235580b77c2efd3f965af5936f4f5d8b80a
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M Makefile.include
    M boards/arduino-due/Makefile.include
    M boards/msb-430-common/Makefile.include
    M boards/msba2-common/Makefile.include
    M boards/redbee-econotag/Makefile.include
    M boards/stm32f0discovery/Makefile.include
    M boards/stm32f4discovery/Makefile.include
    M boards/telosb/Makefile.include
    M boards/udoo/Makefile.include
    M boards/z1/Makefile.include

  Log Message:
  -----------
  make: introduced TERMFLAGS

Also added the missing -p flag for the new pyterm version where
necessary.


  Commit: cb85a901f2e7b33c669200fc8854c2525231cb8d
      https://github.com/RIOT-OS/RIOT/commit/cb85a901f2e7b33c669200fc8854c2525231cb8d
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M boards/arduino-due/Makefile.include
    M boards/msb-430-common/Makefile.include
    M boards/msba2-common/Makefile.include
    M boards/redbee-econotag/Makefile.include
    M boards/stm32f0discovery/Makefile.include
    M boards/stm32f4discovery/Makefile.include
    M boards/telosb/Makefile.include
    M boards/udoo/Makefile.include
    M boards/z1/Makefile.include
    A dist/tools/pyterm/pyterm
    R dist/tools/pyterm/pyterm.py
    M dist/tools/pyterm/setup.py

  Log Message:
  -----------
  pyterm: renamed pyterm.py to pyterm


  Commit: 04e256e7cf4028929dc39f74f377a4d049e659d1
      https://github.com/RIOT-OS/RIOT/commit/04e256e7cf4028929dc39f74f377a4d049e659d1
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-01 (Fri, 01 Aug 2014)

  Changed paths:
    M Makefile.include
    M boards/arduino-due/Makefile.include
    M boards/msb-430-common/Makefile.include
    M boards/msba2-common/Makefile.include
    M boards/redbee-econotag/Makefile.include
    M boards/stm32f0discovery/Makefile.include
    M boards/stm32f4discovery/Makefile.include
    M boards/telosb/Makefile.include
    M boards/udoo/Makefile.include
    M boards/z1/Makefile.include
    A dist/tools/pyterm/pyterm
    R dist/tools/pyterm/pyterm.py
    M dist/tools/pyterm/setup.py

  Log Message:
  -----------
  Merge pull request #1437 from OlegHahm/pyterm_improvements2

Pyterm improvements


Compare: https://github.com/RIOT-OS/RIOT/compare/4546c3f83cd6...04e256e7cf40


More information about the commits mailing list