luke.b//blog

OK so I thought that Terminal.app does some kind of clever left/right paging. Turns out it just wraps lines if they’re too long, and this wrapping is controlled by some ANSI control sequence (DECSET 7 and DECRST 7 apparently).

So there are a few things I need to:

  • add word wrapping controlled by DECSET 7
  • add vertical pagination via up/down arrows
  • fix the bug where arrow key presses are not proxied through to the focussed terminal

First I need a reliable way to reproduce this issue and test nomad whilst I fix it.

When I run less subterminal.js in Terminal.app, I can press the Left an Right arrow keys to page left and right to see parts of lines that are longer than the width of the terminal.

The oven is heating up for more sour dough creation \o/

Meanwhile, I want to make progress on something:

implement word-wrapping + pagination for nomad I really want this, I find it so annoying that some programs just dump lines that are 100s of characters long and expect terminals to just be good at paginating over them.

Let’s code it.

I really want a way to do photo journals from my phone but I would need to build some kind of in-browser git client for pushing new images + markdown files to the repo.

Other ideas from today:

  • I want to make a presentation Hugo template so that when I give talks it’s on my site by definition.
  • … I did have another one. what was it… nope it’s gone

I’ll start with a shortlist of countries that have been on my mind lately and go from there:

  • Japan
  • New Zealand
  • Norway/Sweden
  • Switzerland

Apart form some late night sour dough baking, I want to make a bit of progress with The Plan (to move away, learn how to live and experience the world).

This seems like an ambitious name for a plan but I think this is the time to be ambitious.

I’m done. Good bye screen.

I really need to fix:

  • being able to cancel sending a new log from my log.sh script
  • external links on my blog trying to open in the iframe of my personal site

Part of me really enjoys the power flexibility of writing and coding stuff from my dev environment (terminal, bash, vim) but there’s part of me that for some reason wants the shiny UI to make it feel “nicer”. Honestly I don’t know if it really matters that I’m writing this in vim. It’s not perfect, it’s restrained in (I think) useful ways that make some aspects of creating easier.

Do I need fluffy UI? or do I want it?

And why make something new when I can make my dev environment a bit nicer to work in. I spend most of my waking hours alive using it, so I value the quality of it.

Next projects:

  • static site update notification service (not email)
  • browser-based git client based on js-git as the basis for a “CMS-over-git” thing I’ve been thinking about
  • implement word-wrapping + pagination for nomad I really want this, I find it so annoying that some programs just dump lines that are 100s of characters long and expect terminals to just be good at paginating over them.
page 17 of 27 after before