New tecolot is out with new settings, search, osc 7501, tabs (heavily Rex inspired), and all the new SwiftTerm goodies.
https://github.com/migueldeicaza/tecolot/releases/tag/v0.99.12
New tecolot is out with new settings, search, osc 7501, tabs (heavily Rex inspired), and all the new SwiftTerm goodies.
https://github.com/migueldeicaza/tecolot/releases/tag/v0.99.12
@chergert not at all, tell me more. Btw swiftterm is now basically at ghostty speeds or better :-). Will update readme files soon
@Migueldeicaza It might matter less for darwin, but for Linux at least, that is some scary kernel code.
Also, on Linux, throughput is _much_ faster in raw mode. So you could probably optimize line-discipline into the normal retained state flow.
You still go through N_TTY onLinux, but on the fast path. And you have to do echo/etc too which adds latency, but probably not enough to outweigh the substantial throughput wins in normal flow.
Getting raw termios state could be nice too!
@chergert well these are very intriguing ideas.
@Migueldeicaza I implemented enough of a prototype today to get some rough numbers, and it's so opposite of what I expected! (I love when that happens!)
Most things are slower compared to kernel doing line-discipline, but two things emerged:
- Echo latency was faster when done in user-space (10% lower latency, weird!)
- Newline output specifically is about 5.5x faster
@Migueldeicaza Well, that took me too long to discover. This looks fun.
@Migueldeicaza have you considered putting the pty in raw mode and doing line discipline/etc in userspace? I’m getting increasingly worried about the kernel side of this and we can probably make things faster to boot