💾 Archived View for gemlog.blue › users › sloum › 1605235018.gmi captured on 2023-05-24 at 18:46:54. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-04)

-=-=-=-=-=-=-

Terminal Fun

It has been awhile since I have posted to this gemlog (or my gopherhole(s)). I am doing so right now via the lynx browser inside my terminal (st in this case). I see no reason it shouldnt work, but I will be very excited if it does. Not leaving the terminal to post here would be great. If you ar seeing this, then it worked. Yay!

dvtm

I never got into tmux or screen, but I do like a tiling window manager. Around the time I discovered tiling window managers (awesome was the first for me) I also discovered dvtm[1]. dvtm is more or less dwm[2], but for the terminal. It is pretty snappy and I have been enjoying it lately. I tried it on rawtext.club and had some issues. It seems as though the termcap db didnt get updated upon install so some things display a little funky. That is a bummer, since using it with abduco[3] on the server would be great.

New project

I am working on a new coding project. It started out as a templating system for gemini. Yes, I realize this isnt too useful all in all... but being able to use partials and generate a full capsule sounded good. I figured I would also allow for simple shorthand to insert ansi escape codes to add color and formatting (a controversial thing in gemini, but one that I enjoy a lot).

It has since morphed into a terminal based ascii art program that lets you use unicode characters as "brushes" and pick fore/back-ground colors. There will also be a "paint bucket" that will perform a flood-fill of any of the three (fg, bg, brush) or a combination of them. The idea is that the three items work independently or in any combination. There will also be controls for using bold, italics, etc. on the brush itself.

The idea is to do this with a vim-esque key binding style with command entry as well. You could then save your image as a text file with all of the escape codes. I will have it do some work so that it doesnt have to repeat red for every char when there are four red in a row, for example. So it should be an optimized ansi art output program. While this _could_ be used in gemini capsules, it is by no means exclusive to them. I'm still in the beginning stages, but it has been fun to work on so far. SImilar to Bombadillo I will be doing this without the use of any libraries outside of the golang standard lib. I also plan on adding some hooks for various "events" within the program and allowing user scripting to perform more complex actions, though that will be a feature that gets added in full later.

---------------

1 - dvtm (web)

2 - dwm (web)

3 - abduco (web)