UNIX

From pega.life
Revision as of 20:20, 13 May 2024 by 172.17.0.1 (talk) (pkgsrc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

RETRO DESKTOP/PC UNIX[edit]

OSes[edit]


QNX[edit]

https://forums.openqnx.com/t/topic/5043/4 If you only have one QNX partition, which is mounted as /, you can just touch /.longfilenames chmod 444 /.longfilenames chown root:root /.longfilenames

You will need to umount and mount the partition again before it can take effect. It usually means a reboot, especially if you are working on the root partition.

pkgsrc https://archive.netbsd.org/pub/pkgsrc-archive/packages/QNX/i386/6.5.0_head_20110826/

# PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH"
# PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages"
# PKG_PATH="$PKG_PATH/OPSYS/ARCH/VERSIONS/All/"
# export PATH PKG_PATH
# pkg_add pkgin

$ CVS_RSH=ssh cvs -danoncvs@anoncvs.NetBSD.org:/cvsroot checkout -r pkgsrc-2024Q1 -P pkgsrc

bash
TERM=vt100
PS1='\h:\w# '
export ACCEPT_INFERIOR_RM_PROGRAM=yes

cp -r pkgsrc-2019Q1/{Makefile,mk,pkgtools,lang/nawk,textproc/nbsed,bootstrap} pkgsrc-qnx/
CCLD     libarchive.la
./libtool: libarchive/archive_options.lo: cannot execute - Permission denied
Memory fault (core dumped) 
*** [libarchive.la] Error code 139

bmake[1]: stopped in /root/pkgsrc-qnx/bootstrap/work/libarchive
add# pwd
/root/pkgsrc-qnx/bootstrap/work/pkg_install/add
add# gcc -L/root/pkgsrc-qnx/bootstrap/work/libnbcompat -L../lib -o pkg_add main.o perform.o -linstall /root/pkgsrc-qnx/bootstrap/work/libarchive/.libs/libarchive.a -lsocket  -lnbcompat 
../lib/libinstall.a(remove.o): In function `safe_fchdir':
/root/pkgsrc-qnx/bootstrap/work/pkg_install/lib/remove.c:68: undefined reference to `fchdir'
../lib/libinstall.a(remove.o): In function `recursive_remove_internal':
/root/pkgsrc-qnx/bootstrap/work/pkg_install/lib/remove.c:148: undefined reference to `fchdir'
collect2: ld returned 1 exit status
add# 
pkgsrc[edit]
mkdir -p pkgsrc-qnx/{sysutils,lang,textproc,devel,archivers,net}
cp -r pkgsrc-2019Q1/{Makefile,mk,licenses,pkgtools,bootstrap} pkgsrc-qnx/
cp -r pkgsrc-2019Q1/sysutils/install-sh pkgsrc-qnx/sysutils/
cp -r pkgsrc-2019Q1/lang/gcc8 pkgsrc-qnx/lang/
cp -r pkgsrc-2024Q1/devel/bmake pkgsrc-qnx/devel/
cp -r pkgsrc-2024Q1/lang/nawk pkgsrc-qnx/lang/
cp -r pkgsrc-2024Q1/textproc/nbsed pkgsrc-qnx/textproc/
cp -r pkgsrc-2024Q1/pkgtools/libnbcompat pkgsrc-qnx/pkgtools/
cp -r pkgsrc-2019Q1/pkgtools/pkg_install pkgsrc-qnx/pkgtools/
cp -r pkgsrc-2019Q1/archivers/libarchive pkgsrc-qnx/archivers/
cp -r pkgsrc-2019Q1/net/libfetch pkgsrc-qnx/net/
cp libfetchMakefile2019 pkgsrc-qnx/net/libfetch/files/Makefile 
cp -p pkgsrc-old/bootstrap/*20?? pkgsrc-qnx/bootstrap/

cd pkgsrc-qnx/bootstrap
./bootstrap2019
./pkg_build2015 --make-jobs 4# pkg_install (no libarchive)
./mk-files2019  --make-jobs 4

libarchive 2017 core dump libarchive 2024 fchdir libarchive 2015 libarchive 2019

SCO 4.2[edit]

OpenDeskTop is nothing else than SCO Unix 4.2 bundled with X11 and TCP/IP https://ftp.sco.com/TLS/file.list

https://mezzantrop.wordpress.com/2021/02/07/notes-on-installing-sco-open-desktop-release-3-0-in-2021/

Create a VirtualBox guest machine with the above shown characteristics Grab the OS distribution here: https://winworldpc.com/download/41c2b04d-2d18-c39a-11c3-a4e284a2c3a5 and extract files from 7-zip archive. There is a file serial.txt with serial number/code – Sn: SOT552746, Ak: kqpzdsso which is for SCO Open Desktop Release 3.0 Distribution missed N1 boot disk. Grab it from SCO FTP server: ftp://ftp.sco.com/pub/SLS/uod383bon1.Z, don’t mix it with the other boot disk which is for SCO UNIX OS: uod383bun1.Z. Uncompress the boot disk image and rename it just to look nicer: $ uncompress uod383bon1.Z $ mv uod383bon1 uod383bon1.img Insert the uod383bon1.img into the virtual floppy drive and pedantically follow the installation instructions, by inserting and sometimes re-inserting all the 40+ diskettes into the virtual floppy drive. Download, uncompress and install all the necessary Advanced Hardware Supplement (AHS) for the new drivers: ftp://ftp.sco.com/pub/AHS/3.0/sco/3.4/135/ Download, uncompress and install all the necessary Support Level Supplements (SLS) to update OS and drivers: ftp://ftp.sco.com/pub/SLS/ To enable network in our minimal configuration install ftp://ftp.sco.com/pub/AHS/3.0/sco/3.4/135/lli.Z and ftp://ftp.sco.com/pub/SLS/net387a.Z to configure AMD Pcnet-PCI LAN driver

Software[edit]