mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

812
active users

#tmux

4 posts4 participants0 posts today

My setup has changed. Now, i only use #vim and #tmux only.

The rest is following what i need: gcc, golang.

set nocompatible
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set textwidth=79
set colorcolumn=80
syntax off

tmux snippet to naïvely emulate Vim's "select inside" commands:

bind-key -T copy-mode-vi i command-prompt -1 -p "(select inside)" {
send-keys -X jump-backward "%%"
send-keys -X cursor-right
send-keys -X begin-selection
send-keys -X jump-to-forward "%%"
}

[screenreader users, the following contains a lot of non-alphabet characters]

Fix/Workaround for me - still interested in info:
SendEnv LANG LC_* in my *local* .ssh/config

ls output is now 'Árstíðir - Hvel' etc etc

Update:
I am going to point towards #tmux and #WindowsTerminal here too, I can paste "Árstíðir - Hvel - 12 Unfold.flac" but touching a file with UTF-8 characters causes the same issues.

#PuTTY displays it correctly! The only difference I can see is that LANG="en_AU.UTF-8" is exported.

#Linux friends, what do I do with a filename like "''$'\303\201''rst'$'\303\255\303\260''ir - Hvel - 12 Unfold.flac'"? (arstidirsom.bandcamp.com/album if you're wondering)

The correct, or original filename from the zip file is "Árstíðir - Hvel - 12 Unfold.flac"

If I set LANG to something with UTF-8, I get _rst__ir - Hvel - 12 Unfold.flac, but ls *12\ Unfold.flac does not find it.

What's the equivalent of hexdump for filenames? This particular example is on ZFS but I have seen the same on ext4 and btrfs so I am sure it's not (entirely) filesystem specific.

If you search for this answer, what keywords did you use? I am having trouble here.

Geeky project of the day: I needed a remote controller for an audio player to assist me with editing my research interviews, so I repurposed one of my midi controllers for the task. It's really nice to use a rotary controller to scrub through an interview audio file. Even acceleration works!

gist.github.com/wilenius/ba83f

It's a simple #bash script, using #cmos, #tmux, and aseqdump.

cmus remote control with midi, tmux notifications. GitHub Gist: instantly share code, notes, and snippets.
Gistcmus remote control with midi, tmux notificationscmus remote control with midi, tmux notifications. GitHub Gist: instantly share code, notes, and snippets.