Index of /AS400/

NameLast ModifiedSizeType
../ -  Directory
README.txt2023-Aug-18 06:45:032.1Ktext/plain; charset=utf-8
doom.tar2023-Aug-18 06:36:5533.3Mapplication/x-tar
dopewars.tar2023-Aug-18 06:36:585.3Mapplication/x-tar
elinks.tar2023-Aug-18 06:37:1544.7Mapplication/x-tar
  ___   _____    ___ _____  _____    ________________  ____ 
 / _ \ /  ___|  /   |  _  ||  _  |  / /_   _| ___ \  \/  (_)
/ /_\ \\ `--.  / /| | |/' || |/' | / /  | | | |_/ / .  . |_ 
|  _  | `--. \/ /_| |  /| ||  /| |/ /   | | | ___ \ |\/| | |
| | | |/\__/ /\___  \ |_/ /\ |_/ / /   _| |_| |_/ / |  | | |
\_| |_/\____/     |_/\___/  \___/_/    \___/\____/\_|  |_/_|




Here are some instructions how to run X11 programs on AS400/IBMi on the PUB400.com 
If you have your own AS400/IBMi the instruction will probably differ, but you then
can just adjust accordingly 

Also included are a couple of games 

- Doom (prboom - compiled on AIX 5.1) 
- Dopewars (compiled on AIX 5.1) 
- Elinks   (compiled on AIX 5.1) 

On the client side first make sure you have Xephyr/Xnest and use X11 forwarding if you want to play doom and run 
 
(This is on my MacOS) 

 Run Xephyr 
 ----------

/opt/X11/bin/Xephyr  -listen tcp -ac :1.0 -screen 1200x700:24   

 Connect with X11 forwarding 
 (adjust to your needs - if you have an account on pub400.com change the user) 
 -----------------------------------------------------------------------------

DISPLAY=:1 ssh -Y -p 2222 user@pub400.com 


Next on the AS400/IBMi 
Here are some instructions to be done on AS400/IBMi side 

 Define some environment variables 
 if we want to run a nice remote X11 desktop  
 -------------------------------------------

export TERM=aixterm
export PATH=/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin:/QOpenSys/pkgs/bin/ 
mwm 


 Download/extract doom.tar and dopewars.tar games (if you wish to play them on the AS400/IBMi) 
 and change the LD_LIBRARY_PATH to customize to your need 
 Included is also a www ASCII browser Elinks 

 DOOM 
 ----
tar -xvf doom.tar
cd doom
export LD_LIBRARY_PATH=/path/to/this/dir/
./prboom -nofullscreen -nosound -iwad doom.wad


 DOPEWARS 
 --------
tar -xvf dopewars.tar
cd dopewars 
touch dopewars.sco 

(to run server) 

export LD_LIBRARY_PATH=/path/to/this/dir/
./dopewars -S -p 34000 -d ./dopewars.sco

(to run client)

export LD_LIBRARY_PATH=/path/to/this/dir/
./dopewars -a -d ./dopewars.sco


 ELINKS 
 ------ 
tar -xvf elinks.tar
cd elinks
export LD_LIBRARY_PATH=/path/to/this/dir/
./elinks 

Enjoy! 
Webserver 1.0