Various shell scripts for use on the RTC server. Not your official RTC stuff!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Sam Hunter 9dd94941ce Some code for screen initialisation added. 11 months ago
LICENSE Initial commit 1 year ago
README.md gemini description added 12 months ago
Shl code cleanup. missing headers added. hopefully did not break anything. 12 months ago
ahist formatting changes. updated to use recent++ 12 months ago
ahist.totals formatting changes. updated to use recent++ 12 months ago
box code cleanup. missing headers added. hopefully did not break anything. 12 months ago
challenge code cleanup. missing headers added. hopefully did not break anything. 12 months ago
coffee.sh code cleanup. missing headers added. hopefully did not break anything. 12 months ago
dhist formatting changes. updated to use recent++ 12 months ago
dope.sh code cleanup. missing headers added. hopefully did not break anything. 12 months ago
edlog Some code for screen initialisation added. 11 months ago
fred code cleanup. missing headers added. hopefully did not break anything. 12 months ago
gemini code cleanup. missing headers added. hopefully did not break anything. 12 months ago
jot code cleanup. missing headers added. hopefully did not break anything. 12 months ago
jot.ps1 Initial commit. 1 year ago
library code cleanup. missing headers added. hopefully did not break anything. 12 months ago
lucy second parameter added - display [default|fancy] 11 months ago
newgit output formatted. range extended 11 months ago
recent Experimental: Pre-checking if the home directory modification time is within $limit. 1 year ago
ruler code cleanup. missing headers added. hopefully did not break anything. 12 months ago
runurl code cleanup. missing headers added. hopefully did not break anything. 12 months ago
stars code cleanup. missing headers added. hopefully did not break anything. 12 months ago
teletype code cleanup. missing headers added. hopefully did not break anything. 12 months ago
thecrew code cleanup. missing headers added. hopefully did not break anything. 12 months ago
twrtr code cleanup. missing headers added. hopefully did not break anything. 12 months ago
uhist formatting changes. updated to use recent++ 12 months ago

README.md

rtc-shell-scripts

Various shell scripts for use on the RTC server. Not your official RTC stuff!

gemini

Gemini updates selector

$ export GEMINI=amfora
$ gemini samhunter # looks for updates in the last 60 minutes, opens it in amfora
$ gemini samhunter 120 # same, but 2 hours
$ gelim $(gemini samhunter) # same as the first example, opens the link in gelim

fred

FRiendly ED - a silly Bash wrapper for ed(1)

ED
(a)ppend, (i)nsert, (c)hange. Finish with '.' in a separate line.
(d)elete, (,p)rint lines, (,l)ist special  chars, print with (,n)umbers
(w)rite file, (r)ead file, (e)dit file. /search. s/ubsti/tute/. (q)uit
....:....1....:....2....:....3....:....4....:....5....:....6....:....7..
> ,n
1	#! /bin/bash
...

runurl

A minimal "universal" URL handler for commandline (mostly the linkulator)

runurl telnet://flipsidemuck.org:9999
runurl http://rawtext.club
runurl gemini://rawtext.club/~samhunter
...

coffee.sh

Coffee break, iNsPiReD (I stole the first frame tbh) by a similar script in rc(1) shell for Plan9

                )
                 
              ( ) 
              ( ( )
            ,---------.
            |         |__
            |         |  |
            |         |  |
            |         |  |
            |         |--'
            `_________'
          --===========--
          
            COFFEE BREAK

edlog

My take on 'shlog', heavily influenced by mail(1) and ed(1) interfaces.

histograms

  • ahist - apps
  • dhist - dates
  • uhist - users
rtc-shell-scripts $ ahist
 33             gab ####################
 31           shlog ##################  
 18          gemini ##########          
 18             web ##########          
 17      linkulator ##########          
 13            iris #######             
  9          who-is #####               
  7          gopher ####                
  3          gitbbs #                   
  3              sl #                   
  2         library #                   
  1        oneliner   

stars

Server activity at a glance

recent

Doctored and extended version of RTC 'recent' utility

Supported services:

  • gab
  • iris
  • linkulator
  • shlog
  • who-is
  • gitbbs
  • oneliner
  • sl
  • train
  • web
  • gemini
  • gopher
  • library
  • cspc

jot

Shamelessly copied 'gab', misused as a jotter.

ruler

Just in case you need to measure something on your screen.

....:....1....:....2....:....3....:....4....:....5....:....6....:....7....:....8

challenge

Configures a shell enviroment restricted to the bare necessities. Try to survive on a strict diet of ed, mail and shell and awk scripting ;-)

teletype

Message from the boss, delivered at the speed worthy the "slow internet" site RTC is... \ Tongue-in-cheek greeter app

twrtr

"typewriter engine" of the above, for us as a slower, useless 'cat(1)' version with built-in animations

Shl

An early take on a shlog client better suited for my needs. Still usable.

dope.sh

A DOPE (Dartmouth Oversimplified Programming Experiment) in Bash, inspired by this article: https://www.vice.com/en/article/5dpq48/tracking-down-dope-the-first-computer-language-for-normal-humans

----not really