5 ms·
Terminal Click – a new terminal bringing dead text to life
- johng 3y agoBad time to post this but I upvoted. Looks really cool!
- shreyshnaccount 3y agowhy a bad time?
- bdcravens 3y agoWas posted just before evening time in the US on Independence Day, so reduced visibility due to the holiday celebrations.
- shreyshnaccount 3y agoWorld's bigger than the US
- bdcravens 3y agoOf course it is, but a large portion of HN users are in the US. (approximately 41%, according to https://toolhub.tech/blog/Demographics-of-Hacker-News/ https://toolhub.tech/blog/Demographics-of-Hacker-News/)
- thallosaurus 3y agoJust reading the page provoked me to think about the way I work with the terminal. I'm definitely going to try it out later
- rekado 3y agoThis is why I'm using M-x shell in Emacs. The terminal output is just another buffer that I can search, edit, or send to an evaluator.
- PhilipRoman 3y agos/Emacs/Vim/ but yeah same thing here. Ultimately any solution for this must be scriptable. For example, can this new terminal automatically transpose file names in command output from one directory to another? The build process I'm working with copies source files and applies patches to them. My gF in Vim automatically checks the preferred source directory, replaces the file prefix and adjusts line numbers by matching similar lines so that any added patches don't mess them up.
- madspindel 3y agoSounds promising but a closed source terminal is a big no-no for me.
- vaughan 3y agoThe terminal is such a relic. The only thing going for it is that it's always fast. Every single time I use it I would prefer GUI output, and a proper scripting language like Python or JS. For output I want datagrids with search, sort, group, filter, and expandable rows. Think about how many times you are looking at massive logs of some build and you just want to view the context of one build stage. Or you want to jump back to an error.
- mvdwoord 3y agoPowershell... | Out-GridView
- madspindel 3y agoNushell https://www.nushell.sh/ https://www.nushell.sh/
- yoavm 3y agoThe only thing?.. - it's super easy to use the output of one program as the input of another, and to integrate it in bigger scripts. - it's much more discoverable. when Mac users tell me they discovered tricks like holding right click at the screen corner or whatever, I'm telling them about `--help`. - it prevents loosing context - I'm not switching windows all the time - it always works. usually the same. and everywhere: on my laptop, on my server, on my phone. These are just some reasons why I love it, but I'm sure there are others. and btw if you're really into search, sort, group filtering etc - maybe you should check out nushell. (edit: formatting)
- vaughan 3y ago> it's super easy to use the output of one program as the input of another, and to integrate it in bigger scripts This can be done with Python/TypeScript code and it would be much more maintainable and typesafe. I don't know anyone who enjoys writing bash scripts over TypeScript code. > I'm telling them about `--help` Auto-complete in a text editor is far superior. > - it always works. usually the same. and everywhere: on my laptop, on my server, on my phone. This is a good point.
- PhilipRoman 3y ago>suppose you want to navigate parent folders and explore them, but return safely to your working directory If only the shell already had a tool for this...
- deleted 3y ago[deleted]
- smcleod 3y agoI can’t see a link to the source code for it?
- dexen 3y agoExcellent thinking, making the text hypertext and opening up for ad hoc composability. Ah, the joys of re-discovering the Plan 9 tech. Here specifically the Acme IDE, and also to certain extent the Rio WM.
- ratdragon 3y agoI use tmux in all my terminal sessions. It can search. It's not grep, but 95% of the time it's enough and the 5% I capture the output to a file myself using tmux's it's copy/paste function. I wouldn't mind such functionality if it wasn't mouse-based. But switching terminal just for this not. But seeing an idea executed it always nice.