From: Rafał Długołęcki Date: Fri, 28 Jun 2013 08:41:24 +0000 (+0200) Subject: Added upstream version. X-Git-Tag: initial-upstream X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=9db87b545def5d31a64608f2eb082d915ad5efa4;p=vlp.git Added upstream version. --- 9db87b545def5d31a64608f2eb082d915ad5efa4 diff --git a/CHANGES b/CHANGES new file mode 100644 index 0000000..33e4815 --- /dev/null +++ b/CHANGES @@ -0,0 +1,61 @@ +1997.11.26 + + loggraph: Dodany nowy komunikat GRAPH_MAGIC (magiczna grafika!!) + logint: HFONT8 wysyla GRAPH_MAGIC + logedit: zmiana czcionki w menu + +1997.11.27 + + loggraph:1) poprawione odczytywanie znaku z klawiatury, poprzednio + gubil znaki !!! + 2) poprawione readln + logedit: rozbudowany edytor- dodane "find", "copy", "paste","save as" + +1997.12.01 + + loggraph: 1) skrocona MESSAGE dla graph - G_MESSAGE + 2) poprawione inkey - wczesniej blokowalo! + +1997.12.03 + logedit: wypisuje pozycje kursora + logint: wypisywanie bledow na zasobie graficznym a nie na stderr + +1997.12.05 + logcomp: preprocesor dla kompilatora, mozna uzywac #include + logedit: poprawiony wskaznik pozycji kursora + +1997.12.12 + logker: zmienione dlugosci cmd dla funkcji 'system' (byly za male!) + logker: zrobione opcje "Connect" i "Info" + logedit: wyrzucona opcja 'Help' i dodana do logker + loghelp: mikro- przegladarka do HTML, + +1997.12.15 + inkey: zwraca kody klawiszy funkcyjnych + klasa "Machine": klasa funkcji zwracajacych informacje o Maszynie + Wirtualnej + dokumentacja: uzupelniona dokumentacja do klasy Machine, ANSI i inkey + +1998.01.07 + Zmieniona koncepcja modulu GRAPH, teraz kazdy interpreter ma swoj + wlasny modul GRAPH !!! + +1998.01.09 + Poczatek klasy GUI: Read/Write Int, Text, Real, Char + +1998.01.10 + Dodane: PutImgFile do klasy GUI kopiuje .BMP,.XPM .GIF + +1998.01.12 + Zrobiona klasa GUI + +1998.01.13 + Poprawione accept() w cint.c, bo Linux ma tu blad! + +1998.01.14 + Zmieniony sposob transmisji pliku z kodem, w zwiazku z tym + zmniejszenie dlugosci struktury MESSAGE + +1998.01.15 + Dolaczona opcja TCP_NODELAY do wszystkich gniazdek, chyba chodzi + szybciej! diff --git a/Dir b/Dir new file mode 100644 index 0000000..dd5c850 --- /dev/null +++ b/Dir @@ -0,0 +1,11 @@ +### Includes for QT library +QINC=/usr/lib/qt-1.45/include + +### QT library directory +QLIB=/usr/lib/qt-1.45/lib + +### moc compiler directory +MOCDIR=/usr/lib/qt-1.45/bin + +### Install directory +INSTALLDIR=/usr/local/vlp diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..51765f9 --- /dev/null +++ b/INSTALL @@ -0,0 +1,42 @@ +Pre-requisite: + Prior To compile and run Virtual LOGLAN Processor you should compile + the QT library.(You may consult the file "inst/LICENSE.QT" for more informations + about the QT. + Read the file + installQT.html + and follow the instructions contained there. + + + +First, you MUST edit the file "Dir" and set the proper directories: + +QINC - directory where the QT library includes are stored +QLIB - directory where you have your QT library (ver. 1.30) +MOCDIR - QT library has a special compiler named "moc", write + the directory where this compiler is stored + +INSTALLDIR - directory where the Virtual LOGLAN Processor will be + installed + +Next, run the following: + + ./configure + +to configure source files + + make + +to build VLP and + + make install + +to install Virtual LOGLAN Processor + +Now you must configure your "vlp.cfg" file which is stored in +the instalation directory. +WARNING! Variable "homedir" should point to the directory where +you have program "logker" installed. This MUST be a full path !!! + + + + diff --git a/InstallVLP.html b/InstallVLP.html new file mode 100644 index 0000000..feedcaf --- /dev/null +++ b/InstallVLP.html @@ -0,0 +1,70 @@ + + + + installation of VLP + + + + +

Installing VLP - Virtual Loglan Processor
+

+

Pre-requisite:

