[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DDL-ML] rcsh und FB



Quoting Bernhard Schneider <Schneider-WF@t-online.de>:
> 
> Ganz am Anfang schreibt er folgendes:
> erddcd: client logged in on command port.
> storing loco [loco addr: 25, decoder: M5, dir: 1, speed: 0, functions: 0 0 0
> 0 0]
> 25: togglef 0
> SRCP sending: SET GL M5 25 1 0 27 1 4 0 0 0 0
> 25: togglef 0
> 
> Die letzten beiden Zeilen werden dann ständig wiederholt.

Das Problem hatte ich auch, hat mich bestimmt zwei Abende gekostet....

Es liegt eigentlich an der fehlenden Doku. rcsh nennt sich zwar "shell"
aber wenn ich das richtig sehe ist das nicht im Sinne von "bash" zu
verstehen, sprich: nicht interaktiv.

Der Trick besteht darin nicht rcsh.py auszuführen sondern ein Script zu
erstellen welches rcsh.py "included", siehe die Beispiele.

Für das Debian Paket habe ich folgendes README gebaut:

########################################################

rcsh for Debian
---------------

- you need Python 1.5, on my System the Programms cant connect to the 
  Server with Python 2.1....
  
- Starting the Demos/your own scripts: every program MUST include "rcsh". 
  For an example see "/usr/share/doc/rcsh/examples/bigboy.py"

	1. type: "python1.5 /path/demo.py"

	2. type: "/path/demo.py" if the first line is "#!/usr/bin/python1.5"
	   and the script is executeable.

 -- Frank Ronneburg <fr@openoffice.de>, Sun, 18 Nov 2001 01:17:46 +0100

###########################################################

Das BigBoy Beispiel gibt es nur im Debian Paket, ist aber nicht wirklich
wichtig.

Wichtig war noch das es mit Python 2.1 nicht funktioniert...

hope it helps.....

Frank

-- 
    Debian GNU/Linux|Hurd Infos und CDs: http://www.openoffice.de[/linux/]
    i386 / powerpc / alpha / m68k / sparc / arm  -  2.1 / 2.2 / 3.0 / ...
GPG Key:887EB817 2000-12-12 FD97 87F0 A948 E412 E2AF  F742 5F9D D632 887E B817
PS. Yes - it's free of any minix code, and it has a multi-threaded fs. - Linus

Attachment: pgp00004.pgp
Description: PGP signature