News for hackers. Stuff that matters.
Re:iTerm2 critical security release by decasia on Thursday January 02, 2025 @08:10PM (#42581034)
I'm confused by the comments saying "Just don't use iTerm2." The same class of issue can occur for any other project, and switching is not a very effective defense against it.

If anything, having an embarrassing issue like this is probably going to improve the iTerm2 project's security posture in the medium term. It's like that joke about firing the engineer who caused the incident, and the manager who retorts, "Why would I fire them? They just learned the hard way never to make this mistake again." (I'm paraphrasing.) I don't think that iTerm2 has had a notably high rate of critical security issues, and I suspect they won't make this class of mistake twice. (And if they do - then I will re-evaluate.)

I suppose intuitively I would think that using the default MacOS Terminal app is a bit lower-risk than using iTerm2 or any other open source terminal emulator, as Terminal is a rather sparse piece of Apple-provided software with a low pace of change. But it's also closed source and impossible to audit, so there are tradeoffs there too.

Re:iTerm2 critical security release by zitterbewegung on Thursday January 02, 2025 @08:24PM (#42581131)
There was another issue where iTerm2 added AI functionality and then after some backlash allowed the ability to turn it off. If the additional features (which is why you would use iTerm2 in the first place) start making more and more problems it is starting to make more sense to use terminal.app or alternatives.
Re:iTerm2 critical security release by ratorx on Thursday January 02, 2025 @08:35PM (#42581206)
This is incorrect.

iTerm2 never enabled any AI features by default (it always required an OpenAPI key, which the user had to provide). The backlash was for including an AI related feature in the default build at all.

Following the backlash, I think they made it an optional plugin.

Re:iTerm2 critical security release by mattl on Thursday January 02, 2025 @09:41PM (#42581692)
It should never have been anything other than an optional plugin but this doesn’t seem too harmful.
Re:iTerm2 critical security release by jki275 on Thursday January 02, 2025 @08:50PM (#42581319)
Wow -- as already posted, this is absolutely false. This is not at all what happened, the iterm2 folks are way more sensitive to their users' feelings than that.
Re:iTerm2 critical security release by muppetman on Friday January 03, 2025 @04:32AM (#42584107)
You're right, but, as a user reading those release note for the first time, that's how it seemed. AI is being added? TO MY TERMINAL? Yes once I read it I understood it wasn't quite that bad, but the initial "Are you f*king kidding me?" feeling never left. AI. Next to my terminal. Please.
Re:iTerm2 critical security release by internet2000 on Thursday January 02, 2025 @08:47PM (#42581297)
The built-in Terminal is a) simpler, smaller attack surface b) older c) supported by probably more than one person, in a more risk-averse org d) used by a lot more people so issues will get noticed and fixed sooner e) part of a pretty robust public beta OS program.

Just don't use iTerm2.

Re:iTerm2 critical security release by hombre_fatal on Thursday January 02, 2025 @10:52PM (#42582200)
Point D is a thing we assume about software but over time you realize it's not the case. You'll see a native macOS app like Terminal and assume it's blessed by Apple, has its own dedicated team with daily standup and meetings, but it's actually just propped up by random tickets in a larger issue tracker, doesn't have a dedicated team, and depends on what amounts to begrudged work or charity work by whoever happens to work on a ticket in passing.

A random rockstar will come in and move the code forward 5 years never to be seen again.

Re:iTerm2 critical security release by anon7000 on Thursday January 02, 2025 @08:51PM (#42581325)
And best of all, not as good, and not open source!
Re:iTerm2 critical security release by sixothree on Thursday January 02, 2025 @10:07PM (#42581887)
Windows Terminal is though!
Re:iTerm2 critical security release by wkat4242 on Friday January 03, 2025 @12:18AM (#42582728)
I really dislike that one. Not enough configurability. Unlike Apple terminal which is kinda surprising because normally Microsoft is the one with all the option settings and Apple makes the opinionated software where they decide everything and the user has to take it as it comes.

But Microsoft is becoming similar unfortunately. You can see it in other software too, like them discontinuing the real Outlook and replacing it with a web one that has much fewer options, can't even be started up offline (!) and wastes more screen space. And they are moving more and more apps to electron or their own knockoff of it.

Re:iTerm2 critical security release by eigenvalue on Friday January 03, 2025 @12:52AM (#42582925)
Windows terminal is great. Very performant and looks really nice. I also have mobaxterm for doing work remote machines, but for local work using WSL Ubuntu it’s my preferred terminal by far.
Re:iTerm2 critical security release by wkat4242 on Friday January 03, 2025 @06:24AM (#42584672)
Oh I used it only when it first came out. I went back to PuTTY (i never use the console on windows for other stuff and I'm not allowed to use WSL at work). And at home i only have a windows box for gaming.

So there was some assumption on my part sorry. But informed assumption because other stuff I work with (Teams, Outlook) have only become much worse since their release :)

Re:iTerm2 critical security release by jazzyjackson on Friday January 03, 2025 @01:04PM (#42587951)
To be a fly on the wall when they decide to go live with a Teams (New) that asks if you want to keep using Teams [not new].
Re:iTerm2 critical security release by jazzyjackson on Friday January 03, 2025 @01:03PM (#42587943)
How do you judge performance of a terminal ? I know graphics in the terminal is an edge case and all but when I'm running a chafa [0] application Windows terminal on Windows is about 1000x slower than alacritty on mac, I run into issues where if I hold down a key all the key events get queued up as if the graphics thread is blocking the applications ability to react to key events, so I just have to baby it and hit one key at a time.

[0] https://hpjansson.org/chafa/

Re:iTerm2 critical security release by behnamoh on Friday January 03, 2025 @01:09AM (#42583006)
we're talking about Mac terminals.
Re:iTerm2 critical security release by Lammy on Friday January 03, 2025 @04:11AM (#42583982)
Open source — monkey's paw curls — but spies on you https://github.com/search?q=repo%3Amicrosoft%2Fterminal+tele...
Re:iTerm2 critical security release by wongogue on Friday January 03, 2025 @06:49AM (#42584820)
That’s anything Microsoft makes these days.
Re:iTerm2 critical security release by shlomo_z on Thursday January 02, 2025 @11:43PM (#42582521)
I would argue that opinions such as this stifle innovation
Re:iTerm2 critical security release by nxobject on Thursday January 02, 2025 @11:54PM (#42582577)
Hey, you can innovate in terms of security guarantees, too.
Re:iTerm2 critical security release by nikau on Thursday January 02, 2025 @09:47PM (#42581740)
You forgot f) so lacking in features that it's a productivity roadblock
Re:iTerm2 critical security release by vlovich123 on Thursday January 02, 2025 @09:50PM (#42581775)
I have never felt a productivity roadblock from terminal. It’s important to distinguish “oh neat and shiny”/“I like this more” from “actually makes me work faster”. If your terminal is a real productivity roadblock, it’s likely your workflow is optimizing for the wrong things because it just shouldn’t be taking that much of your time.
Re:iTerm2 critical security release by fastball on Thursday January 02, 2025 @10:09PM (#42581908)
I work on a laptop with a small scren most of the time. I am constantly going in and out of the shell. iTerm2 has a quake mode that allows me to seamlessly pull this up on top with a keypress. It significantly reduces the lag of switching to another window with CMD+Tab or w/e.
Re:iTerm2 critical security release by lolinder on Thursday January 02, 2025 @10:45PM (#42582166)
Some of this stems from just the extremely bad support for hotkey window management on the part of MacOS.

On my Linux machine with KDE I can open a new terminal with a single hotkey and alternate between open terminals with a second hotkey. I've never once wished for a fancier terminal than KDE's default.

Using Mac for work is a different story, though it's remedied somewhat with Rectangle and similar.

Re:iTerm2 critical security release by behnamoh on Friday January 03, 2025 @01:10AM (#42583010)
ghostty has a quick terminal too. you can also use raycast to toggle show/hide any app including third party terminals.
Re:iTerm2 critical security release by vlovich123 on Friday January 03, 2025 @01:30AM (#42583112)
The small screen is your productivity bottleneck far more than the terminal itself. Change that and I’m sure you’ll notice a much larger productivity boost than a few seconds saved on cmd-tab or other hotkeys available (and there are hotkey improvement tools you can install that aren’t tied to a specific application).
Re:iTerm2 critical security release by fastball on Friday January 03, 2025 @02:58AM (#42583590)
I move around a lot and travel light, upgrading the small screen isn't really an option. I definitely agree there are probably countless ways I could further optimize my system, but switching to a more feature-rich shell app is a clear productivity upgrade, since it only took me a few minutes to setup the features I need (security concerns aside).
Re:iTerm2 critical security release by freehorse on Friday January 03, 2025 @03:22AM (#42583698)
Bringing a mobile external monitor with me saved my life (figuratively).
Re:iTerm2 critical security release by BytesAndGears on Thursday January 02, 2025 @10:18PM (#42581970)
Neovim is basically unusable due to the plugins I use having Unicode characters not supported properly (like telescope), so it does make a huge difference to me. Also, latency is an issue, and of the third-party terminals, only kitty is snappy enough to have nearly zero latency issues while typing. Drives me crazy when I’m chaining commands and there is a ~150ms delay.

Plus, any terminal other than kitty is noticeably laggy when using other terminal programs and typing quickly, and 90%+ of my time is spent in the terminal: using custom commands and aliases, ruby shell, docker, on top of usually using vim for editing. And having great customizable hotkeys for different common functions.

Guess my point is that the terminal app you use can make a big productivity difference

Re:iTerm2 critical security release by awesome_dude on Thursday January 02, 2025 @10:12PM (#42581926)
You're right, all those users that switched to iterm2 because the default is such a steamer have NO IDEA what they are doing, and only you, some random on the internet are capable of seeing the flaw in their ways.
Re:iTerm2 critical security release by vlovich123 on Friday January 03, 2025 @12:19AM (#42582733)
People can switch because certain things feel easier or there’s nicer polish or quality of life improvements you enjoy. That doesn’t mean there’s an actual productivity boost and couching the former in terms of the latter is dishonest.

It’s interesting the emotional reaction you’re having to a rather banal observation.

Re:iTerm2 critical security release by gjvc on Friday January 03, 2025 @12:41AM (#42582872)
are you mental? terminal on os x used to be objectively shite, with horrendous latency. that is enough to discourage people for life.
Re:iTerm2 critical security release by lolinder on Thursday January 02, 2025 @10:49PM (#42582185)
What missing features do you see as a roadblock?

I installed iTerm2 on my work Mac because it came so highly recommended, but I honestly never remember to open it over the regular terminal. ~All of the features that matter to me in a terminal are features of the shell and the OS, not of the emulator itself.

Re:iTerm2 critical security release by pama on Friday January 03, 2025 @12:18AM (#42582725)
Iterm is better documented. Try finding how to pass Ctrl-Meta-key; better yet, throw in a shift as well. Setting up 24bit color, supporting italics, and allowing Emacs keystrokes to go through to the remote server at will is a quality of life improvement. I managed to be feature complete with iterm on macOS with minimal effort, but not with the default terminal, and there was no source code I could check to help me avoid trivial annoyances. Xterm/rxvt from xQuartz on Mac OS are easier to work with than the default Mac OS terminal, and feel closer to their behavior in Linux, but then you have some unneeded X window features and miss other trivial automation features like multiple tabs.
Re:iTerm2 critical security release by eptcyka on Friday January 03, 2025 @01:34AM (#42583127)
iTerm2 is slower. It feels way jankier with nvim than Console, kitty or literally anything else. I do not believe anyone should be using iterm2, given their history of security issues. All of them leave me scratching my head as to why did anyone think that designing it the way they did is a good idea.
Re:iTerm2 critical security release by pama on Friday January 03, 2025 @04:06AM (#42583958)
I wanted to like kitty and tried it many times. It is subtle issues that break Emacs now and then, like breaking the display alignment for some zero-width joined emoji. Iterm2 on a MacBook is snappy for me. With remote work, the latency for me is mostly network delays of order a couple of ms per keystroke for the cabled Ethernet connection; mosh helps for the extreme cases, or when on WiFi (which often feels annoying without mosh), otherwise ssh -C is sufficient for my daily driver.
Re:iTerm2 critical security release by dangus on Friday January 03, 2025 @02:15AM (#42583332)
The idea that iTerm is noticeably slow is hilarious.

If you buy a base model grandma level MacBook Air it can play Cyberpunk 2077 without breaking a sweat and somehow terminal performance is an issue.

And if all I cared about was raw performance I’d be using vim instead of VSCode. But raw performance isn’t what makes me productive.

Re:iTerm2 critical security release by eptcyka on Friday January 03, 2025 @02:25AM (#42583389)
But it is. Scrolling in neovim is noticably slower on iTerm2. This makes it cumbersome to use. Even if it doesn't prevent me from inputting the keystrokes any faster, if it is cumbersome to use, it will make me work slower.
Re:iTerm2 critical security release by dangus on Friday January 03, 2025 @02:42AM (#42583483)
An entire thread of neovim users generally saying that the performance is acceptable: https://www.reddit.com/r/neovim/s/JOQL9e76fp

Just because something else is faster doesn’t mean that iTerm is slow. It’s all relative.

Re:iTerm2 critical security release by eptcyka on Friday January 03, 2025 @03:49AM (#42583860)
Sure, it is slow for me.
Re:iTerm2 critical security release by BSDobelix on Friday January 03, 2025 @05:09AM (#42584302)
>Just because something else is faster doesn’t mean that iTerm is slow. It’s all relative.

If you are thinking about a change, console marketing would be a good place to start ;)

Re:iTerm2 critical security release by soraminazuki on Friday January 03, 2025 @07:07AM (#42584936)
I've used numerous terminal emulators on both macOS and Linux. I use Neovim daily. There is no noticeable difference in scrolling performance.

Additionally, there are so many ways scrolling can slow down in Neovim (e.g., bad tmux config). It's hard to take your word for it that the issue lies in iTerm2 in the absence of any sort of reproducible evidence.

Re:iTerm2 critical security release by eptcyka on Friday January 03, 2025 @07:13AM (#42584975)
There might be some tmux involved, yes. But the same tmux config works just fine with Kitty. Kitty also hasn't been leaking commands I've ran as DNS requests. Nor has it left my zsh history on a remote host. I don't care to investigate why iTerm2 works worse for me because I am satisfied enough with a solution that works. iTerm2 not working for me rhymes with my previous experiences with iTerm2 and its security issues.
Re:iTerm2 critical security release by soraminazuki on Friday January 03, 2025 @07:34AM (#42585095)
That's uncalled for. Security issues are quickly fixed and released in iTerm2. The dev is responsive to feedback, even to hostile Mastodon trolls brigading the issue tracker [1].

Please don't be like that.

Also, any serious software has its own share of problems. Have you actually looked at the issue tracker for your supposed champion?

[1]: https://news.ycombinator.com/item?id=40657890

Re:iTerm2 critical security release by likeabatterycar on Friday January 03, 2025 @08:52AM (#42585637)
People are allowed to have preferences and dislike software.

Similarly, if your mechanic forgets to tighten the lug nuts or leaves the oil cap off, and nearly kills you or destroys the engine, you are allowed to find a new mechanic without the Hackernews hoi polloi coming out of the woodwork saying how unfair it is, he has mouths to feed, and linking to critical Yelp reviews of your new mechanic trying to convince you of your own idiocy and wrongdoing.

This emotional attachment to a piece of throwaway software here is frankly weird.

Re:iTerm2 critical security release by soraminazuki on Friday January 03, 2025 @10:35AM (#42586513)
This over the top aggressive response to a bug in a passion FOSS project. That thing you just did is what I have issue with.

People are allowed to have opinions. In the same spirit, others are allowed to call out inappropriate or toxic behavior.

Also,

> Hackernews hoi polloi coming out of the woodwork saying how ... he has mouths to feed

Do you not understand what people mean when they say iTerm2 is free and open source software developed in a single person's spare time, and people aren't owed any of it?

What's even more unfortunate is your take on my previous comment:

> linking to critical Yelp reviews of your new mechanic

Let me be more clear. You'll find something to pick on in any FOSS software. When you bring it up, no FOSS community will tolerate the kind of attitude you put on full display here.

Last but not least,

> This emotional attachment to a piece of throwaway software here is frankly weird.

Piece of throwaway software? Do words have no meaning to you? This is 15 year's worth of work that you're belittling. That work consists not only of coding, but coordinating with users and other software projects. I've seen him many times in issue trackers of various other projects. He's giving away all of that work for free. Imagine having to deal with people like you on top of all that.

Re:iTerm2 critical security release by eptcyka on Friday January 03, 2025 @09:01AM (#42585722)
What specifically is uncalled for? I disagree with the design choices made in iTerm2 and wish the best of luck to the developer(s) behind it. I am not wishing any harm, but I do have to say that the input latency is annoying and attempting to resolve words in command output to see if they are hostnames is a dubious technical solution. Am I not allowed to voice my opinion on this?
Re:iTerm2 critical security release by soraminazuki on Friday January 03, 2025 @10:18AM (#42586355)
It was an oversight that was promptly fixed after the issue was raised. The dev created a post-mortem [1] and a wiki [2] describing the issue.

Seriously, give the poor dev a rest. It's absolutely uncalled for to throw in a non-sequitur about some bug from 7 years ago, making snide remarks about how that's a "design choice."

[1]: https://gitlab.com/gnachman/iterm2/-/issues/6068#note_409052...

[2]: https://gitlab.com/gnachman/iterm2/-/wikis/dnslookupissue

Re:iTerm2 critical security release by eptcyka on Friday January 03, 2025 @03:41PM (#42589279)
Sure, it was an oversight. I am glad the issue was resolved swiftly, and I think George Nachman managed the issue well. But it is the existence of the bugs discussed in this thread that make me feel like not using iTerm2. I do not understand how can one not use past events as arguments in favor of not using a piece of software. I'm more than certain that George Nachman is a great developer developing great software, and I am not saying otherwise. I will however not cede that I do not wish to use iTerm2 because of the existence of the dns lookup bug in the first place, combined with the high input latency - I will not use software just because someone has put a lot of effort in it - I have to feel good about using it too :)
Re:iTerm2 critical security release by BlobberSnobber on Friday January 03, 2025 @03:39AM (#42583788)
Cyberpunk 2077 on a MacBook Air without breaking a sweat? At what resolution and framerate?
Re:iTerm2 critical security release by dangus on Friday January 03, 2025 @09:25AM (#42585897)
The plain M4 chip will run Cyberpunk 2077 at 30FPS 1080p. (Andrew Tsai on YouTube)

I did neglect the fact that Apple hasn’t thrown that chip in the Air yet, but I’m sure that’s only a few months away.

Re:iTerm2 critical security release by BlobberSnobber on Friday January 03, 2025 @12:47PM (#42587795)
At ultra settings? Even if, 30 fps at 1080p is not nearly “without breaking a sweat”. Also, the air will have trouble keeping that performance after a few minutes without a fan.

I love my MBP M4 Pro, but its gaming performance doesn’t reflect well what it’s capable of.

Re:iTerm2 critical security release by dangus on Friday January 03, 2025 @01:37PM (#42588270)
This is at High settings! And I haven’t even mentioned that the game is running via Crossover through multiple translation systems. That’s translating both Intel Windows to ARM Mac as well as translating the graphics APIs (DirectX or Vulkan to Metal).

The cyberpunk native Mac release comes out this year and will almost certainly improve performance further.

Why would anyone care about ultra settings on a laptop? I don’t even set my PC desktop to ultra settings in the game and I have a current generation mid-high end GPU. Setting demanding games to Ultra just giving up FPS to not tell the difference.

30fps 1080p is basically console-level standards for a AAA graphically intense game (not esports or online shooter). And that isn’t bad at all for the processor with integrated graphics that Apple sticks in its cheapest computer and its tablets.

Your MacBook Pro M4 Pro is one of the best gaming laptops on the market in terms of hardware! Especially if you want something that’s thin, light, and quiet with good battery life and not just a thick tank of a system or a loud but thin and light gaming laptop that struggles to power and cool its dGPU.

Depending on your configuration, you can actually play Cyberpunk at high settings at or above 60FPS on your laptop. You’re vastly underestimating it!

Your laptop just needs the software to get ported, and the Mac gaming space is rapidly evolving now that Apple is paying attention to it.

Re:iTerm2 critical security release by wiseowise on Friday January 03, 2025 @04:50AM (#42584210)
Latency during typing is a real issue, not sure what you find hilarious here.
Re:iTerm2 critical security release by frizlab on Friday January 03, 2025 @05:27AM (#42584381)
I don’t know about the rest, but I’m sure Terminal supports italic.
Re:iTerm2 critical security release by yakshaving_jgt on Friday January 03, 2025 @12:13AM (#42582696)
Quake mode. Terminal doesn't have it, and the recently released Ghostty's quake mode is slower than iTerm2.

There's very little I want in a terminal emulator. What I really want is a full screen terminal, with no menu bar, no delay, and no animations, which I can toggle with a global hotkey.

Re:iTerm2 critical security release by eadmund on Friday January 03, 2025 @01:30AM (#42583110)
It strikes me as a little odd for the terminal rather than the desktop environment within which it runs to implement the hotkey (or, as you call it, ‘Quake mode’).

I just have my tiling window manager configured with a keybinding to raise my terminal. No menu bar, no delay, no animation, just type the keybinding and bam, there’s my console, covering the complete screen. Another keybinding, and there’s my browser. Another keybinding, and there’s my editor.

Re:iTerm2 critical security release by yakshaving_jgt on Friday January 03, 2025 @01:38AM (#42583156)
How are you achieving this in MacOS?
Re:iTerm2 critical security release by kiliankoe on Friday January 03, 2025 @04:13AM (#42583988)
I do this using Raycast, no matter which terminal emulator I'm using today (Terminal, Ghostty or Alacritty), I can just setup my global hotkey in Raycast and get the same "quake mode" everywhere.
Re:iTerm2 critical security release by yakshaving_jgt on Friday January 03, 2025 @04:23AM (#42584043)
Does the terminal appear instantly, and obscure everything else?

By default, the way MacOS does full-screen windows is by moving them to a space. Switching between the terminal and another application, e.g., Chrome, causes a large sliding animation between applications, which I absolutely do not want.

Re:iTerm2 critical security release by kiliankoe on Friday January 03, 2025 @04:25AM (#42584057)
Oh I don't have it fullscreen, sorry, it usually covers the bottom half or bottom-left corner (depending on screen size). There it appears and disappears instantly.
Re:iTerm2 critical security release by mattbaker on Friday January 03, 2025 @01:55AM (#42583236)
I do something similar and I use Hammerspoon (with kitty in my case). It’s a hell of a tool!
Re:iTerm2 critical security release by eadmund on Friday January 03, 2025 @06:28AM (#42584701)
> How are you achieving this in MacOS?

I don’t — I use Linux on my desktop. I stopped using macOS back when it was called System 8 or 9!

I think any tiling window manager can be configured to do this, but in my case I use StumpWM.

    (defcommand terminal () ()
      (run-or-raise "urxvt" '(:instance "urxvt")))
    
    (define-key *top-map* (kbd "s-t") "terminal")
With the above, when one types Super t then the terminal either is raised to the top, or starts (and runs on top).

From others’ comments, I think that this is probably possible with a modern Mac, too, but I find that Linux is generally easier.

StumpWM: https://stumpwm.github.io/

Re:iTerm2 critical security release by yakshaving_jgt on Friday January 03, 2025 @06:32AM (#42584714)
That sounds great, but I'm not changing my entire operating system just so I can have a possibly marginally better terminal emulation experience.
Re:iTerm2 critical security release by eadmund on Friday January 03, 2025 @08:52AM (#42585643)
You would also get a better window manager, better compatibility with server operating systems, a bash updated this decade, XCompose (think the Option key, but way, way, way more powerful) and more freedom, but on the other hand you’d lose macOS-only programs, and from time to time would have to deal with something truly frustrating which would never be an issue on a Mac.

It’s certainly not perfect, but I do prefer it. But then, I enjoy yak shaving grin

Re:iTerm2 critical security release by yakshaving_jgt on Friday January 03, 2025 @09:59AM (#42586180)
> I enjoy yak shaving

As my username would suggest, so do I. However…

> a better window manager

The bulk of my workflow involves Chrome and tmux inside my always available full screen terminal. I haven't the need for multiplexing anywhere except the terminal.

> better compatibility with server operating systems

I run nix-darwin on MacOS, and I have remote NixOS machines configured as build hosts. This is important, as everything I write is Haskell, and it must be compiled for x86_64-linux.

> a bash updated this decade

I use zsh and the bash available in the latest nixpkgs.

---

MacOS does an excellent job of managing all the other quality of life stuff that doesn't immediately concern me as a power user. A number of my current and former colleagues are all in on NixOS, but the number of times over the years I've had to wait at the beginning of a video chat for them to configure their audio settings, which sometimes means installing different drivers and/or turning their machine off and on again…

Yeah. Even as a huge nerd, I think MacOS is great.

Re:iTerm2 critical security release by LoganDark on Friday January 03, 2025 @01:33PM (#42588235)
Another option is rcmd. https://lowtechguys.com/rcmd/
Re:iTerm2 critical security release by winaiisbest on Thursday January 02, 2025 @11:01PM (#42582263)
Agreed - iterm2 is the best. It has every single feature i ever wanted in my computer and i dont even have to open any other application. This is exactly what a software product should be. I am glad the maintainer doesn't care that the product is crammed with all these features. The only thing I miss is the ability to have iterm2 generate code for me. Hope it gets added soon.
Re:iTerm2 critical security release by soraminazuki on Friday January 03, 2025 @01:30AM (#42583115)
Imagine creating a throwaway account to lie about an iTerm2 feature because you couldn't single out any other feature that's legitimately problematic.

> Looks like the maintainer tried to implement something like Windows' Recall feature - logging every input/output to a file.

https://news.ycombinator.com/item?id=42582191

Re:iTerm2 critical security release by pjmlp on Friday January 03, 2025 @01:50AM (#42583215)
As old UNIX hat, what is that missing?

After my "UNIX is cool, lets configure everything" phase, which lags behind in the 1990's decade, xterm or anything like it, is more than enough.

I don't need fancy stuff for a bunch of CLI commands.

Re:iTerm2 critical security release by dangus on Friday January 03, 2025 @02:09AM (#42583309)
This is macOS, not UNIX for bearded geezers. It’s literally an operating system meant to be easy to use for consumers, a.k.a. morons.

It’s also a very popular corporate deployments where most of your command line users are web application developers who are just doing a job because it pays good money. They have no philosophical attachment to traditionalist simplicity, perhaps compassion nonfor computing at all.

I don’t blame macOS users for liking the features of iTerm2.

Re:iTerm2 critical security release by pjmlp on Friday January 03, 2025 @03:19AM (#42583678)
Which is exactly why the command line is to be used as little as possible, and for the very few use cases a command line is required, it doesn't need to be fancy.

macOS users of Apple and NeXTSTEP culture linage don't care iTerm2 exists at all, only Linux and BSD refugees.

Re:iTerm2 critical security release by bigfudge on Friday January 03, 2025 @03:44AM (#42583822)
As an original Macintosh user who discovered programming via HyperCard and Unix through OS X I’d disagree. I think there are a fair number of people like me who can’t bear the ugliness (in all senses) of windows and the time sink of Linux but do love composable open source utilities and text files for parts of our work.
Re:iTerm2 critical security release by pjmlp on Friday January 03, 2025 @04:23AM (#42584046)
Then you are pretty much aware that until OS X, Mac OS developers and users hardly cared about command line.

Most would only get it via MPW, and outside automating compiler workflows, hardly open the terminal.

Re:iTerm2 critical security release by dangus on Friday January 03, 2025 @10:33AM (#42586496)
That was almost 30 years ago.

People on classic Mac weren’t making web apps running on Linux servers.

Re:iTerm2 critical security release by pjmlp on Friday January 03, 2025 @11:02AM (#42586757)
Doesn't change the point of culture.

Also many of those people, if they want to deploy on Linux servers, they would be better off using local Linux development, not OS X.

Re:iTerm2 critical security release by frou_dh on Friday January 03, 2025 @11:59AM (#42587301)
Even if someone exclusively writes software that ends up running on Linux servers, doesn't mean they don't appreciate various nice Mac-exclusive applications as a user during their workday.

An example: I love everything about the Things task management app so much that I would never choose to run a desktop OS it doesn't run on.

Re:iTerm2 critical security release by oneeyedpigeon on Friday January 03, 2025 @03:44AM (#42583826)
I wonder how far this reductio ad absurdum is going to get. Come on, we can get to "just don't use a computer" by teatime!
Re:iTerm2 critical security release by pjmlp on Friday January 03, 2025 @04:24AM (#42584054)
Over here it is more like Kaffee & Kuchen, but yeah.
Re:iTerm2 critical security release by bennythomsson on Friday January 03, 2025 @04:07AM (#42583966)
> consumers, a.k.a. morons.

Wtf man. Some of the smartest people I know have no interest in getting anywhere close to sw eng or working anywhere in IT, so are by definition "consumers".

Just wait until one of those "morons" operates a tumor out of your brain.

Re:iTerm2 critical security release by theodric on Friday January 03, 2025 @04:39AM (#42584139)
I've always said that "consumer" is a slur.
Re:iTerm2 critical security release by dangus on Monday January 06, 2025 @10:49AM (#42611538)
It's just humor. I'm a moron myself. It's not a big deal.

The more serious point is that Apple's primary customer base does not care for what's going on with the command line, and that's why the provided terminal is basic and feature-bare.

It's not really this intentional thing where the bare terminal is the best implementation. It's more of a Notepad.exe situation where Apple has to include one for the basic functionality of the system.

Re:iTerm2 critical security release by frizlab on Friday January 03, 2025 @05:26AM (#42584377)
That’s completely untrue.
Re:iTerm2 critical security release by azinman2 on Thursday January 02, 2025 @08:53PM (#42581340)
I don’t have the stats, but I wouldn’t be surprised if iterm 2 is more popular than Terminal.app. Only power users are using this, and they tend towards power user tools.
Re:iTerm2 critical security release by lolinder on Thursday January 02, 2025 @10:53PM (#42582211)
> Only power users are using this, and they tend towards power user tools.

I have a souped-up zsh config that I clone to all my systems, but I've honestly never seen the point in optimizing my terminal emulator. The shell itself provides the real functionality, and it's cross-platform so by leaning on it I get the same features whether I'm on my KDE desktop, MacBook, or SSH'd in via Termux.

What power user features am I missing by ignoring the emulator and focusing on the shell?

Re:iTerm2 critical security release by stackghost on Thursday January 02, 2025 @11:10PM (#42582326)
I no longer use iTerm2 but it has tmux integration built in that's pretty nice if you take the time to set it up properly.
Re:iTerm2 critical security release by wkat4242 on Friday January 03, 2025 @12:20AM (#42582742)
I tried that but I feel the same about that as lolinder says above. Using tmux as normal works better on all my systems, not just the Mac. I just don't see the point to it.
Re:iTerm2 critical security release by pama on Friday January 03, 2025 @12:34AM (#42582824)
Being able to easily set it up so it sends key combinations to remote servers at will (including ctrl/meta/shift combos) was my main reason; this enabled my seamless interactions with remote Emacs servers. 24bit color and italics were the cherry on top. The shells within Emacs have unlimited and easily searchable/editable state. I can log into a shell buffer and copy paste a debug diagnostic output together with the command line; I can quickly create minimal example oneliners iteratively to help debug a problem and paste both input and output at any point in time, including days later. I can search all my open shells (often dozens; sometimes hundreds) for any commands or outputs trivially. This is hard to achieve if the terminal gets in the way to using Emacs in the way I like, when some key combo is impossible to transmit, and I have to rewire things to the minimal common subset that Terminal.app supports and hope that it will not break in the future. Finally, without public source code, I dont think I can truly trust a terminal ever. It feels too personal. Of course apple has control of the hardware and I live with that restriction for parts of my life, but I am less concerned about apple monitoring/intercepting my work, and rather worried about the full number of exploits in the terminal app that remain to be uncovered in the near term. I agree that too many features are a drawback of iterm; at least the code is there and the useful features work well enough.
Re:iTerm2 critical security release by kemayo on Friday January 03, 2025 @12:45AM (#42582887)
There's some minor things that iTerm2 does that I like:

You can hold down command and click URLs to open them. (You can actually kinda do this in Terminal.app as well by right-clicking a URL and choosing to open it, but it's a bit fiddlier, and I got used to the hover feedback in iTerm2.)

You can click to highlight entire blocks of output from commands, which I sometimes find handy when things feel like they're blending together.

It'll keep a floating copy of the previous command prompt at the top of the screen so you can see what led to whatever output is currently at the top.

None of these are essential, for sure.

Re:iTerm2 critical security release by warpflyght on Friday January 03, 2025 @02:27AM (#42583396)
Though I don't know how to do the third, Terminal.app supports the first two. Command+double-click opens URLs, and you can select the content of the last command with Edit > Select Between Marks or shift-command-A. (Terminal.app automatically adds a mark each time it detects a new prompt, unless you turn that setting off in Edit > Marks.)
Re:iTerm2 critical security release by kemayo on Friday January 03, 2025 @11:04AM (#42586768)
This is actually one of those cases where the ease of doing it makes a real difference to me… iTerm2 does both of those on a single click, and that makes it vastly more likely that I’ll use them. (Completely a matter of taste, I’ll admit.)
Re:iTerm2 critical security release by empthought on Thursday January 02, 2025 @09:18PM (#42581530)
If by “popular” you mean “number of unique users” then almost certainly not.
Re:iTerm2 critical security release by philistine on Thursday January 02, 2025 @10:25PM (#42582020)
There are way more power users of macOS who turn to the Terminal because of the beauty of Brew than there are people who switch from Terminal.app.

Thinking there are more people who switched out of Terminal diminishes how massive computing is.

Re:iTerm2 critical security release by Patrick_Devine on Thursday January 02, 2025 @09:43PM (#42581706)
It also doesn't render unicode characters correctly (specifically unicode block chars). And they refuse to fix is, so d. is kinda a moot point.
Re:iTerm2 critical security release by saagarjha on Thursday January 02, 2025 @11:56PM (#42582589)
> supported by probably more than one person

lol. lmao. When I was at Apple it was one guy to like 4 apps

Re:iTerm2 critical security release by meindnoch on Friday January 03, 2025 @04:46AM (#42584193)
This finally explains why Apple didn't have issues with merging XIB files.
Re:iTerm2 critical security release by stonogo on Thursday January 02, 2025 @09:32PM (#42581621)
You forgot f) doesn't support tmux control mode.
Re:iTerm2 critical security release by dangus on Friday January 03, 2025 @02:06AM (#42583292)
It’s fine if you don’t want features in your terminal, but telling people who do like having software that has features not to use an alternative just because “more features equals complexity equals security risk” in the way you’re doing it is pretty condescending.

Let’s not forget that basically every graphical IDE on the planet has an integrated terminal emulator, and for good reason

I’d have a smaller attack surface if I turned my computer off and did all my work for my employer with pen and paper. I’d have a smaller attack surface if I didn’t buy a Mac at all and only used a security-hardened distro.

And here you are acting like Apple is God’s gift to stability and security when every single fall season Apple’s major dot zero version updates ship with visible bugs all over the place.

And to nitpick you, the assumption that more than one person is actively working on the default macOS terminal is laughable. I doubt it even has a full time employee dedicating 100% of their time to it. The yearly release notes look like less than one person’s annual output of work.

I remember that thread on here where the person who worked on Rosetta 2 said it was a solo project for years until closer to release when the team expanded to around 10.

Re:iTerm2 critical security release by rcruzeiro on Friday January 03, 2025 @02:13AM (#42583323)
> Let’s not forget that basically every graphical IDE on the planet has an integrated terminal emulator, and for good reason

*cries in Xcode

Re:iTerm2 critical security release by mvdtnz on Thursday January 02, 2025 @09:47PM (#42581742)
Unfortunately the isn't the first very serious security oversight with iterm2.

https://news.ycombinator.com/item?id=15286956

Re:iTerm2 critical security release by JoBrad on Thursday January 02, 2025 @10:07PM (#42581893)
Honestly that 7 year old thread makes me glad I use iterm2. George posted a fix in a short period of time (which he still does today), and added comments to that thread addressing the issues. Sounds like a decent person who cares about his users.
Re:iTerm2 critical security release by boomlinde on Friday January 03, 2025 @07:36AM (#42585117)
> George posted a fix in a short period of time

No, the issue had been reported on their bug tracker twice (and closed twice) in the two years prior to their response in the thread. It took a loud enough crowd to convince them it was an issue, even though the original reports described the security implications.

https://gitlab.com/gnachman/iterm2/-/issues/3688 and then https://gitlab.com/gnachman/iterm2/-/issues/5303

Still,

> Sounds like a decent person who cares about his users.

Agreed!

Re:iTerm2 critical security release by vlovich123 on Thursday January 02, 2025 @09:53PM (#42581795)
Only if they actually communicate what they’ve learned from it and what changes they’re making to prevent such mistakes in the future / catch them before release. Until then you can assume that they’ll keep making similar classes of mistakes.
Re:iTerm2 critical security release by soraminazuki on Thursday January 02, 2025 @11:52PM (#42582563)
What did George ever do to you that warrants this level of contempt and condescension? Am I missing something, because there are so many activists like you having an inexplicable vendetta against iTerm2 all over this thread.

This is sad because iTerm2 is one of the best terminal emulators out there. It's the first terminal emulator that popularized shell integration. Newer terminal emulators are still catching up, a decade later. tmux integration is another popular feature that's still unique to iTerm2. George has been working tirelessly on iTerm2 pretty much solo for 15 years [1]. To this day, he continuously brings new improvements to the terminal experience that keeps being copied by other terminal emulators. Developers benefit from his work, iTerm2 users and non-users alike. We should be expressing our gratitude instead of doing whatever people are doing in this thread.

George found this security issue the day after New Year's day and immediately released a fix [2]. That's commitment. And while the effects of this bug can be severe, most people wouldn't have triggered the bug.

    > 1. Either:
    >   a) You used the it2ssh command, or
    >   b) In Settings > Profiles > General, the
    >      Command popup menu was set to "SSH" (not
    >      "Login Shell", "Command", or "Custom
    >      Command") AND "SSH Integration" was checked
    >      in the SSH configuration dialog. That dialog
    >      is shown when you click the Configure button
    >      next to the ssh arguments field in Settings.
It's almost as if some people are jumping at any chance of retribution, justified or not. This all sure intensified after iTerm2 at one point introduced an AI-related feature into the default build that one can just safely forget exists by not actively enabling and engaging with it. Some in the Mastodon community even went as far as openly fantasizing about inflicting violence on the poor dev [3]. I just can't understand the morality of some of the people you see online.

[1]: https://github.com/gnachman/iTerm2/graphs/contributors

[2]: https://github.com/gnachman/iTerm2/commits/master/?since=202...

[3]: https://web.archive.org/web/20240613170001/https://archive.i...

Re:iTerm2 critical security release by rougka on Friday January 03, 2025 @01:31AM (#42583116)
The terminal is the last bastion of the "good old times" for many people. that's why a terminal aiming at modernizing the experience is so triggering
Re:iTerm2 critical security release by soraminazuki on Friday January 03, 2025 @01:43AM (#42583180)
iTerm2 doesn't interfere with people wanting the same old experience and you don't even have to use it either. Being "triggered" by a free and open source passion project that has helped countless number of developers around the world is beyond absurd. "Ungrateful" doesn't even begin to describe it.
Re:iTerm2 critical security release by rougka on Friday January 03, 2025 @03:13AM (#42583659)
Don't get me wrong, I like it. But there's a fake nostalgia around terminals lately (nvim, oh-my-zsh, etc) and it seems emotional
Re:iTerm2 critical security release by soraminazuki on Friday January 03, 2025 @06:44AM (#42584791)
People have always been emotional about their choice of software, I guess. But people are treating George, who has shown nothing but good faith this past 15 years of iTerm2 development, like the product manager of Windows Recall. That's a whole new level of emotional response which I don't understand where it's even coming from.
Re:iTerm2 critical security release by vlovich123 on Friday January 03, 2025 @02:25AM (#42583391)
There is absolutely 0 condescension in my comment. All I highlighted is the flaw in the argument that a mistake made is a lesson learned. Indeed, there’s no indication the root cause of the lesson leading to this situation has indeed been learned.

You seem to be triggered by a perceived critical comment of a piece of software you’ve developed an emotional attachment to. I have not attacked anyone associated with the iterm2 project nor have I questioned his talent in creating a popular project or his commitment to it. Lumping me in with toxic people you encountered on social networks is completely uncalled for and I’ve never called for violence against anyone.

Re:iTerm2 critical security release by soraminazuki on Friday January 03, 2025 @06:29AM (#42584703)
You asserted that author hasn't "learned" anything from this bug in a drive-by comment that starts with "Only if they actually ~". I can assure you that's incredibly condescending.

It's uncalled for too. iTerm2 has a good track record responding to user issues, even obscure ones involving Japanese input. The dev even listened to the demands of trolls who raided the issue tracker from Mastodon [1]. Security fixes are released quickly. Nothing about the project warrants the kind of cheap dismissal in display all over this thread.

You mentioned emotional attachment twice in this thread as reason some people have problems with dismissive, aggressive, or mean comments against iTerm2. No, it's basic empathy and appreciation for the thankless work going into this FOSS project.

[1]: https://news.ycombinator.com/item?id=40657890

Re:iTerm2 critical security release by boomlinde on Friday January 03, 2025 @08:16AM (#42585381)
They didn't assert that the author hasn't learned anything. They said that in the absence of information that they have, what they have and what they will do to prevent such issues in the future, you can assume they will make similar mistakes. Which may be more of a "better safe than sorry" strategy than you think is warranted, but that I don't perceive as an attack on the author.
Re:iTerm2 critical security release by vlovich123 on Friday January 03, 2025 @12:29PM (#42587612)
No it’s not condescending to highlight the author hasn’t indicated they have learned from the broader set of circumstances that led to this bug in the first place. Ripping out a feature is a first step not the only step.

I mention emotional attachment twice because twice to logical and attempted factual comments I’ve gotten emotional comments back verging on attacking me personally. I don’t use iterm2 nor is it a piece of software that takes up any mindspace for me but attacking this aggressively anyone even mildly critical because you feel like you’re part of this minority group and you need to defend yourself because you feel constantly attacked is tribalism, not empathy and appreciation.

Re:iTerm2 critical security release by soraminazuki on Friday January 03, 2025 @12:44PM (#42587767)
When you tell me that you're the lone voice of reason amid the emotional tribal backlash against you, despite people breaking down all the reasons they're calling you out step by step, I have nothing more to tell you. You might want to remember that your supposed "logic" won't stand in any FOSS community though. Or like, any community. I honestly hope that you can one day become a different person from the one who proudly proclaims that disregarding other people's work is proof of rationality.
Re:iTerm2 critical security release by vlovich123 on Friday January 03, 2025 @03:45PM (#42589307)
Where did I ever claim I was the sole voice of reason? Plenty of people on here are having a rational discussion about how this happened and several people recommended tips such as commit hooks to prevent WIP work from getting committed and released. That would be an example of a lesson learned. Indeed, it's entirely possible that George has learned that lesson too. I was just literally describing the logical problem with the assumed logic of "mistake made = lesson learned", especially when there's no evidence outlining what the lesson learned was. Similarly plenty of comments in response to things I've said have been fairly well balanced.

As for the backlash, I just highlighted how 2 responses in particular seemed emotionally charged and border line attacked me for completely innocuous comments. The first was completely condescending and sarcastic while adding no additional value to the conversation on a completely unrelated comment thread where I suggested that maybe, just maybe, the terminal you choose isn't going to meaningfully improve your productivity. Your conversation has accused me of being in league with people threatening violence to the iTerm2 author and again adding nothing to the discussion about what lessons were actually learned and then attacking me and demeaning me in all sorts of ways and accusing me of saying things I simply have not. How would you describe that? A logical defense of someone I'm not attacking?

Re:iTerm2 critical security release by soraminazuki on Friday January 03, 2025 @08:00PM (#42591214)
Bringing up an arbitrary list of demands so that a FOSS dev can "prove" to you he has "learned"? That, is what, in your words, "adds nothing to the discussion."
Re:iTerm2 critical security release by vlovich123 on Friday January 03, 2025 @10:18PM (#42592054)
Again you are claiming I said things I simply didn’t. Where did I come up with a list of arbitrary demands for him to prove he learned something?

All I said is that he simply didn’t say what he learned and provided examples of what it could look like. Again, I was very specifically responding to the claim at the beginning of the thread that a mistake made is a lesson learned isn’t actually true just because a mistake is made. It’s a very basic logical fallacy made by OP. And I point out how while he says he learned something he doesn’t actually clarify what the lesson is and what steps he’s taking to prevent said mistakes in the future. You may disagree but I feel like that adds something to the discussion.

I’m pretty done talking with you since it’s clear that you will continue conversing in bad faith and ascribing to me things I simply didn’t say.

Re:iTerm2 critical security release by bodegajed on Friday January 03, 2025 @07:09AM (#42584945)
Yes, you are right. Sometimes, reactions cause chain overreactions. We have different intensities of the situation. I checked the iTerm2 author's notes and compared them with my setup and I thought ok. It looks like I'm safe. And I moved on. But when I read your previous comment. I am now unsure because I need to know when and what changes led to this issue in the first place.

The iTerm team is just an army of one. There may be a formal analysis of the security soon.

Re:iTerm2 critical security release by vlovich123 on Friday January 03, 2025 @03:49PM (#42589338)
The root cause as I understand from other comments in this thread is a double whammy of the feature existing itself and that they managed to create a release with a WIP commit that enabled the feature. The resolved the issue by ripping out the feature. However, the latter issue remains unaddressed and to me is equally if not more concerning - there should be good practices in place to ensure that feature flags aren't even being controlled via code edits and instead there's .gitignor'ed config files that are read in a developer build for turning those features on. Additionally, git commit hooks that scan for WIP comments & prevent pushing them and sprinkling WIP comments around temporary changes might also be good defense in depth measures.
Re:iTerm2 critical security release by ewwhite on Friday January 03, 2025 @05:48AM (#42584495)
It's insane and horribly disrespectful. I don't understand the animus either. I just sent a $ donation to the maintainer.

The response to this bug is completely over the top. He found a security issue in an optional feature, immediately fixed it over the New Year holiday, and provided clear documentation about who was affected and how to address it. That's exactly how responsible disclosure should work.

The level of hostility - especially over adding optional features that people can simply choose not to use - suggests this is more about bandwagoning than legitimate criticism. We should be supporting developers who maintain critical open source infrastructure, not attacking them over a prompt response to a contained issue.

Re:iTerm2 critical security release by durandal1 on Friday January 03, 2025 @08:59AM (#42585704)
Donating in times of stress is a great idea, just donated as well.
Re:iTerm2 critical security release by jdwithit on Thursday January 02, 2025 @10:19PM (#42581979)
I mean the patch notes for this issue literally do this, so they seem to be off to a good start.
Re:iTerm2 critical security release by vlovich123 on Friday January 03, 2025 @02:19AM (#42583360)
No, all the patch notes say is “I learned from my mistake and ripped out all the logging code”.

That’s not actually a postmortem of a list of process changes. Nothing about how WIP changes made it through into a code release nor in how such mistakes will be prevented in the future. There’s a much richer discussion of options in this thread of things people do to prevent things like this. For example, reading environment variables from a file that’s gitignored so that you never accidentally commit something and you don’t need to mutate code to do a config change.

He may indeed have learned from his mistakes, but I’m pointing out the flaw of assuming every mistake was treated as a learning opportunity, especially when no real evidence exists to suggest that.

Re:iTerm2 critical security release by godelski on Thursday January 02, 2025 @10:24PM (#42582010)

  > The same class of issue can occur for any other project
This class of issues sounds like the prolific class of

  DON'T WRITE TO /tmp
Which is why systemd has a private tmp option

https://salvatoresecurity.com/the-many-perils-of-tmp/

https://systemd.io/TEMPORARY_DIRECTORIES/

Re:iTerm2 critical security release by 0xbadcafebee on Thursday January 02, 2025 @10:49PM (#42582184)
Safely writing to /tmp/ was solved in 1986. Personally I would consider this class of bug the "idiot software developer" class (or to be more charitable: "security-illiterate software developer"). My evidence? There are (at least) six different OS primitives that will avoid this bug.
Re:iTerm2 critical security release by godelski on Friday January 03, 2025 @02:47AM (#42583525)

  > Safely writing to /tmp/ was solved in 1986
If you RTFA you'll read (under "What is the issue?")

  > This file, /tmp/framer.txt, may be readable by other users on the remote host.
This is EXACTLY a non-safe writing to /tmp

Yes, there are safe ways to write to /tmp, as described in the systemd link I provided, but no, it is not safe to naively write to /tmp. Same issue as the "Many Perils of /tmp" link I provided.

A solution that no one uses is not a solution.

If you're gonna be arrogant, you better also be right.

Re:iTerm2 critical security release by boomlinde on Thursday January 02, 2025 @10:27PM (#42582036)
I am inclined to say that a low pace of change isn't necessarily a problem for something that at its core emulates 70s hardware.

It can easily become a problem if you don't leave it at that and add everything and the kitchen sink to it. Not having used the feature I have a hard time imagining why a terminal emulator should have SSH integration to begin with.

Re:iTerm2 critical security release by saagarjha on Thursday January 02, 2025 @11:58PM (#42582597)
Hardware in the 70s was full of security issues. Designing a secure terminal emulator is actually quite difficult.
Re:iTerm2 critical security release by boomlinde on Friday January 03, 2025 @07:27AM (#42585053)
> Hardware in the 70s was full of security issues.

It's however clearly not in the "70s hardware portion" of iTerm that this issue arises. Also not in the features we've come to expect of the most bare bones terminal emulators since, like Unicode support, scrollback buffers and font rendering, or even the somewhat gratuitous features like escape sequences for RGB colors, setting the window title or sixel rendering.

This is very clearly one of the kitchen sink features, and playing the devil's advocate I should say that it reflects poorly on the kitchen sink design ethos.

Re:iTerm2 critical security release by kmacdough on Friday January 03, 2025 @05:40AM (#42584452)
The comment puts the slow pace of change as an advantage. Pretty standard security principle.

Ssh integration brings lots of other "local" iterm features based on command history, etc. to the ssh environment. If you do lots of ssh work and use a lot of relevant iterm features then it's nice. Otherwise not.

Obviously, these features can be recreated with traditional tools. But these tools take time and experience to setup, and aren't naturally intuitive, despite the insistence of emacs elitists. For those who don't want to invest significant effort learning tmux, it's really nice to just check/uncheck a few boxes.

Re:iTerm2 critical security release by wkat4242 on Friday January 03, 2025 @12:13AM (#42582693)
I don't think Apple terminal is sparse at all. Try to dig through the preferences, there's surprisingly much choice for an opinionated software vendor like Apple. I love it, I've tried iTerm2 in the past but I just saw no reason to it. The only feature that slightly appealed to me was the tmux integration but I found that i preferred to just have tmux inside the terminal instead.

I know some people that use the game-like rolldown interface but I also don't like that one. There's a few niche things like that which make it interesting. But overall I just don't see the need.

If there's something that's sparse in options, it's Windows Terminal. Don't like that one at all (though it's better than the previous command prompt window).

Re:iTerm2 critical security release by Kwpolska on Friday January 03, 2025 @04:41AM (#42584156)
Windows Terminal has a ton of options these days. Last time I used Apple's, it had very US-centric handling of Alt/Option, unlike iTerm2.
Re:iTerm2 critical security release by vouaobrasil on Friday January 03, 2025 @05:19AM (#42584350)
> I've tried iTerm2 in the past but I just saw no reason to keep using it.

One feature that's cool in iTerm2 is that you can define the left and right margins so using Vim full-screen looks nicer (I hate narrow margins). But I've switched to Sublime text for everything so I stopped using iTerm2.

Re:iTerm2 critical security release by frizlab on Friday January 03, 2025 @05:24AM (#42584372)
I love Terminal. I tried iTerm2 but never got the appeal and switched back to Terminal.
Re:iTerm2 critical security release by johncoltrane on Friday January 03, 2025 @05:49AM (#42584500)
I used iTerm2.app for a while, back when Terminal.app didn't support 256 colors. That was literally the only reason and I ditched it the day Terminal.app got 256c, many years ago, now.
Re:iTerm2 critical security release by joshka on Friday January 03, 2025 @06:07AM (#42584582)
It however doesn't have 24bit color still
Re:iTerm2 critical security release by johncoltrane on Friday January 03, 2025 @07:07AM (#42584938)
Which is not an issue for me as 256c is my sweet spot.
Re:iTerm2 critical security release by wkat4242 on Friday January 03, 2025 @06:21AM (#42584657)
Meh that's kinda overrated. There's only so many colours you can discern in individual letters.
Re:iTerm2 critical security release by joshka on Friday January 03, 2025 @06:23AM (#42584665)
Sure, the issue is that it doesn't gracefully degrade when presented with 24bit color.
Re:iTerm2 critical security release by sengifluff on Friday January 03, 2025 @08:10AM (#42585349)
Tmux does, though!

I used iTerm2 for a while before realising that tmux automatically maps 24-bit colors to 256color. It works well enough for me that I switched back to Terminal.app.

Re:iTerm2 critical security release by johncoltrane on Friday January 03, 2025 @07:11AM (#42584962)
Well, assuming 24bit—or anything from a terminal emulator, really—is not a very bright strategy.
Re:iTerm2 critical security release by crest on Friday January 03, 2025 @08:02AM (#42585305)
Depends on your colour palette :-P.
Re:iTerm2 critical security release by danyala on Friday January 03, 2025 @06:08AM (#42584592)
Ghostty has the quake mode interface and has allowed me to overcome my shame for never graduating to iTerm. I can't remember much about the game except the giblets but hopefully I've understood.
Re:iTerm2 critical security release by alwyn on Friday January 03, 2025 @06:26AM (#42584683)
The majority of configuration options in Windows Terminal are hidden in JSON. The GUI only exposes a fraction. They are doing work to expose more options in the GUI though.

Having tried various alternatives for prolonged periods, it is currently IMHO the best option when you have to work on Windows.

Mac and Linux options are just vastly ahead.

Re:iTerm2 critical security release by wkat4242 on Friday January 03, 2025 @06:41AM (#42584769)
Ah I see. I only used it since the beginning and I hated it and didn't go back. Certainly didn't explore json options :) Thanks!

I really hate working on windows too and our company is tightening stuff down so crazily that I can hardly work anymore so I mostly work on my home lab in Linux and transfer stuff there. Totally not allowed by my employer but they make it impossible for me to work otherwise.

Re:iTerm2 critical security release by sedatk on Friday January 03, 2025 @12:41AM (#42582869)
> having an embarrassing issue like this is probably going to improve

LastPass disagrees.

Re:iTerm2 critical security release by eptcyka on Friday January 03, 2025 @01:35AM (#42583136)
What do you mean by saying that the same class of issue can happen to any other terminal emulator?