3 ms·
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 line
by erikb 12y ago
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.
- Argorak 12y agoThe 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/ http://www.freedesktop.org/wiki/Software/kmscon/libtsm/
- chriswarbo 12y ago> But what is wrong with Gnome-Terminal? The dependencies: https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome-3/3.12/core/gnome-terminal/default.nix 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/kde-4.14/applications/konsole.nix 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/applications/misc/st/default.nix 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.
- erikb 12y agoThat's good to know. Without Gnome(3) Gnome-Terminal might not be the right choice.