Christian Remnant Now / ๐ป Unix
My son, fear thou the LORD and the king: and meddle not with them that are given to change: Prov 24:21

I am what one would call an โold school hackerโ. Not like you see portrayed in the movies, breaking into government computers and stealing information. But real hackers are folks who like to learn about technology and modify it for their own use. Any technology, not just computers. I worked for 30+ years with Unix systems. Now I just handle mailing lists for a printing company, in North Dakota (not much tech here).
But I still love to use UNIX/Linux (I will mix the terms going forward, get use to it). I write code for my personal use, just for fun. I also maintain this website and use it to study the Bible. see About
Side note: Background is โgreen-barโ like the old computer lab paper.
When I was in the IT work place, it was as:
- Sysadmin (HP, IBM, SCO, Linux, etcโฆ)
- Instructor (Sun Solaris HW/SW)
- Consultant (Unix Sysadmin, automation, and integration)
- Field tech (Parts monkey)
- Manager (very brief)
Listed now in Wiby!
Page Contents:
- Unix
- Markdown
- /rdb
- My scripts
- Web scripts
- My config files
- DosBox Hey! Who put that on this page? ๐ค
- cli kjv
- Unix Fun
- Unix Links
- Quick References Moved and Expanded
- Tech books I like
UNIX - A computer operating system
Those who do not understand Unix are condemned to reinvent it, poorly.
Why I like Unix
I was thinking about this today (7/27/2021), as I was changing the โlmโ script. I donโt even remember the place I got it from anymore. But I used it and thought it was handy. Then I wanted some color, so I changed it. Then I wanted mp3 files supported. Next I added a total play time. This last mod happened when I tried to point to another directory and it did not support it.
It (Unix) allows me to do what I want, the way I want it, when I want it. Its free, powerful, not a resource pig, and once you master the shell, you can do just about anything you can think of. It puts the power in the users hands.
I started this website with some basic understanding of HTML, and decided to use Markdown to keep it simple. The more I worked with the site, it became a hassle. So I wrote some scripts, (site and web) to manage it. Then modified .vimrc to support Markdown macros I wanted. Now it takes me a couple of minutes to manage the site. Most of it is completely automated.
Oh, and the cost? FREE!
See: Introduction to Unix/Linux for more information as to why you should consider it.
I have been using UNIX or some variant of it for most of my life. I have used many flavors over the years. This is a sampling of my personal favorites:
- Coherernt on a 286 clone
- SCO Xenix on a Tandy Business system
- AIX on IBM RISC 6000 hardware
- HP/UX on HPโs PA RISC
- Solaris on Sparc, & Ultra Sparc
- BSD on a 386 clone
- Linux My current desktop OS, Laptop
History of UNIX
๐ A UNIX System Implementation for System/370 Posted: 12/15/21
๐ The Unix Heritage Wiki Posted: 06/27/21
๐ The Unix Philosophy Posted: 07/19/21
๐ How We Spent Our Summer Vacation Posted: 07/19/21
ATT archives: The Unix Operating System Duration: 00:27 Posted: 06/26/21
Unix pipeline Brian Kernighan Computerphile Duration: 00:05 Posted: Thursday 08/26/2021
SunOS Unix Nostalgia Duration: 00:02 Posted: 06/26/21
Coherent 4 Duration: 00:05 Posted: 06/26/21
BBS: The Documentary Episode 1 of 8 Baud The Beginning Duration: 00:39 Posted: 06/30/21
๐ UNIX videos and the rest of the BBS documentary.
๐ Related documents
Unix is basically simple operating system, but you have to be a genius to understand the simplicity.
- AWK paper
- Coherent Device Driver Kit
- Coherent Manual Ad #1 Ad #2
- Coherent Pocket Reference
- Coherent X11r5
- C Traps and Pitfalls
- UNIX PROGRAMMERโS MANUAL
- UNIX Programming Environment
๐ Markdown
A simple markup language that can be used with Vi (or Vim)
This is what I use to maintain my website, keep all of my notes (technical, Bible, personal), and write in. It can be easily converted to HTML, PDF, docx, etcโฆ
Some sites with tools and information on it:
- Why all youโll ever need is Markdown A good introduction into the topic
- Markdown Guide A good place to learn it
- Markdown Home The place it came from
- Multimarkdown Easy to use converter
- Pandoc A more powerful converter
Markdown: The easiest way to make presentations Pandoc markdown Duration: 00:08 Posted: 06/05/21
Some markdown examples and documents
- KJV Bible in markdown
- unix.md The source for this web page (Fixed to always be up to date)
- Makefile A Makefile for markdown
Christian Remnant Nowโs AV Bible in HTML
- KJ Introduction
- Master Menu
- Old Testament Sub Menu
- New Testament Sub Menu
- Chapter Menu
- Jump to Old/New/Chapters/Archaic Words/Names Meanings
Red Letter - Scofield Reference Bible Book Introductions 1917 (they are public domain)
- Appendixes
- Archaic words
- Bible Names
- Topics listing
- Accepting Christ as you Savour
- Single HTML file, plain text, no graphics, no JavaScript, for true portability!
CRNโs AV Bible in HTML PDF EPUB
- Complete source in zip
- compile RAW Script used to to run Pandoc conversion.
- template.html Pandoc template called by the above script.
Note: This implementation of the King James Bible works well with text mode browsers like Linx.
Vim tips
Vim Tips You Probably Never Heard Of Duration: 00:12 Posted: 07/17/21
๐๐ /rdb
A relational database that turns the shell into a 4gl.
The following files contain tab separated text databases that can be used with /rdb.
The Computer Chronicles: Easy To Use Databases Duration: 00:26 Posted: 06/05/21
๐๐ Some of my scripts
Where there is a shell, there is a way.
- bd raw Bible dictionary, lookup and random feature
- config raw
- fclock fuzzy clock, not my code
- ft fun text, displays strings in fun ways
- get raw download manager that uses youtube-dl, and wget
- get {url} {url} # downloads into current directory
- With no option, will download look for get.txt in current directory use it
- Integrates into vim/gvim via .vimrc, make a list of URLs in a buffer hit F3
- Will save to ~/Downloads, and exit vim when completed
- lib.bash raw
- lm raw list media, displays the mp4 and mp3 files with run time
- m raw a simple menu in bash see: note
- mp4tomp3 raw ffmpeg wrapper to convert files
- u raw a simple Utility menu in bash see: note
- quote raw random Bible quotes in different formats
- quotes.md Bible quotes for above script
- tag raw random tag line in different formats
Basic features of all my menu scripts:
- When run with no option, the menu is displayed.
- When passed a โ-hโ or โโhelpโ, they will list out the help.
- They can be used as shortcuts, not as menus as well. (โg -bโ will start backgammon).
- They each have a built-in screen saver or default action if no option is selected after a set time (web will display the log files via lnav in real time).
- You can run a shell by hitting โ!โ.
- You can modify them, as well as most of my scripts with a โ-Eโ, passed to the CLI (command line interface).
- A โ-Dโ will run them in debug mode to aid in figuring out why something is not working.
To the Unix purist, who are amazed that I would write and used menus: If I do it all the time, I automate it. Why have many small scripts, and aliases when I can come up with a clever solution? Besides, I enjoy writing code!
๐ Scripts from others (more to come as I have time)
- spinit raw Fun anaimation scrip used by web and my โwiโ (watch it) function in .bashrc. Updated: Added random color and made all items spin (local charwidth=1)
Web scripts used to create and mange this site
This website is made from markdown files. I wrote the following scripts to make it easy for me to manage it. I often change them when I think of a better way to do something, or to address an issue I run into. Like all of my scripts on this page, I did not write them for public consumption. With that said I have attempted to keep them readable, and commented. A lot of them will auto install requirements with apt. This is because I can copy them and have them work without much to think about on my side. Please note: I use Pandoc as the back end for markdown conversion.
Side comment: I do not have ANY CGI, the entire site in static, manually updated with the scripts below. It cracks me up to watch my logs (lnav), and see all the hacking attempts. People really want to take this site down. They go after, PHP, SQL, WordPress, MySQL, and more.
Note: To see the source for the pages on this site change the โ.htmlโ to โ.mdโ, if the URL does not display anything other a directory name, use โ.mdโ added to the directory name: http://crn.hopto.org/unix.md
- files raw create index from files of pics, vids, mp3s, whatever. Previews for pictures and videos. This replaces pics, vids, mp3s, and does more. Sample output: Main Archives Books mp3 Archives
- mkln raw create link to file in markdown to stdout
- pi raw create png (preview) file and writes to stdout html code for mp4 post
- site raw main script to compile markdown to html
- web raw Web management front end see: note
Gopher site Redesigned with new gmap tool I wrote.
If you want to use my system and need some help, feel free to email me. If you find a bug or want a feature, you can contact me as well. Just keep in mind I wrote this for my own use.
๐๐ My settings
- .bashrc raw
- .conkyrc raw Conky configuration file
- .vimrc raw
- words-alpha.txt Dictionary file used in .vimrc
Note: This is very complete, including Bible names, and theology terms.
- words-alpha.txt Dictionary file used in .vimrc
- urls Newsboat RSS and podcast subscriptions
- config Newsboat configuration file
- conf Calcurse configuration file
๐ป DosBox
I used Dos back in the day and I decided to build a DosBox environment to run some of the classics
- ๐ What is DOS?
- ๐ DosBox Staging Version I run
- drivec.zip c:.txt in the directory for setup and use
You can run DosBox on Windows 10, Linux, and even on Android.
I have installed and configured:
- Backgammon
- Big Clock
- dBase 3
- Doom 2
- Eliza
- Epic Pinball
- Lotus 123
- Mahjongg
- Monarch (data extraction tool)
- Norton Commander 5.5.1
- Norton Editor
- Nutshell (best DOS database ever)
- Qbasic (under C:\qbasic71\src is a collection of games)
- Regina REXX for scripting
- Rogue
- Sierra Card Games
- SQlite (in Regina directory)
- Tetris
- Word Perfect 5.1
๐ New Linux CLI KJV Bible!
I added a version of the KJV for Linux, you need to compile it from source.
kjv can be built by cloning the repository and then running make:
- git clone https://github.com/bontibon/kjv.git
- cd kjv
- make
- place in your search path or ./kjv
- kjv -h (displays help)
I like this one better than the one that installs from apt, it works better for integrating it into .vimrc.
๐๐ค UNIX fun
Unix, the power of shell is in your hands.
- Excuses Pipe into โshuf -n 1โ for random fun
- IBM Balls
- IBM Jargon and General Computing Dictionary
- In the Beginning was the Command Line
- THE CUCKOOโS EGG
- The Elements Of Style: UNIX As Literature
- The Peter Principle Revisited
- The Tao of Programming
- The UNIX cult
- tldr (to long didnโt read) book
- Unix Wars Plain text, because.
RFCโs Really Fun Comments
File | Description | |
---|---|---|
rfc968 | ..... | Twas the Night Before Start-up |
rfc1097 | ..... | TELNET SUBLIMINAL-MESSAGE Option |
rfc1149 | ..... | IP Datagrams on Avian Carriers |
rfc1216 | ..... | Gigabit Network Economics and Paradigm Shifts |
rfc1217 | ..... | Consortium for Slow Commotion Research |
rfc1438 | ..... | Internet Engineering Task Force Statements Of Boredom |
rfc1607 | ..... | A VIEW FROM THE 21ST CENTURY |
rfc1925 | ..... | The Twelve Networking Truths |
Pictures
- Desktop Pictures Dress up the desktop
- Misc Pictures Moved to a folder with preview
- Tech Some technical pictures
- Term Pictures For terminals that allow setting a background
Console Screen Savers and Wrapper
I hang out in the shell all the time and so have come up with a way to have a โscreen saverโ. It is manually called by a script called โsโ (why type more?). My โmenuโ script listed above has a timeout value, so if you do not select anything, it will auto run โsโ.
- s raw Front end to my console screen savers
- pipes Very cool script for drawing random pipes
- pipesX.sh Another one
- maze.py python script for rendom mazes
- Asciiquarium Why not?
- cmatrix # install with: sudo apt install cmatrix
- tty-clock # install with: sudo apt install tty-clock
Games scripts
I have collected a little sample of some of the better games written in scripting languages. I have enjoyed using them over the years.
- Chessba.sh Chess written in Bash
- chopper Animation written in Bash
- christmas.sh Animation written in Bash
- fclock Fuzzy clock written in Bash
- fire Animation written in Bash
- g raw a simple Games menu in bash New see: note
- hackertyper.sh Simulation written in Bash
- horserace Simulation written in Bash
- klondike1 Cards written in Perl
- klondike2 raw New version with emoji, and more
If someone with better perl skills wants to add an ending (win/loose) to this, send me the updated one to post.
- mandelbrot Simulation written in Bash
- minesweeper Minesweeper written in Bash
Code
struct ComputerContractor
{
double salary;
long lunches;
float jobs;
char unstable;
void work;
int hiring_him_again;
const pain_in_the_arse;
unsigned agreement;
short fuse;
volatile personality;
static progress;
};
/_ and there are no unions in sight _/
๐ UNIX/Linux Links
Unix is user-friendly, itโs just picky who its friends are.
๐ History/Information
- Awesome-UNIX
- Distro Watch
- Linux Documentation Prodject
- Linux Mint
- Softpanorama
- The UNIX and Linux Forums
๐ป Applications
- Calcurse A text based calendar, scheduling, to do lists
- kjv-master.zip A cli version to compile
- Lynx A text based web browser
- Midnight Commander A text based file manager
- MultiMarkdown A tool to help turn minimally marked-up plain text into well formatted documents, including HTML, PDF
- Neomutt A text based email client with POP and IMAP
- Newsboat A RSS reader
- Pandoc A universal document converter
- sc Spreadsheet Calculator A free curses-based spreadsheet
- SQLite3 SQL Relational database
- Vim Programmers editor of choice
- VisiData A interactive multitool for tabular data!
- wcalc If you build a better calculatorโฆ
See more UNIX links
See Development links
Windows and Mac users
Having had to work with Windows as a required desktop for work, I have found the best terminal emulation is called Zoc. It alows you to automate anything, any way you can conceive threw your terminal. This is THE biggest help I have ever had over the years for managing large amounts of servers.
It is a commercial program, but well worth the money. One of only two that I own.
The other one worth looking into is ExpandDrive. This will let you map UNIX/Linux volumes as network drive for full read and write. Plus cloud based volumes as well.
๐ฆ Good Sources
Updated: Tue 28 Mar 2023 07:50:15 AM CDT