Index of /NetBSD/macppc/

NameLast ModifiedSizeType
../ -  Directory
README.txt2021-Sep-28 19:36:172.8Ktext/plain; charset=utf-8
ast.tar.gz2021-Sep-28 18:07:5372.9Mapplication/x-gtar-compressed
dt.tar.gz2021-Sep-28 18:05:0221.6Mapplication/x-gtar-compressed
ksh2021-Sep-28 18:05:153.9Mapplication/octet-stream
----------------------------------------------------------------------------
 _   _      _  ______  ___________                                          
| \ | |    | | | ___ \/  ___|  _  \                                         
|  \| | ___| |_| |_/ /\ `--.| | | |  _ __ ___   __ _  ___ _ __  _ __   ___  
| . ` |/ _ \ __| ___ \ `--. \ | | | | '_ ` _ \ / _` |/ __| '_ \| '_ \ / __| 
| |\  |  __/ |_| |_/ //\__/ / |/ /  | | | | | | (_| | (__| |_) | |_) | (__  
\_| \_/\___|\__\____/ \____/|___/   |_| |_| |_|\__,_|\___| .__/| .__/ \___| 
                                                         | |   | |          
                                                         |_|   |_|    

----------------------------------------------------------------------------

Build I did under qemu-system-macppc 

CDE 2.3.2   
---------

- We will need some packages installed first 

pkg_add motif
pkg_add gmake 
pkg_add wget 
pkg_add meson  

- in order to run CDE on NetBSD 9.2 macppc you need to have a proper korn shell binary 
- you can compile it from source or download binaries from here (if you trust me (-: ) 
- 61e42f022d79cce81047c82a9a9b7f7fee19443986a7d3c95c8dc82f36e2230a  ksh 

- Assuming you already have NetBSD (9.2) in place on your macppc system 

- Download AST KSH binary and save in /usr/pkg/bin/ksh93

wget http://45.76.81.249/NetBSD/macppc/ksh 
mv ksh /usr/pkg/bin/ksh93
chmod +x /usr/pkg/bin/ksh93 

- Make sure it runs fine 

/usr/pkg/bin/ksh93 --version
  version	sh (AT&T Research) 2020.0.0  

- If you wish to compile AST KSH from sources you can do so 
- Download the ast.tar.gz to your SRC directory 
- (I have included the pre-configured meson buld in the ast.tar.gz) 
- (needs the original path as /home/user/SRC/ast ) 
- (but you can re-configure via meson again and just build it - sources are patched to compile 
- (on the macppc NetBSD)  


- Download dt.tar.gz 
- 374fd2b8fc3ca97c66b131462d7170b463e3a99479617ff5f5594b439a4eb342  dt.tar.gz 

wget http://45.76.81.249/NetBSD/macppc/dt.tar.gz 
gunzipt dt.tar.gz 
mv dt.tar /usr 
cd /usr
tar -xvf dt.tar 
rm dt.tar 

- Now you will need to configure /etc/rc.conf and add the following 

rpcbind=YES
rpcbind_flags="-l"

- Load rpcbind 

# /etc/rc.d/rpcbind start 

- And add your $HOSTNAME to /etc/hosts as follows (change accordingly)  

::1		netbsd-macppc localhost localhost.
127.0.0.1	netbsd-macppc localhost localhost. 
 
- To start CDE run the following from your shell 

startx /usr/dt/bin/Xsession 

- If you are using remote Xorg (Xephyr/Xnest) you can define your remote host and set $DISPLAY 

export DISPLAY=hostname:1 

- And catch the remote session (over SSH tunnel for example) on your Xephyr instance on hostname 

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

- And just run the following on the macppc to start the CDE session 

/usr/dt/bin/Xsession

Enjoy CDE on the PPC Mac :) 
 
Webserver 1.0