Live data from Hacker News

Ask HN: What do you love/hate about terminals? Would you change them?

news.ycombinator.com

91–100 of 204 posts

Re: Ask HN: What do you love/hate about terminals? Would you change them?

#91
I like Plan 9 terminal somewhat, even though it's infuriatingly simplistic and non-ergonomic:

- the idea of the terminal as a document which can be navigated is pretty interesting (tmux fixes this to some degree).

- the possibility to display other types of content directly inside the terminal window (e.g. man-pages rendered as pdf inside the terminal window), although it was not a terminal feature, but the feature of rio.

Re: Ask HN: What do you love/hate about terminals? Would you change them?

#92

Earlier quoted context omitted.

"cat" could never work of course, or the general idea of a terminal that has only a pair of input/output streams must be given up. I don't think people are willing to do that. A sensible protocol to draw raster graphics would be nice, though. (And it might exist, I don't even know). I don't care whether I need to type "cat" or the name of a terminal-based image viewer.

> "cat" could never work of course We have an idea in that direction, where each program in a pipeline can optionally specify a file type, and the last file type hint in the pipeline determines how the stdout is rendered. So if you have "cat image.jpg", then "cat" can indicate a file type of image/jpg, causing stdout to be interpreted as an image. But if you have "cat image.jpg | grep foo" (just making something up h…

I would not recommend that. That would be the source for endless bikeshedding and could never satisfy all people. (See the mess that HTTP / REST are).

It's not a problem to have this handled in the shell such that the output is rendered in such a way as to please the terminal. You can do this manually (e.g. append a "| display-jpeg-in-terminal" command to the pipeline), or use a magic bytes based file viewer.

Look at "run-mailcap" or its shortcuts like "see". It does basically that, and can also be fed through standard input (which covers the piping situation).

Re: Ask HN: What do you love/hate about terminals? Would you change them?

#93
post #57

i've got ~20 bashes open in various tmux configurations. the amount of times i lost command history is infuriating (e.g. due to reboot or whatever). context-sensitive completion (not necesarrily tab completion, mind you) is very basic compared to IDEs. mouse support would be good if it was actually useful. copy and paste is useful. zoom in/out (think c--/c-+/c-0 in browsers) would be nice sometimes, especially when i…

> i've got ~20 bashes open in various tmux configurations. the amount of times i lost command history is infuriating (e.g. due to reboot or whatever).

zsh does (has an option to) commit commands to the history file immediately when you execute the command. Makes me hate bash even more when I have to use it occasionally on a server.

Re: Ask HN: What do you love/hate about terminals? Would you change them?

#94

I use stock bash / Konsole and I am really missing a good text reflow when changing the size of the window. If some command prints a line which gets wrapped because it is too long then I wish I could un-wrap it by making the terminal window wider and forcing some sort of re-layout.

Yes, it would be nice if reflowing became more common. We are not sure if our spec requires the terminal to support reflowing (because of the resource usage implications), but the terminal must at least be able to announce whether it does reflowing (and/or word wrapping).

Re: Ask HN: What do you love/hate about terminals? Would you change them?

#97
post #32

I would love to contribute to this group. How can I get involved?

We are currently doing most of the work offline, so it's difficult to collaborate with a far-reaching network of contributors at this point. However, if you drop me a note at , I can put you on the list of people to ping once we have something that can be put in front of more eyes.

Re: Ask HN: What do you love/hate about terminals? Would you change them?

#98

I often lose my place in a sea of similar outputs. It's infuriating that distinguishing which command belongs to which output at which time requires me to rely on my eyeballs. So for example it'd be nice if my output folded up after the following command is run. If `time` was run automatically. If I could switch on autodiffing between runs of the same command. There are probably other such ideas.

I hadn't thought about something like this but it sounds amazing. I wonder if there's some sort of existing terminal/shell combo that can do this, at least through plugins.

Re: Ask HN: What do you love/hate about terminals? Would you change them?

#99
Love:

1 speed (of typing/screen updates/just doing things)

2 simplicity (in general)

3 basic highlighting

Hate:

When layout gets into a terrible jumble that's hard to distinguish one thing from another (kind of rare and is usually when using suboptimal tools/solutions, so isn't usually a show stopper)

Re: Ask HN: What do you love/hate about terminals? Would you change them?

#100
> If you had to build one from scratch, how would you do it?

I consider Jupyter notebooks to be a fascinating evolution of the terminal paradigm: their basic behavior is close enough to a terminal, but then you are free to rearrange, rerun, delete cells, you can have rich visualization and any type of browser content, you can save and restore sessions (notebooks), share them easily, access them over the network, detach from them, etc.

Post reply on HN