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 1815d348f1
gitbbs disabled for now, the newer, safer git is way too loud.
9 months ago
LICENSE Initial commit 2 years ago
README.md memory game added. 1 year ago
Shl code cleanup. missing headers added. hopefully did not break anything. 2 years ago
ahist marker should be ignored in histograms 1 year ago
ahist.totals marker should be ignored in histograms 1 year ago
box code cleanup. missing headers added. hopefully did not break anything. 2 years ago
buffer Shell pipe copy/paste buffer. Initial commit 1 year ago
challenge code cleanup. missing headers added. hopefully did not break anything. 2 years ago
coffee.sh code cleanup. missing headers added. hopefully did not break anything. 2 years ago
dhist marker should be ignored in histograms 1 year ago
dope.sh code cleanup. missing headers added. hopefully did not break anything. 2 years ago
edlog Some code for screen initialisation added. 2 years ago
fred code cleanup. missing headers added. hopefully did not break anything. 2 years ago
gemini code cleanup. missing headers added. hopefully did not break anything. 2 years ago
jot code cleanup. missing headers added. hopefully did not break anything. 2 years ago
jot.ps1 Initial commit. 2 years ago
library code cleanup. missing headers added. hopefully did not break anything. 2 years ago
lucy second parameter added - display [default|fancy] 2 years ago
memory "[q] to quit" added. 9 months ago
newgit date format adjusted 1 year ago
recent gitbbs disabled for now, the newer, safer git is way too loud. 9 months ago
ruler code cleanup. missing headers added. hopefully did not break anything. 2 years ago
runurl code cleanup. missing headers added. hopefully did not break anything. 2 years ago
sighting process only data since the last reboot 1 year ago
stars switched to recent++, added commandline parameters (passing) 1 year ago
teletype code cleanup. missing headers added. hopefully did not break anything. 2 years ago
thecrew code cleanup. missing headers added. hopefully did not break anything. 2 years ago
twrtr code cleanup. missing headers added. hopefully did not break anything. 2 years ago
uhist marker should be ignored in histograms 1 year ago
whoa.py Shameless copy of tfurrow's whoa shell script. Initial commit 1 year ago

README.md

rtc-shell-scripts

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

memory

Simple Memory-type (find pairs of matching tiles) in Python+rich.

sighting

Shows recent logins

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