Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
/ Streakline Public archive

A WYGIWYG line text editor, inspired by ed, the STANDARD TEXT EDITOR!

Notifications You must be signed in to change notification settings

AeriaVelocity/Streakline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ 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!

GNU/Linux instructions

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!

Windows instructions

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.

Commands

  • ~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.

Example

~$ 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.
~$

About

A WYGIWYG line text editor, inspired by ed, the STANDARD TEXT EDITOR!

Topics

Resources

Stars

Watchers

Forks