Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 14499

is for the Emacs ansi terminal emulator. Emacs supports ANSI-standard VT100-style escape sequences recognized by such modern terminals as xterm. `M-x ansi-term` command starts a terminal, which by default runs in a sub-shell in a buffer named `*ansi-term*` with `term-mode`.

0 votes
1 answer
283 views

How to fix <delete> and arrow keys in ansi-term on macOS

I'm running emacs on macOS, and I've run into problems with ansi-term. Using bash itself works fine, but as soon as I run a simple application with a command line interface, my <delete> and arrow keys …
achalk's user avatar
  • 589
1 vote
Accepted

How to fix <delete> and arrow keys in ansi-term on macOS

I've found a solution. C-c C-j switches the terminal from term-char-mode to term-line-mode, and fixes the behaviour inside the application. Once I'm finished with the application, C-c C-k switches the …
achalk's user avatar
  • 589
0 votes
1 answer
196 views

How to run rspec from the emacs shell?

I'm following an entry-level tutorial on rspec here, and I've created a very simple test at spec\lib\zombie_spec.rb: require "spec_helper" describe "A Zombie" do #Your 'examples' (tests) go here. …
achalk's user avatar
  • 589
0 votes
Accepted

How to run rspec from the emacs shell?

It turns out this was a problem with ruby gems as a whole, not just rspec. And there's an emacs package that fixes the problem: rvm, as outlined here. So, a step by step solution: M-x package-instal …
achalk's user avatar
  • 589