+ Prior to compile and run Virtual LOGLAN Processor you should install + the QT library qt-1.45.(You may consult the +file "inst/LICENSE.QT" for more informations about the QT.
+If your system does not contain the library qt-1.45 (nowadays most systems +contains a newer, yet incompatible version of qt library)
+Read the file
+     installQT.html
+ and follow the instructions contained there.
+    
+
+ +

Installation:

+
    +
  1. Create an empty directory e.g. 
    +    /usr/local/vlp.build
  2. +
  3. Put the file
    +   vlp26.tgz
    +in this directory.
  4. +
  5. Extract the files executing  e.g
    +    gunzip vlp26.tgz
    +    tar -xvf vlp26.tar
  6. +
  7.  First, you MUST edit the file "Dir" + and set the proper directories:
    +QINC - directory where the QT library includes are stored, usually, /usr/lib/qt-1.45/include
    + QLIB - directory where you have your QT library, usually, /usr/lib/qt-1.45/lib
    + MOCDIR - QT library has a special compiler named "moc", write +the directory where this compiler is stored, usually, /usr/lib/qt-1.45/bin
    + INSTALLDIR - directory where the Virtual LOGLAN Processor will be + installed e.g.
    +     /usr/local/vlp.
  8. +
  9.  Next, run the following:
    +      ./configure
    + to configure source files, 
  10. +
  11. execute
    +     make
    + to build VLP and 
  12. +
  13. execute
    +     make install
    + to install Virtual LOGLAN Processor.
  14. +
  15. Now you should configure your "vlp.cfg" file which is stored in the + instalation directory.  
    +Assure that the variable node_number has different value on each computer +you installed VLP.
    +This is required to identify the nodes of virtual distributed Loglan +multiprocessor. 
  16. +
  17. WARNING! Variable "homedir" should point to the directory where you + have program "logker" installed. This MUST be a full path !!!
    + something like
    +      /usr/local/vlp
  18. +
  19. If everything went smoothly and your VLP works correctly you may wish +to delete the directory
    +   /usr/local/vlp.build
    +
  20. + +
+
+ + + diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c726cd1 --- /dev/null +++ b/Makefile @@ -0,0 +1,74 @@ +### Includes for QT library +QINC=/usr/lib/qt-1.45/include + +### QT library directory +QLIB=/usr/lib/qt-1.45/lib + +### moc compiler directory +MOCDIR=/usr/lib/qt-1.45/bin + +### Install directory +INSTALLDIR=/usr/local/vlp + + +all: + cd graph; $(MAKE) + cd net; $(MAKE) + cd kernel; $(MAKE) + cd int; $(MAKE) + cd edit; $(MAKE) + cd lgconfig; $(MAKE) + cd preproc; $(MAKE) + cd help; $(MAKE) + +clean: + cd graph; $(MAKE) clean + cd net; $(MAKE) clean + cd kernel; $(MAKE) clean + cd int; $(MAKE) clean + cd edit; $(MAKE) clean + cd lgconfig; $(MAKE) clean + cd preproc; $(MAKE) clean + cd help; $(MAKE) clean + +install: + rm -r -f $(INSTALLDIR) + mkdir $(INSTALLDIR) + mkdir $(INSTALLDIR)/doc + mkdir $(INSTALLDIR)/pics + mkdir $(INSTALLDIR)/modules + mkdir $(INSTALLDIR)/config + mkdir $(INSTALLDIR)/compile + mkdir $(INSTALLDIR)/doc/lang + mkdir $(INSTALLDIR)/examp + cp -r examp/* $(INSTALLDIR)/examp + cp inst/loglan $(INSTALLDIR)/compile + cp inst/gen $(INSTALLDIR)/compile + cp preproc/logcomp $(INSTALLDIR)/compile + cp inst/logo.bmp $(INSTALLDIR)/config + cp lgconfig/lgconfig $(INSTALLDIR)/config + cp -r doc/* $(INSTALLDIR)/doc + cp net/lognet $(INSTALLDIR)/modules + cp int/logint $(INSTALLDIR)/modules + cp graph/loggraph $(INSTALLDIR)/modules + cp edit/logedit $(INSTALLDIR)/modules + cp inst/close.bmp $(INSTALLDIR)/pics + cp kernel/logker $(INSTALLDIR) + cp help/loghelp $(INSTALLDIR)/modules + cp inst/LICENSE.GNU $(INSTALLDIR) + cp inst/LICENSE.QT $(INSTALLDIR) + echo node_number=1 > $(INSTALLDIR)/vlp.cfg + echo type=explicit >> $(INSTALLDIR)/vlp.cfg + echo homedir=$(INSTALLDIR) >> $(INSTALLDIR)/vlp.cfg + echo progdir=./ >> $(INSTALLDIR)/vlp.cfg + chmod a+rwx $(INSTALLDIR) + chmod a+rx $(INSTALLDIR)/doc + chmod a+rx $(INSTALLDIR)/pics + chmod a+rwx $(INSTALLDIR)/modules + chmod a+rx $(INSTALLDIR)/config + chmod a+rwx $(INSTALLDIR)/compile + chmod a+rx $(INSTALLDIR)/doc/lang + chmod a+rwx $(INSTALLDIR)/examp + chmod a+rx $(INSTALLDIR)/logker + chmod a+rx $(INSTALLDIR)/modules/* + chmod a+rx $(INSTALLDIR)/compile/* diff --git a/configure b/configure new file mode 100755 index 0000000..4dc55f9 --- /dev/null +++ b/configure @@ -0,0 +1,11 @@ +#!/bin/sh + +cat Dir graph/mfile > graph/Makefile +cat Dir net/mfile > net/Makefile + +cat Dir kernel/mfile > kernel/Makefile +cat Dir lgconfig/mfile > lgconfig/Makefile +cat Dir edit/mfile > edit/Makefile +cat Dir preproc/mfile > preproc/Makefile +cat Dir help/mfile > help/Makefile +cat Dir ./mfile > ./Makefile diff --git a/doc/ansi.html b/doc/ansi.html new file mode 100644 index 0000000..a68f0e8 --- /dev/null +++ b/doc/ansi.html @@ -0,0 +1,24 @@ + + + + +Class ANSI
+Class ANSI implements simple operations in the text mode. + +
+Return to Index + + diff --git a/doc/gui.html b/doc/gui.html new file mode 100644 index 0000000..b5b1da1 --- /dev/null +++ b/doc/gui.html @@ -0,0 +1,12 @@ + + + + class GUI - Graphic User Interface +
+ + + + diff --git a/doc/gui1.html b/doc/gui1.html new file mode 100644 index 0000000..095b343 --- /dev/null +++ b/doc/gui1.html @@ -0,0 +1,92 @@ + + + +GUI procedures and functions
+