Mercurial > index.cgi > dotfiles
comparison .bash_aliases @ 297:2380af78be40
Altair & PDP aliases, moved telnet to nearby too
author | Steve Huston <huston@srhuston.net> |
---|---|
date | Sat, 01 Mar 2025 00:14:07 -0500 |
parents | ac2565aaab48 |
children | 283c6f6c64c5 |
comparison
equal
deleted
inserted
replaced
296:ac2565aaab48 | 297:2380af78be40 |
---|---|
143 alias rj='ssh -t joshua.srhuston.net screen -raAx' | 143 alias rj='ssh -t joshua.srhuston.net screen -raAx' |
144 alias irc='ssh -t joshua.srhuston.net docker exec -it irssi screen -raAx;clear;echo IRC Session ended' | 144 alias irc='ssh -t joshua.srhuston.net docker exec -it irssi screen -raAx;clear;echo IRC Session ended' |
145 alias rx='ssh -t xanadu.astro.princeton.edu screen -raAx' | 145 alias rx='ssh -t xanadu.astro.princeton.edu screen -raAx' |
146 # Moved this one here, no ssh but still screen usage | 146 # Moved this one here, no ssh but still screen usage |
147 alias ret='screen -raAx' | 147 alias ret='screen -raAx' |
148 | |
149 # Technically screen sessions as well; at least the PiDP-11/70 anyway. | |
150 if [ -e /opt/local/bin/gtelnet ]; then | |
151 alias telnet="/opt/local/bin/gtelnet" | |
152 alias altair="/opt/local/bin/gtelnet 192.168.7.214" | |
153 else | |
154 alias altair="telnet 192.168.7.214" | |
155 fi | |
156 alias pdp-11="ssh pdp-11" | |
148 | 157 |
149 t() { | 158 t() { |
150 # Tunneling SSH - a simple 't hostname' will tunnel to xanadu and then | 159 # Tunneling SSH - a simple 't hostname' will tunnel to xanadu and then |
151 # connect to hostname, while 't hostname tunnelhost' will connect to | 160 # connect to hostname, while 't hostname tunnelhost' will connect to |
152 # tunnelhost and then hostname | 161 # tunnelhost and then hostname |
310 fi; | 319 fi; |
311 popd | 320 popd |
312 } | 321 } |
313 alias slurp="wget -r -l1 -np -nd -A.mp3" | 322 alias slurp="wget -r -l1 -np -nd -A.mp3" |
314 alias zulu="date -u +%Y%m%d%H%M%SZ" | 323 alias zulu="date -u +%Y%m%d%H%M%SZ" |
315 if [ -e /opt/local/bin/gtelnet ]; then | |
316 alias telnet="/opt/local/bin/gtelnet" | |
317 fi | |
318 | 324 |
319 TOhtml() { | 325 TOhtml() { |
320 # Since I moved to hosting the hg repo, this is less useful to share things. | 326 # Since I moved to hosting the hg repo, this is less useful to share things. |
321 # But still a nice bit of code and worth keeping I think. Needs a rework to | 327 # But still a nice bit of code and worth keeping I think. Needs a rework to |
322 # match the new style of the dotfile repo as of 2024/03/30 (splitting out | 328 # match the new style of the dotfile repo as of 2024/03/30 (splitting out |