1
1
Fork 0
mirror of https://tildegit.org/envs/spacelaunch.git synced 2024-05-07 23:06:10 +02:00

remove trailing spaces

This commit is contained in:
creme 2019-09-05 01:02:59 +02:00
parent 8b940ea9ad
commit c09ecb91f8
No known key found for this signature in database
GPG Key ID: C147C3B7FBDF08D0
5 changed files with 12 additions and 12 deletions

View File

@ -1,10 +1,10 @@
# spacelaunch
Space Launch is a pubnix take on the classic Unix prank called
Steam Locomotive. Rather than running a steam engine train
across users' screen when they mistype 'ls' as 'sl', Space
Space Launch is a pubnix take on the classic Unix prank called
Steam Locomotive. Rather than running a steam engine train
across users' screen when they mistype 'ls' as 'sl', Space
Launch blasts a rocket across their screen.
Space Launch is a collaborative pubnix/tilde project. It was
started by cmccabe in 2019, but you are encouraged to improve
Space Launch is a collaborative pubnix/tilde project. It was
started by cmccabe in 2019, but you are encouraged to improve
it. The code is here: https://tildegit.org/cmccabe/spacelaunch

2
config
View File

@ -10,7 +10,7 @@ CODE_DIR=/opt/services/spacelaunch
HOME_DIR=/home # LOCATION OF USERS' HOME DIRECTORIES
# E.G. /home WHERE USER DIRECTORIES ARE OF
# THE FORM /home/username
# OR, SDF META ARRAY AS AN EXAMPLE,
# OR, SDF META ARRAY AS AN EXAMPLE,
# /meta/* WHERE USER DIRS ARE OF THE
# FORM /meta/[a-z]/username

View File

@ -13,4 +13,4 @@
( ) )) ) )) ) ))
( ( (( ( ) )) ))
() ) ) (( (
(( )
(( )

View File

@ -3,7 +3,7 @@
.
. | _ .
\ ) /
. ^ .
. ^ .
\ / \ / -*
/ _ . .
< ( \ / _ \
@ -17,7 +17,7 @@
/ (_ \
. .
/ \ / \
. / v .
. / v .
.
/
*

6
sl.sh
View File

@ -1,6 +1,6 @@
#!/bin/bash
## SPACE LAUNCH - A multi-user take on the classic Unix
## SPACE LAUNCH - A multi-user take on the classic Unix
## steam locomotive (sl) prank.
## Written by cmccabe on the Zaibatsu in 2019.
##
@ -23,7 +23,7 @@ source /opt/services/spacelaunch/config
# stty -echo ## TO DO: HOW TO RE-ENABLE THIS FROM ^C TRAP FUNCTION?
# OTHERWISE USER CAN'T SEE THEIR CHARS ECHOED
# AFTER THEY KILL THIS SCRIPT.
USER=$(id -run)
# HEIGHT OF TERMINAL WINDOW; USED TO PUSH ROCKET OFF THE SCREEN
@ -87,7 +87,7 @@ function ctrl_c() {
while [ $i -lt $ALTITUDE ]; do
echo
i=$(($i+1))
done
done
# stty echo ## RE-ENABLE ECHO
exit