TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why is the terminal input so weird?

110 pointsby zachlloydover 2 years ago

45 comments

shricover 2 years ago
Dark pattern #1: Allowing the user to download the app and only then requiring the user to login&#x2F;signup. This is because you know very well almost nobody will bother to try your terminal if you make it clear you require a login up front. But if they&#x27;ve gone to the trouble of downloading it, dragging it to Applications and running it, then maybe they&#x27;ll go all the way.<p>Dark pattern #2: On sign-up, you &quot;agree to our terms of service&quot; but then you have the gall to say, on unsubscribe: &quot;you are currently subscribed to our opt-in messaging. Do you want to remove yourself from opt-in messaging?&quot;<p>Agreeing to a 17 page terms of service document might be technically &quot;opting in&quot; to messaging (spam), but it sure isn&#x27;t in spirit. Opting in is when you click on a, previously unchecked, check box that has &quot;I&#x27;d like to receive marketing from you&quot;.<p>I&#x27;m sure there&#x27;s plenty more but I uninstalled it already.
评论 #33632110 未加载
评论 #33632487 未加载
评论 #33632243 未加载
评论 #33632160 未加载
评论 #33643288 未加载
评论 #33632256 未加载
smoldesuover 2 years ago
As much as I&#x27;d like to encourage the rethinking of input methods, any terminal with a &quot;Pricing&quot; page is an instant nope from me. My current terminal is Open Source and while it&#x27;s not perfect, it&#x27;s also Free. That matters more to me than mouse input or IDE autosuggestions. If you&#x27;re going to treat Linux users as a second-class citizen and charge for corporate usage, who are you hoping your target audience will be? Frankly, I don&#x27;t ever see this replacing iTerm 2 for most Mac developers.<p>I wish you luck, but your product in it&#x27;s current state is confusing to me. fish solves most of these issues for me and it runs on all my devices, free. All I&#x27;ll say is that your competition is stiff.
评论 #33629237 未加载
评论 #33630506 未加载
评论 #33630813 未加载
MrWifflesover 2 years ago
I like the <i>idea</i> of Warp, but I just can&#x27;t get past the whole &quot;login required to use a terminal&quot; thing. If you force a login to use your closed-source app, beta or not, I&#x27;m sorry, but I can&#x27;t take any commitment to privacy you make seriously whatsoever. No matter how well-intentioned you may be. That well&#x27;s been poisoned beyond redemption by far worse people than you and there&#x27;s just no going back.<p>Now if that login required barrier was removed, I&#x27;d at least be willing to give it a <i>try</i>. May not switch, but I&#x27;d be willing to give it a chance. But as it stands? Hard pass.
评论 #33631776 未加载
评论 #33632796 未加载
lordleftover 2 years ago
Guys, it doesn&#x27;t matter if you can edit terminal input in vim. If there&#x27;s a way to do it in an even more ergonomic &#x2F; user-friendly way, that&#x27;s not intrinsically a bad thing. This entire comment thread makes us sound like tech-grognards.<p>Warp&#x27;s pricing model is a whole other issue though.
评论 #33629454 未加载
评论 #33630315 未加载
评论 #33632347 未加载
评论 #33629428 未加载
评论 #33629532 未加载
ploumover 2 years ago
People who do not understand things are poised to reinvent them badly.<p>The post manage to analyse terminal input without having acknowledging readline. So yeah, they have no idea what they are talking about.<p><a href="https:&#x2F;&#x2F;www.masteringemacs.org&#x2F;article&#x2F;keyboard-shortcuts-every-command-line-hacker-should-know-about-gnu-readline" rel="nofollow">https:&#x2F;&#x2F;www.masteringemacs.org&#x2F;article&#x2F;keyboard-shortcuts-ev...</a>
评论 #33629123 未加载
评论 #33630071 未加载
0xbadcafebeeover 2 years ago
&gt; This post is about why terminal-based input seems stuck in the 80s<p>It&#x27;s actually more 60s&#x2F;70s, when the first terminals, command-line prompts, and shells were built. The reason why it&#x27;s stuck there is technology has only improved iteratively rather than revolutionarily. The &quot;lets add another layer of abstraction&quot; form of innovation, rather than outside-the-box thinking and reinvention.<p>The fact that we still write software by hand using lines of source code in a text editor is pretty ridiculous to me. It&#x27;s not that far removed from punch cards.
评论 #33629528 未加载
评论 #33633027 未加载
评论 #33629654 未加载
brenns10over 2 years ago
A lot to be said about this - setting aside the privacy&#x2F;login&#x2F;pricing stuff, I think the problems and solutions here are vastly overstated.<p>Yeah, terminal input is odd at times. Doubly so if your main prior experience is entering text into HTML textareas. There&#x27;s a learning curve, but there&#x27;s a benefit to tackling that curve. For one, you get readline editing, which is _far_ more powerful than the textarea comparison, and it&#x27;s customizable. For another, if you need to use your editor to manage a larger command, you have that exact option (see Ctrl-X Ctrl-E in bash&#x2F;readline). That editor can be vim, or it could be your pimped out VSCode with Copilot. Bash doesn&#x27;t care.<p>When you think about it, that&#x27;s a good 70% of the article&#x27;s complaints resolved. Trouble navigating through lines of command input? Learn your readline keybindings, or just pop it open in your editor of choice, which also grants you syntax highlighting and whatever else.<p>The other 30% of what article proposes are pretty decent ideas. Why _isn&#x27;t_ there a way to hover over a command and see a snippet from its manual page, or to hover over a command-line flag or option, and see the data from the manual page? We have bash-completion which can provide us command-specific completion, what about docs? Many new features can be added to the current architecture. For example, OSC 52 allows terminal apps to send data to the clipboard so long as the terminal emulator supports it. I don&#x27;t see why similar extensions couldn&#x27;t enable applications to annotate text with documentation, etc. But that doesn&#x27;t require the terminal to take over all the line editing: it&#x27;s just incremental improvement to the current system.<p>And that&#x27;s where I think this article and approach are wrong. Maybe it works with the user&#x27;s shell, but what about Python? GDB? Or the myriad other command line tools I use on a daily basis? As it is now, my terminal is responsible for being the best &quot;terminal emulator&quot; possible. It handles input, draws to my screen, and does it fast. It doesn&#x27;t need to concern itself with supporting GDB: it is a terminal, and that&#x27;s that. I&#x27;d rather not see these layers get smooshed. Let&#x27;s focus on improving the current system so that GDB, readline, and the other pieces of the puzzle can incrementally improve the situation.
kelseyfrogover 2 years ago
Seventy-five to one hundred percent of the author&#x27;s complaints are addressed by the `fc` command and I&#x27;m surprised it hasn&#x27;t been mentioned yet. Fc opens $EDITOR and upon exiting executes the saved contents. It&#x27;s great for editing a complex command, but perhaps a tad obscure.
评论 #33631992 未加载
评论 #33631181 未加载
评论 #33631290 未加载
评论 #33632156 未加载
评论 #33632093 未加载
zokierover 2 years ago
Although I don&#x27;t like terminals, I think the article overstates the problems to significant degree. The fact that text editors running in terminal still manage to have &quot;ide-like&quot; experience (including mouse input!) proves that you <i>can</i> do a lot with terminals. I still think that trying to move beyond terminals is good idea, but it&#x27;s important to distinguish what is impossible, and what is just ugly&#x2F;hacky to do.
评论 #33629424 未加载
AndriyKunitsynover 2 years ago
The developers seem to be proud that their shell is “Rust-based”, they write it several times on the main page. But why would I care what a closed-source application is made with? Sorry if it’s blunt, but I just don’t get it.
评论 #33632285 未加载
VWWHFSfQover 2 years ago
Let&#x27;s be honest here, nobody is using this warp terminal as long as it&#x27;s closed-source and especially not when it has built-in tracking.<p>To the warp terminal developers:<p>I&#x27;m sure your terminal program is great, but stop posting this content-marketing stuff here. It&#x27;s not your audience.
评论 #33639308 未加载
评论 #33639086 未加载
评论 #33632741 未加载
评论 #33632702 未加载
apetrescover 2 years ago
I can edit the terminal input line with full vim-mode in my shell (zsh). In fact, in normal mode I can even hit &#x27;v&#x27; and edit the line in a full vim session to zip around however I want, do completions, etc. It&#x27;s pretty close to the platonic ideal method of input I could imagine.
评论 #33629616 未加载
评论 #33629138 未加载
评论 #33629030 未加载
bitwizeover 2 years ago
$27 million in A round funding for a terminal emulator, folks. And it&#x27;s written in Rust! For Macs only! All it needs is to detect and respond to the state of your gut bacteria and it&#x27;d be truly peak Hackernews.<p>Good thing they got that funding a few months ago instead of now, when there&#x27;s far less VC money sloshing around and the Juicero of the command line looks like a far less enticing proposition.
biftekover 2 years ago
A lot of those complaints are non issues with the default terminal in MacOS.<p>Option + mouse click moves the cursor to where ever, control+a|e move to the beginning or end of the line, option+arrow jumps words, and the arrows navigate up and down lines just fine... What am I missing?
评论 #33631659 未加载
chungyover 2 years ago
Emacs&#x27;s term-mode already solves all of these supposed problems.<p>I say supposed because they&#x27;re really not all that big of a deal. OK, bash making it difficult to go backwards to previous lines is... annoying, at least until you press C-x C-e and do what you want anyway.<p>The use of a mouse for something text-centered is pretty much foreign to me, too.
评论 #33629478 未加载
ksherlockover 2 years ago
Let me mention MPW - The Macintosh Programmer&#x27;s Workshop for classic MacOS. The shell was a text editor, just like the text editor for editing code. When you hit enter (or command-return) it evaluated the current line or selection. Command results were included in the document. (This was strictly a dumb terminal so there were no vt100 escape codes or such to mess up the display)<p>If you were confused about the command arguments you could run commando (or use … as an argument) to bring up a GUI to select the flags.<p>The Eddie text editor for BeOS and now MacOS X&#x2F;XI&#x2F;XII&#x2F;XIII has a similar text-editor&#x2F;shell hybrid.<p><a href="http:&#x2F;&#x2F;www.el34.com" rel="nofollow">http:&#x2F;&#x2F;www.el34.com</a>
评论 #33632288 未加载
mostlysimilarover 2 years ago
I bit and was curious to try Warp. Downloaded it and it immediately made a request to a Google domain and then forced a sign-up window on me. I clicked their &quot;why do we require an account&quot; FAQ and the answer is &quot;we think there are features that are better with a login.&quot;<p>Absolute no from me, even if their terminal truly is better and innovative.
danny_warpover 2 years ago
Warp currently requires a login to enable cloud-based features, like A.I. Command Search and Block Sharing, along with team features on the roadmap.<p>In case there was any confusion, Warp <i>never</i> sends the contents of terminal commands and outputs to our servers (unless a user explicitly chooses to use the &quot;Block Sharing&quot; feature).<p>What Warp currently sends in regard to telemetry is listed here: <a href="https:&#x2F;&#x2F;docs.warp.dev&#x2F;getting-started&#x2F;privacy#exhaustive-telemetry-table" rel="nofollow">https:&#x2F;&#x2F;docs.warp.dev&#x2F;getting-started&#x2F;privacy#exhaustive-tel...</a>.
评论 #33629476 未加载
评论 #33629316 未加载
blitz_skullover 2 years ago
Wow. The intent and the idea is so cool. But it&#x27;s so clearly been touched by VC funding, it almost makes me wonder if this is a (really expensive) gag.<p>Requires an account? Check. Crashes IMMEDIATELY upon opening? Check. Doesn&#x27;t support any tool I use (e.g. FZF, key-bindings, etc)? Check. Spammy &quot;iS tHe tErMiNaL oN lIfE sUpPoRt?&quot; blog post? Check.<p>Do they even know their target market is mildly allergic to all of the above? Yikes.
ed25519FUUUover 2 years ago
What I don’t like is the non-ergonomic way that text scrolls. If three lines appear then the cursor is moved down three lines. I’m always craning my neck to try and find where the input cursor is just to reset it constantly to the “top” of the screen. I’d love it if I could just “glue” it to the bottom or top so output doesn’t change its location constantly.
评论 #33631612 未加载
drcongoover 2 years ago
I have one question about terminal input that I cannot work out how to work out.<p>The setup: I&#x27;m on a Mac, I use iTerm for my terminal, Fish for my shell, and most often I&#x27;m inside a docker container also running Fish and using iPython.<p>The question: When I Ctrl+W to delete a word in a Fish prompt, what counts as a word is different to what counts as a word in iPython. For instance, Ctrl+w at the end of this string `test.func(&#x27;param1&#x27;, &#x27;param2&#x27;)` produces...<p>Fish: test.func(&#x27;param1&#x27;, &#x27;param2&#x27;<p>iPython: test.func(&#x27;param1&#x27;,<p>Hit Ctrl+w again, and you get...<p>Fish: test.func(&#x27;param1&#x27;, &#x27;<p>iPython: all gone.<p>This causes me to over delete in iPython many, many times per day. I&#x27;m guessing that the rough flow of the delete word signal is iTerm -&gt; Fish -&gt; iPython and that iPython is the thing that&#x27;s being overzealous?
评论 #33629140 未加载
评论 #33632691 未加载
beej71over 2 years ago
At the simplest level, this reminds me of input in C64 BASIC. You could hit RETURN anywhere on on any line and that line would get parsed as if you&#x27;d just types it in. You could cursor around, edit previously-entered lines, and so on. It was pretty neat.
Brian_K_Whiteover 2 years ago
If I were able to stomach this idea at all, I would just replace my terminal with Alexa or Gooogle Assistant not this.
kevdoranover 2 years ago
Warp looks fantastic! It looks like it&#x27;s not OSS yet but they&#x27;re considering it? <a href="https:&#x2F;&#x2F;github.com&#x2F;warpdotdev&#x2F;Warp&#x2F;blob&#x2F;main&#x2F;LICENSE" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;warpdotdev&#x2F;Warp&#x2F;blob&#x2F;main&#x2F;LICENSE</a>
评论 #33629469 未加载
einherjaeover 2 years ago
A lot of the complaints here can be solved by knowing that C-x e will drop you from bash into emacs to edit your current line, which then gives you any bells and whistles you’ve configured in emacs. Bonus is that this is generally available and doesn’t require a newfangled set of tools.
评论 #33630280 未加载
qbit42over 2 years ago
As a casual terminal user, I have found Warp to be a nice improvement over standard terminals. Although most of the issues raised in this article can be addressed with various shortcuts, it is nice to not have to remember these when I only pull up the terminal a couple times a week.
评论 #33639382 未加载
hprotagonistover 2 years ago
if $EDITOR is properly configured, C-x C-e and hey presto, all is well for complex commands.
评论 #33632837 未加载
CharlesWover 2 years ago
What do heavier terminal users think of Warp&#x27;s philosophy vs. Fig&#x27;s (which I&#x27;ve found useful as a relatively-light terminal user)? <a href="https:&#x2F;&#x2F;fig.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fig.io&#x2F;</a>
评论 #33630363 未加载
vander_elstover 2 years ago
TO better understand the architecture, how will this work if I want to use the shell in vi mode? IIUC that would not be possible with their setup, right? Warp would need to implement a vi mode, correct?<p>Is it possible to work with vim in warp?
评论 #33629552 未加载
deanmenover 2 years ago
Just use `M-x shell` in emacs.
评论 #33632800 未加载
shadeslayer_over 2 years ago
I have been using Warp for the past couple of days and the autosuggestions when I&#x27;m working over SSH are pretty nifty, it probably saves me a fair amount of time everyday.<p>Making a login required is absolutely unnecessary, though.
aap_over 2 years ago
On plan 9 you can easily edit any text in a window. Seems like a sensible idea.
terminal_dover 2 years ago
A lot of macOS users are suckers for any sort of themed-up applications that can be replicated in their normal setups without any extra software, had they just bothered to RTFM.
评论 #33631701 未加载
otikikover 2 years ago
I am probably not going to try this, but I am glad it exists.
raydevover 2 years ago
I wonder how many people upset about Warp here also use VS Code and don&#x27;t bother turning telemetry off.
评论 #33645426 未加载
eointierneyover 2 years ago
I&#x27;m only a relative newbie but emacs<p>Literate programming in org-mode with babel and magit and () is<p>Still weird but so much more than a terminal
giantdudeover 2 years ago
This is &#x27;Hacker News&#x27;. Hackers like open source.
nathiasover 2 years ago
your problem with terminal is that you don&#x27;t grok vi
qrio2over 2 years ago
Bro please stop shilling your stupid terminal replacement. Nobody here wants this. Almost everybody here believes you need to get comfortable working in the STANDARD TERMINAL
thefilmoreover 2 years ago
Because you haven&#x27;t `set -o vi`.
sbbrover 2 years ago
golem&gt; ed<p>? help ? ? ? quit ? exit ? bye ? hello? ? eat flaming death ? ^C ? ^C ? ^D ?
gtm1260over 2 years ago
This is awesome
steve1977over 2 years ago
set -o emacs?
puffoflogicover 2 years ago
TL;dr.<p>In zsh (vi mode) I simply press shift-v and I am dropped into my $EDITOR with my current input loaded into a buffer. Of course I rarely need to do this because zsh vi mode covers 99% of my requirements.<p>So, my tldr for an article I didn&#x27;t finish reading: someone doesn&#x27;t know how to use their tools and instead of learning they jumped on the internet to complain, and&#x2F;or sell me a solution or something, idk.
评论 #33631141 未加载
评论 #33630392 未加载
motbus3over 2 years ago
learn vi set -o vi You are free