Skip to content

Instantly share code, notes, and snippets.

View dillera's full-sized avatar

Andrew Diller dillera

View GitHub Profile
@dillera
dillera / hack-ports.sh
Created December 15, 2019 15:58
make irixports didbs branch work w/ any didbs release
# edit .port.sh
# Comment out PATH, and use the good path set in .bashrc (see my .bashrc gist for a working example)
# change the gcc compiler paths to point to proper didbs path (i.e. current)
# this allows you use use 'current' to point to whatever didbs you want, i.e
# i built my own didbs w/ MIPS4 and have current symlinked to that - but you can
# always just leave current symlinked with the binary distro you un-tarred
-------snippet-------
@dillera
dillera / irixdev.txt
Created December 15, 2019 15:52
Some commands and output to vaildate IRIX 6.5.x dev env
Ensure you have the LATEST 7.4.4 packages and the math.h patch installed:
bash-4.4# versions |grep 7.4.4
I c++_dev 09/25/2019 C++ Headers and Libraries, 7.4.4m
I c++_eoe 09/25/2019 Standard Execution Environment (C++ Headers and Libraries, 7.4.4m)
I c++_fe 09/30/2019 C++ Front-end, 7.4.4m
I c_dev 09/25/2019 C Headers and Libraries, 7.4.4m
I c_fe 09/30/2019 C Front-end, 7.4.4m
I compiler_dev 09/25/2019 Base Compiler Development Environment, 7.4.4m
I compiler_eoe 09/25/2019 IRIX Standard Execution Environment (Base Compiler Headers and Libraries, 7.4.4m)
@dillera
dillera / .bashrc_dec_2019
Last active January 12, 2020 16:59
sample .bashrc for using didbs .0.9 to build all sorts of wonderful modern packages
For bash you should have two dot files in your home dir:
.bash_profile
.bashrc
I keep profile very simple, and have everything in bashrc as you can see....
888 888 dP,e, ,e, 888
@dillera
dillera / i3-gaps-notes.txt
Created December 1, 2019 21:35
Installing i3 gaps on Lubuntu on MacBook 1,1
i3-gaps
* lubuntu on MacBook 1,1
* http://cdimage.ubuntu.com/lubuntu/releases/18.04.3/release/lubuntu-18.04-alternate-i386.iso
h2. Unxmal's Config:
https://github.com/unxmaal/dotfiles/blob/master/i3-config
@dillera
dillera / build-didbs-9.txt
Last active January 2, 2020 17:13
Building didbs 9
Building 0.1.9 - on Challenge/6.5.20
Full build path - assumes you do not have dids installed. Wget needs to be done by another system
$ su
# mkdir -p /usr/didbs
# chown myusername /usr/didbs
# exit
$ cd
$ wget https://github.com/danielhams/didbs/releases/download/0.1.9/usr-didbs-0.1.9-n32m3gcc.tar.gz
@dillera
dillera / didbs-6-verbose
Created October 25, 2019 11:12
didbs-6-verbose bootstrap
dillera@challenge /usr/didbs/didbs.git (master) $ V=1 ./bootstrap.pl \
> --packagedir /usr/didbs/didbs6gcc/packages \
> --builddir /usr/didbs/didbs6gcc/sources \
> --installdir /usr/didbs/didbs6gcc \
> --compiler gcc \
> --isa mips3 \
> --elfwidth n32
2019-10-25 11:06:20.470 didbs bootstrapper script version 0.1.6
2019-10-25 11:06:20.472
2019-10-25 11:06:20.488 Checking for /usr/didbs/current symbolic link..1
@dillera
dillera / build_world.sh
Last active September 29, 2019 17:24
Build the world of irixports
#!/usr/bin/env bash
# read in irixports src & local packages.db then build the rest
BASE=~/irixports/ports
DB=~/.local/packages.db
portsSrcArray=($(ls -1 $BASE))
localInstalledArray=($(cat $DB | awk '{ print $2 }'))
toBuildArray=(`echo ${localInstalledArray[@]} ${portsSrcArray[@]} | tr ' ' '\n' | sort | uniq -u `)
@dillera
dillera / rvxt
Last active September 26, 2024 14:19
rxvt terminal with 256 colors - for IRIX
rxvt|rxvt terminal with 256 colors (X Window System),
#
# (P) indicates that padding may be specified
#
# #[1-9] in the description field indicates that the string is passed through
# tparm with parms as given (#i).
#
# (P*) indicates that padding may vary in proportion to the number of lines
# affected
#
@dillera
dillera / .mrxvtrc
Last active July 22, 2019 01:09
mrxvt rc file for IRIX 6.5 with fixes for erase
# 2019 mrxvt config for IRIX
# from danielhams and internet
#
# comprehensive options at: https://github.com/markkolich/config/blob/master/terminals/mrxvt.rc
#
# ctl-shift-t - opens new tab
#
#
# Start mrxvt for SGI winterm
#
@dillera
dillera / bashrc
Last active November 27, 2019 14:18
A sample bashrc script for IRIX to build DIDBS
dillera@challenge /usr/didbs/didbs.git (master) $ cat ~/.bashrc
echo setup `hostname` basic env
echo ----------------------------
echo ' '
#stty intr '^C' echoe
export TERM=xterm
export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\\[\033[00m\] $ "