News for hackers. Stuff that matters.
Re:Hello system, a FreeBSD-based OS designed to resemble Mac by monadic3 on Thursday February 11, 2021 @02:30AM (#26099147)
Just use the built-in readline bindings: option-delete should delete the last word you typed.

Personally, the PC keybindings are completely alien to me and make no sense and bring my productivity to a stand-still. Without my readline bindings text editing is a straight-up chore.

Re:Hello system, a FreeBSD-based OS designed to resemble Mac by smichel17 on Thursday February 11, 2021 @08:34AM (#26101295)
While we're on bindings, it's ridiculous to me that no OS has a key for system level bindings that is separate from the key for application level bindings. For the sake of example, I'll call them the Sys and App keys.

<Sys-{x,c,v}> to manipulate the clipboard.

<Sys-{up,left,right}> to maximize and split window on left or right.

<App-s> to save; <App-t> for new tab (in browsers), <App-f> to search.

I really dislike when apps interfere with what I consider to be system level shortcuts, like copy/paste. But I also recognize that for some places (e.g. text with formatting) it's nice to allow it. So here's the nice thing: by default <App-{x,c,v}> can be the same as Sys, but this is a shortcut apps can override. Tada! Best of both worlds.

It seems like between Ctrl, Alt, and Cmd/Win, we ought to be able to separate these cleanly, even with some legacy compatibility restrictions. It frustrates me that Apple went partway there with the command key, but then decided to blur the lines, and there's no longer a clear distinction (actually, as a non Apple user: what do you even use the control key for?).

Re:Hello system, a FreeBSD-based OS designed to resemble Mac by int_19h on Sunday February 14, 2021 @08:40PM (#26138109)
Windows is kinda sorta trying to do this with the Win key. It's not as consistent as what you describe - and it can't really be without breaking a lot of backwards compatibility for the users - but there's a slew of stuff like Win+M to minimize all windows, or Win+E to open Explorer.

(For the curious, look under "Windows logo keyboard shortcuts" here: https://support.microsoft.com/en-us/windows/keyboard-shortcu...)

Re:Hello system, a FreeBSD-based OS designed to resemble Mac by kritr on Friday February 12, 2021 @02:06AM (#26111348)
<Ctrl-left/right> to move between virtual desktops. And in terminal environments where I want the actual control key.
Re:Hello system, a FreeBSD-based OS designed to resemble Mac by monadic3 on Tuesday February 16, 2021 @04:14PM (#26158875)
idc
Re:Hello system, a FreeBSD-based OS designed to resemble Mac by smichel17 on Tuesday February 16, 2021 @05:39PM (#26159681)
Why edit your comment to something completely content-less?
Re:Hello system, a FreeBSD-based OS designed to resemble Mac by grahamjperrin on Saturday February 13, 2021 @09:54AM (#26123894)
> … readline bindings: option-delete should delete the last word you typed. …

Alt-Backspace with tcsh in FreeBSD-CURRENT has the desired effect for me.

Alt-Delete produces this:

;3~

Am I missing something?

https://en.wikipedia.org/wiki/GNU_Readline