Earlier quoted context omitted.
Or, one could embed Chez Scheme, the compiler of which is like 800 kB in size and compiles stuff very quickly.
Or, one could embed Lua, which has simple syntax and built for that exact purpose
Zellij – A Terminal Workspace and Multiplexer
231–240 of 248 posts
Re: Zellij – A Terminal Workspace and Multiplexer
#232Earlier quoted context omitted.
My trick is all the directory, date, git junk in my prompt is separated by a newline and then $, so when I copy and paste my shell somewhere, I can just drop those lines easily without having to do fine selection.
That seems like a lot of wasted space to me. The benefit of putting it into tmux is it only shows in 1 place. I don't need to see the git branch and folder of the location where I ran my previous commands, I just need to see where I am at right now.
Re: Zellij – A Terminal Workspace and Multiplexer
#233Earlier quoted context omitted.
> It's fashionable to hate XML because it was used in a lot of places it was a bad fit in the 00s, but at least it's a pretty good document language. > YAML though is always a bad fit. If you want machine readable config, use JSON; human readable, use TOML. When does YAML ever fit? https://twitter.com/carlmjohnson/status/1372224080749993988
I never got this stance; JSON sucks for config files, because as a user, if there is anywhere that I need and am more thankful for comments, is in a configuration file. And TOML is maybe a good substitute for INI formats, but it doesn't really support nested data like JSON would, so suggesting to use TOML instead of JSON is misleading except for the simplest and most basic needs. If replacing JSON is the objective, I…
This is just plain wrong. It supports exactly the same kind of nesting as JSON.
Re: Zellij – A Terminal Workspace and Multiplexer
#234Earlier quoted context omitted.
> It's fashionable to hate XML because it was used in a lot of places it was a bad fit in the 00s, but at least it's a pretty good document language. > YAML though is always a bad fit. If you want machine readable config, use JSON; human readable, use TOML. When does YAML ever fit? https://twitter.com/carlmjohnson/status/1372224080749993988
The human readable part is a bit subjective. I find YAML more human readable than TOML.
Re: Zellij – A Terminal Workspace and Multiplexer
#235Re: Zellij – A Terminal Workspace and Multiplexer
#236The discoverability of shortcuts in zellij is great! Besides this and tmux you can also try * mtm: https://github.com/deadpixi/mtm * dvtm: https://linuxconfig.org/an-introduction-to-terminal-multiple... * abduco None of these have ever stuck with me because I don't like how they alter the ability to scroll (although I haven't tried the newer tmux mouse/scrolling capabilities). To maintain a session I prefer to use Et…
There's also tab.rs - https://github.com/austinjones/tab-rs
Re: Zellij – A Terminal Workspace and Multiplexer
#237Earlier quoted context omitted.
I'm confused. Zellij uses wasmer and wasmer-wasi. Wasmer may use cranelift for compilation (dont know if Zellij does). "Fast & Safe. Wasmer runs WebAssembly at near-native speed in a fully sandboxed environment." ( https://github.com/wasmerio/wasmer ) But ... "Cranelift does not yet perform mitigations for Specter or related security issues, though it may do so in the future." ( https://github.com/bytecodealliance/wa…
It doesn't, nor does it use seccomp to mitigate against language VM security issues.
Also, seccomp only works in the Linux kernel (not in Windows, or macOS)... so it's a no-go for a universal sandboxed VM :)
Re: Zellij – A Terminal Workspace and Multiplexer
#238You have a problem and you need a configuration language, so you pick YAML. Now you have two problems. Take a leaf out of Rust's book and use something simple and sane like TOML, YAML is a mess. See: https://github.com/cblp/yaml-sucks Otherwise this looks like a great project, please don't ruin it with YAML.
Re: Zellij – A Terminal Workspace and Multiplexer
#239You have a problem and you need a configuration language, so you pick YAML. Now you have two problems. Take a leaf out of Rust's book and use something simple and sane like TOML, YAML is a mess. See: https://github.com/cblp/yaml-sucks Otherwise this looks like a great project, please don't ruin it with YAML.
YAML sucks but so does TOML, especially when it comes to nested data structures like the layout.yaml shown on the front page. There are no good configuration languages in existence and there never will be. We have rejected Lisp/sexp so now we must suffer endlessly.
That definitely seems like a solvable problem though.
Re: Zellij – A Terminal Workspace and Multiplexer
#240Thought I would take a look at this. Like the presentation of all the actions. TAB control was nice and all that.
But what is with the crazy input character delay? Not much fun for touch typing when I can get ahead of the input buffer by four or five keys (without really trying). I have never noticed that on tmux.
Is anyone else seeing this?