Command Line Talk by Singletona082 | tildeverse BBJ

>0 Singletona082 @ 2024/07/24 21:47

So, for those that are also on Ctrl-C? Hi, I'm just
here to try fishing for more options to try out, as
I feel my own efforts last year kinda fell short of
what I wanted to accomplish.

For everyone else? Hi, I'm fishing for info about an 
upcoming two/three week challenge I've put out for 
anyone participating to shift as much of what they 
do to the terminal as realistically possible. I 
feel like, in spite of finding a workflow that does
work for a few things (writing, uploading, and even
mail,) I fell down in several regards.

### Things I want to improve on:
* Terminal/TUI ftp client:
MC works, and works well enough, but I feel like I
could do better.

* File Managment
Midnight Command has served me admirably, yet I have
to wonder if there is better out there. Something
that can do either just that little bit more, or use
less resources, or is easier to navigate. 

* Learning Vi or emacs
I like Micro. Micro gives me the sort of keyboard
commands i'm used to using for opening/closing/save
and formatting. It, however, does not have the same
feature set that something like Vi or emacs offers,
and I probably should learn something more robust.

* Tiling Window Manager.
This one is purely because I want to try slimming
down. Both because my desktop is twelve years old
and I have no real plans in upgrading if I can help
it, and I am curious on just how little computing 
is needed for modern day to day.

* tmux
See above, but also because I want to be able to
detatch from an active session that has, say, irc
going and come back on either my desktop, phone,
or whatever and not have any loss of what I was
doing. Plus as above, see how little computer I
need, and having something that can take a text
enviroment and have everything from wifi, to
bluetooth, to doc editing, to music, and so on
going? That's cool.

* MultiMedia
I know in a pure TUI/command line images much
less video isn't really possible, but what a 
terminal window? What's possible there? Is it
worth persuing or is it just a party trick? if
nothing else, I'd like a good way to play my
music, or internet radio, or podcasts from the
command line.

Anyone got any sort of advice?

>1 say @ 2024/07/30 01:26

>>OP

Definitely check out mpv. I play music from the terminal with it. It also plays videos.

In fact when I want music, I type "ctrl-r play enter" which means search the terminal history for the last command with "play" in it, which for me is this:

cd /Users/me/Music && mpv "$(fzf)" # play

which goes to my music folder and runs mpv on the output of "fzf" which is an interactive search/finder thing. fzf might be cool for use for file management. I don't use it for that. For file namagement I use find/rm/mv/rsync/cp/ls/tree etc.


Definitely learn vim, but only if you want to. Once you reach medium level vim skill nothing compares.

Just get your feet wet imo... I'vw been using only Terminal + browser + video games for years now. I don't need other software XD.

>2 omorrigan @ 2024/08/19 19:59

>>OP
Vi is fire, i think that the power that Vi offers is uncomparable
principally when talking about beginners, but the the other things in UNIX
command line is very important, also i think that giving power to the user
to better control the system is a important step to a better network

>3 ant @ 2025/08/04 22:21

>>2

And once you start using vi seriously, make sure also to use the vi mode in readline:

    

>4 rohan @ 2025/08/06 06:08

>>3
Thank you for posting the link for blogpost. Really useful shortcuts with your .inputrc file.

>5 tsukaj @ 2025/08/06 14:45

>>OP

i use yazi/nnn for file managers - nnn has better shortcuts, but yazi has image previews built in. both are great.

i've been using kakoune for a bit for text editing. it's been pretty good, but of course (n)vi(m) has the advantage of being preinstalled virtually everywhere.

i use swayfx for tiling window manager - prettier than plain old sway, but no unnecessary animations (and less dependencies!) than hyprland.

>6 anthk @ 2025/08/28 12:33

>>1 

I prefer iomenu instead of fzf. I have nothing against go,
but iomenu it's much faster on legacy devices (Atom n270).
Go still works great in other purposes:

- Tut (Mastodon client)
- nncp (UUCP but with TLS and nice additions)
- Yggdrasil Mesh Netowork
- Bombadillo it's not bad but Telescope it's much faster.
It feels snappier, altough in case of vulnerabilities
due to malformed data (or crashes) Go it's much safer.
With telescope it's much easier to crash it with
malloc under OpenBSD set to vm.malloc_conf=JUC
as stated in 
https://man.openbsd.org/OpenBSD-5.3/man5/malloc.conf.5

Said this, i2pd reimplemented in Go wouldn't be 
half bad.
The same with nomadnet/reticulum, a Mesh network
made in Pytohn which is dog slow but under Go
it would be several times faster.

>7 yalla @ 2025/08/29 04:28

>>OP

  More cli/tui programs I regulary use:

  keepassxc-cli [1]. It's really just like keepass, but on the
command line.

  Example session:
```
$ keepassxc-cli open Database.kdbx 
Enter password to Database.kdbx: ****
Database> search bbj
/Privat/Social Sites/tilde/bbj
Database> show bbj
Title: bbj
UserName: yalla
Password: PROTECTED
URL: 
Notes: 
Uuid: {8dd2f93e-1233-487a-b1a4-65616161d6ea}
Tags: 
Database> clip bbj
Entry's "Password" attribute copied to the clipboard!
```
  At that point, the password is in my X11' clipboard. Yay. You only
need to make sure that you somehow configured a key-combination in
your WM to paste from the clipboard (and not the primary or
secondary buffer).

  The next program I really like, is pandoc [2]. Pandoc is a wrapper
to Latex and takes a Markdown document as the input, and renders it
to many different output formats, such as PDF, Tex, Word. It is my
main work-horse at work because I do not need to fiddle around with
OpenOffice or (*shiver*) O365 Word...
  Even much better, when rendering to Word, it even takes your
corporate Word-template so that it looks juts ilke if you used a
real Word.
  But the biggest killer is the plantuml-filter [3]. You can use
inline plantuml [4] diagrams-as-code, and make it render *inline* of
the document, as if you created it externally and embedded it as an
SVG or PNG. The learning curve is *steep*, but once you have it
running, you will never look back.
  I wrote up how to use the plantuml-filter together with pandoc in
a blog-article [5] a while ago.
  

  References:
  [1] https://github.com/keepassxreboot/keepassxc/
  [2] https://pandoc.org/
  [3] https://github.com/timofurrer/pandoc-plantuml-filter
  [4] https://plantuml.com/
  [5] https://blog.ynfonatic.de/2022/06/18/inline-plantuml-rendering-with-pandoc.html