4 ms·
The extended keys are also broken for most terminals in most stock OS installs.
by barrkel 13y ago
The extended keys are also broken for most terminals in most stock OS installs.
- teddyh 13y agoIf you have a graphical environment there is no reason to run Emacs in a terminal.
- barrkel 13y agoThere is every reason. It's the same whether you're running over ssh or screen, on OS X, Linux or Windows. A consistent environment is worth a lot more than the idiosyncratic (and hideous) Emacs GUI. A mouse doesn't add a lot to the editing experience. It also helps with integration in Windows. I run Cygwin emacs so that I get sane shell commands. There is no native Win32 version of emacs that also links into Cygwin, as far as I'm aware. I'd have to run the Cygwin X server (or some other X server) in order to get a GUI emacs with working M-| and friends. I rather struggle to think of a good reason to run Emacs outside a terminal. It gets you more colors and marginally better support for keyboard shortcuts. That's about it; not enough to counter the downsides.
- teddyh 13y agoIf you don’t like the menu bar or the tool bar, don’t use them. You can even turn them off if you resent the space they use. Emacs is much better graphically; it benefits from graphics just like any OS benefits. I could talk about minor improvements while debugging, or I could mention that Emacs can open image and PDF files. This is not the 1970’s when text UI’s were the norm – this is the future, where we do have graphical displays, and all programs should take advantage of them. Living life in an emulated 1970 (which a terminal emulator is) is silly.
- barrkel 13y agoIf I want to open a PDF, I use a PDF viewer - or increasingly, a web browser. If I want to open an image, I use an image viewer - or increasingly, a web browser. A text editor for programming is different. It swims best in a sea of programmable components that can be recombined endlessly. Elisp is one part of that; the shell is another. I've increasingly isolated my dependency on OSes down to two things, the web browser and the terminal window, both because those are the two things that are consistent and available across all platforms I use - from production servers down to my phone - and because they're the best platforms for what I do. I know UIs will improve over the next 20 years as they have over the past 20 years. But I also know that I spent a good 18 of the past years using one GUI IDE and editor after the next, and had little compounded return on each iterated investment. Meanwhile, the parallel investment I made in the terminal and the shell has paid off handsomely. I'm no longer pissed off at the crap Apple and MS pull with their OSes, because I'm no longer dependent on them. I spend more and more time in the terminal. Using a world-class editor in the terminal is just another extension of that. Another thing. I transitioned to using Linux on the desktop fulltime at work last February. That transition would have been much more painful if I hadn't lived inside Cygwin on Windows since 1998 or so. If I had to live with the horrific car crash that is X userland, I doubt I could have lasted as long as I have. I want to have little to do with X as possible. It's a colossal pile of crap. Every app beyond a web browser and terminal emulator is an app too many.
- teddyh 13y agoI don’t see that you give any reason for why you would want to run Emacs in a crippled (terminal) environment. Except, of course, that you have chosen the life of a hermit and live in a cave with only stone knives and bear skins. Your personal lifestyle choice of using only Cygwin and terminals does not support your general assertion that there is every reason for everyone to deliberately cripple Emacs’ user interface by running it in a terminal emulator.
- JasonFruit 13y agoThat's a matter of terminal configuration, not configuring Emacs.
- barrkel 13y agoNo, it's not just a matter of terminal configuration. Terminfo can't describe all the keystrokes that some terminal emulators can generate. The easiest way of fixing it is a couple of small patches to the broken Ubuntu terminfo entries, and some functions in .emacs to handle everything else.