A minimal, less-inspired paging application written in Rust
::: :::::::::: ::: :::::::::::::::::::
:+: :+: :+: :+: :+: :+: :+:
+:+ +:+ +:+ +:+ +:+ +:+
+#+ +#++:++# +#++:++#++:+#++:++#++ +#+
+#+ +#+ +#+ +#+ +#+ +#+
#+# #+# #+# #+##+# #+# #+#
####################### ### ######## ###
© 2020 Dylan DiGeronimo
Least is a minimal, less-inspired paging application written in Rust, using pancurses.
Its intention is not to outperform less, either in terms of speed or features, although that would be a nice eventual goal. Instead, I’m creating it as a means of getting to learn an interesting technology that I don’t get to use in my everyday work. As such, there’ll probably be a good amount of code that’s amateur-ish, but I’m going to try my best to follow Rust conventions as I learn them.
The functionality is also not intended to be a total clone of less, with the controls being geared toward my personal preferences. I’m also making a point of not looking at the less source code while I build this. Least isn’t a direct translation of less from C to Rust - it’s a reinterpretation that happens to be written in a different language.
least is licensed under the MIT license, so feel free to download it, fork it, modify it, use it, love it, hate it, etc. You do you.
$ git clone https://github.com/ddigeronimo/least.git
$ cargo build --release
For a development build, use
$ cargo build
After building, the executable will be located at {installLocation}least/target/release/least
. Open a text file with $ least {filename}
. Make sure to set least as executable, set its permissions as needed, and add it to your path (consider copying it to a ~/bin
directory).
None of these are guarantees, but you might see them in the future
All clear for now!