โ ๏ธ Streakline is deprecated. Go and use sued, it's a rewrite and continuation of Streakline in Rust which is actually just much better than this crap that I wrote when I was an idiot 18-year-old.
A WYGIWYG line mode text editor, inspired by the standard text editor, ed!
Python will usually already be installed on your distribution. If not, you must install at least Python 3.0.
The following instructions work for macOS or any other *nix system too.
You can go ahead and just type in ./stline.py
to run Streakline.
If you want to install it (because of course you do) then run the following command as root:
cp ./stline.py /usr/local/bin/stline
If you don't have root access:
cp ./stline.py /your/preferred/path/to/stline
export PATH=$PATH:/path/to/stline
/usr/local/bin/
will already be in your PATH, so no further setup is required. Just type stline
into your terminal to start using it. Have fun!
It is recommended to use Cygwin or Git Bash and follow the above instructions -- standard Windows CMD usage is finicky.
You need to be able to run python.exe
from the command line.
If this is possible, simply type python stline.py
.
To run Streakline anywhere, stline.py
should be added to PATH.
~save
- Save the file and exit.~exit
- Exit without saving.~show
- Show the contents of the file and buffer.~del
- Remove the last line from the file buffer.
~$ python ./stline.py
What file name? > youar.e
Warning - this file already exists.
File 'youar.e' opened for writing.
Start typing. Changes will be saved in buffer.
youar.e > meow :3
youar.e > ~show
Previously stored:
egg
brain
fish
To be saved:
meow :3
youar.e > ~save
File 'youar.e' - 18 bytes saved.
~$