[Snek] [keith-packard/snek] 65557d: snekserver: allow network connections to a single ...

Misha Gusarov noreply at github.com
Sun Oct 11 13:08:36 PDT 2020


  Branch: refs/heads/main
  Home:   https://github.com/keith-packard/snek
  Commit: 65557dcbac93699a6433776864cf09ad65480e08
      https://github.com/keith-packard/snek/commit/65557dcbac93699a6433776864cf09ad65480e08
  Author: Misha Gusarov <dottedmag at dottedmag.net>
  Date:   2020-10-11 (Sun, 11 Oct 2020)

  Changed paths:
    M ports/ev3/.gitignore
    M ports/ev3/Makefile
    M ports/ev3/snek-ev3.h
    M ports/ev3/snek-main.c
    A ports/ev3/snekserver.c
    M ports/ev3/utils.c
    M ports/ev3/utils.h

  Log Message:
  -----------
  snekserver: allow network connections to a single Snek instance

This functionality ought to be implemented in inetd, systemd or socat, but none
of them provide "replace old client with new one" option.

Signed-off-by: Misha Gusarov <dottedmag at dottedmag.net>


  Commit: 36a617ba2702f4a3f4371d01cf2486ebba92f932
      https://github.com/keith-packard/snek/commit/36a617ba2702f4a3f4371d01cf2486ebba92f932
  Author: Misha Gusarov <dottedmag at dottedmag.net>
  Date:   2020-10-11 (Sun, 11 Oct 2020)

  Changed paths:
    M ports/ev3/snek-main.c

  Log Message:
  -----------
  Fix broken non-interactive mode in snek-ev3

snek_getc() was completely confused, so snek-ev3 --file X didn't work.

Switch to -i/--interactive while doing so to match snek-posix.

Signed-off-by: Misha Gusarov <dottedmag at dottedmag.net>


  Commit: b6ef826bdb54d54c5d0ff006a29250fcd840b0fe
      https://github.com/keith-packard/snek/commit/b6ef826bdb54d54c5d0ff006a29250fcd840b0fe
  Author: Misha Gusarov <dottedmag at dottedmag.net>
  Date:   2020-10-11 (Sun, 11 Oct 2020)

  Changed paths:
    M ports/ev3/Makefile
    M ports/ev3/snek-ev3.builtin
    M ports/ev3/snek-main.c
    M ports/ev3/snekserver.c
    M ports/ev3/utils.c
    M ports/ev3/utils.h

  Log Message:
  -----------
  Implement reset, eeprom.write, eeprom.erase, eeprom.show in snek-ev3

Signed-off-by: Misha Gusarov <dottedmag at dottedmag.net>


  Commit: 11924eaaaf8884e14de60e999907cdf38f3bef55
      https://github.com/keith-packard/snek/commit/11924eaaaf8884e14de60e999907cdf38f3bef55
  Author: Misha Gusarov <dottedmag at dottedmag.net>
  Date:   2020-10-11 (Sun, 11 Oct 2020)

  Changed paths:
    M ports/ev3/snek-main.c
    M ports/ev3/snekserver.c

  Log Message:
  -----------
  ev3: Add "raw" mode that enables line editing/echoing in Snek

Mu/snekde do not do any local echoing/line editing, so this mode is enabled by
snekserver.

Signed-off-by: Misha Gusarov <dottedmag at dottedmag.net>


Compare: https://github.com/keith-packard/snek/compare/2943452e3aa1...11924eaaaf88


More information about the Snek mailing list