3 ms·
* This site is now browsable with netcat/plain TCP (2020-01-20) | curl https://anderspitman.net/txt/19 | nc txt.anderspitman.net 3838 <<< /txt/19 That'
by jolmg 7y ago
* This site is now browsable with netcat/plain TCP (2020-01-20)
| curl https://anderspitman.net/txt/19
| nc txt.anderspitman.net 3838 <<< /txt/19
That's neat, but if you remove the `|` then one can copy the whole line with triple click instead of having to click and drag to carefully exclude the `|`. Just a tip to improve the UX. :)
- anderspitman 7y agoGreat suggestion, thanks. Should be working now. FWIW, I find it fastest to use the shell history and modify the last few characters.
- jolmg 7y agoI don't think it would be. With the current setup you can almost completely avoid using the keyboard. In bash, you just triple-click and middle-click to follow a link. You don't even need to move the mouse between clicks. Selecting a line with triple-click includes the newline needed to execute the command. Zsh has protection against executing from a paste, so you would need to hit the numpad enter key with you thumb after pasting with the middle-click. This is assuming that your desktop environment doesn't prevent you from using Xorg's PRIMARY selection clipboard. If you haven't used PRIMARY before, you don't need to Ctrl-C/Ctrl-V (that's the CLIPBOARD clipboard). Middle-clicking does the copy and paste at once from the last selection. I find it nice for mindless browsing. In contrast, changing the last few characters means the action is different for each link. You need to pay attention to the id of the post and write it. Also, you need to memorize the number/path, because most terminals will scroll to the bottom when you start typing.
- anderspitman 7y agoGreat points