Kaynağa Gözat

Comment/constant changes

Artur Efimov 6 yıl önce
ebeveyn
işleme
611a3bed2e
3 değiştirilmiş dosya ile 25 ekleme ve 7 silme
  1. 10 0
      data/bin/blackbox.sh
  2. 1 1
      data/bin/compile.sh
  3. 14 6
      src/term/README.md

+ 10 - 0
data/bin/blackbox.sh

@@ -0,0 +1,10 @@
+#!/bin/bash
+# This script is run by FreeOberon on Linux. Current directory of the
+# script will be where FreeOberon executable is located. This
+# particular script is for console programs compiled with Blackbox.
+cd data/bin/bbcp
+BBCP=./blackbox
+echo "ConsCompiler.Compile('Programs/Mod','$1')" | $BBCP
+retcode=$?
+cd ../../..
+exit $retcode

+ 1 - 1
data/bin/compile.sh

@@ -19,7 +19,7 @@ along with Free Oberon.  If not, see <http://www.gnu.org/licenses/>.
 IMPORT G := Graph, T := Terminal, Files, Modules,
        OV, Editor, Term, Config, Strings, Out;
 CONST
-  version* = '1.0.4';
+  version* = '1.0.3';
 
   (* Direction of Selection *)
   dirLeft  = 0;

+ 14 - 6
src/term/README.md

@@ -1,9 +1,17 @@
 # Crossplatform Pipe Support
-This tiny library is created for crossplatform pipe support. It is needed by the virtual terminal of Free Oberon.
-When a program is being run in the IDE, Free Oberon creates a child process and attaches a pipe to its stdin and stdout. This way a program may run both in real terminal and inside Free Oberon IDE.
+This tiny library is created for crossplatform pipe support. It is needed
+by the virtual terminal of Free Oberon.
+When a program is being run in the IDE, Free Oberon creates a child process
+and attaches a pipe to its stdin and stdout. This way a program may run
+both in real terminal and inside Free Oberon IDE.
 
-When you run `make -f Makefile_linux` or `make -f Makefile_win32`, one of the two files is automatically selected for compilation: `term_win32.c` or `term_linux.c`:
-* `term_linux.c` is a GNU/Linux version (tested on Debian), it uses fork, dup2, execl, fcntl and waitpid.
-* `term_win.c` is a Windows version, it uses WinAPI (CreateNamedPipeA and other functions).
+When you run `make -f Makefile_linux` or `make -f Makefile_win32`, one of
+the two files is automatically selected for compilation: `term_win32.c`
+or `term_linux.c`:
+* `term_linux.c` is a GNU/Linux version (tested on Debian), it uses fork,
+dup2, execl, fcntl and waitpid.
+* `term_win.c` is a Windows version, it uses WinAPI (CreateNamedPipeA and
+other functions).
 
-The source code of Free Oberon includes an Oberon binding for this library (Term.Mod) and uses it in a cross-platform way.
+The source code of Free Oberon includes an Oberon binding for this library
+(Term.Mod) and uses it in a cross-platform way.