News for hackers. Stuff that matters.
Re:St – simple terminal by erikb on Wednesday November 26, 2014 @03:53AM (#8661580)
suckless sounds quite like a good name. I'm currently also working on some terminal style I/O and I can totally understand why there are programs with >30k lines of code just for being a terminal emulator. terminal communication is not really standardized. It has grown since a time where "computer" meant a person who calculates things. So I'm not sure it St could arrive at a stable state without also having a few thousands lines more than it would like to have.

But what is wrong with Gnome-Terminal? For me it works well enough out of the box. I literally didn't do anything beside increasing the scroll buffer and haven't run into enough troubles yet to switch.

Re:St – simple terminal by chriswarbo on Wednesday November 26, 2014 @04:49AM (#8661686)
> But what is wrong with Gnome-Terminal?

The dependencies: https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/g...

If you're using Gnome, you probably have those already so it's no big deal. The same goes for Konsole in KDE: https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/k...

If not, pulling in a few hundred MB of dependencies for a terminal emulator seems distasteful. st is much more self-contained: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applicatio...

That's why st is usually compared to xterm; they're small, basic and desktop-agnostic.

Re:St – simple terminal by erikb on Wednesday November 26, 2014 @10:05AM (#8662586)
That's good to know. Without Gnome(3) Gnome-Terminal might not be the right choice.
Re:St – simple terminal by Argorak on Wednesday November 26, 2014 @04:02AM (#8661595)
The source directory of libtsm, which only does the state handling for an abstract screen, is already ~11k without tests, so 30k doesn't surprise me.

http://www.freedesktop.org/wiki/Software/kmscon/libtsm/