Emacs Question; Control-G Not Working

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Old 03-25-2017
Emacs Question; Control-G Not Working


I am using Emacs 22.3.1 and the Control-G command will not work to cancel. I took my init.el file out of the mix and it stills does not work. I am not sure when I upgraded from 20.4 to 22.3.1, if it worked, but it certainly does not now.

Any thoughts...
# 2  
Old 03-26-2017

If I type at the command line prompt:
echo '^G'|od -bc

I get:
0000000 007 012
         \a  \n

what do you get?

Note that you may need to fiddle a bit to get ^G (07, the Bel character) into a command line. I used the vi-like notation ^V^C., Cntl-VCntl-G

Thiis was on a system like:
OS, ker|rel, machine: Linux, 3.16.0-4-amd64, x86_64
Distribution        : Debian 8.7 (jessie) 
bash GNU bash 4.3.3

cheers, drl
# 3  
Old 03-26-2017
That is what I got.

I am not sure where you are going with this.
# 4  
Old 03-26-2017
3 tests.
Does this occur at a character session at the console?
Does it occur at a graphical session on the console, and finally does it work at a terminal emulation session?
Assuming that this is all on SCO.
# 5  
Old 03-26-2017
This only happens when I am in emacs. I have a copy of mince, which is emacs-like. I am able to use Control-G. I can press Control-G at the terminal and hear the bell.

I even rolled back bash on my SCO Openserver from 2.05a to 2.03. That did not make a difference.
# 6  
Old 03-27-2017
Originally Posted by trolley
That is what I got.

I am not sure where you are going with this.
I wanted to start at the keyboard to see if ^G (7) was really being generated and transmitted by the terminal driver / stty not mapping ^G to something other than a value of 7.

If ^G is getting to programs like bash (you said you heard a bell), and mince (which I have never heard of), then it seems like a flaw in the version of emacs that you are using.

I searched briefly on the web and found nothing that seemed to be on target.

If no one seems able to help you here, you may need to ask at a site that is more emacs-centric.

Good luck ... cheers, drl
# 7  
Old 03-28-2017
Thank you.

I will try changing the version of Emacs. If that does not fix it, I will move to a emacs forum.

---------- Post updated 03-28-17 at 10:15 AM ---------- Previous update was 03-27-17 at 11:42 AM ----------

I tried using Emacs 21.4, but I got the same results. I guess I will try going to the Emacs forum.

Thanks all for trying to help me.
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Question for expert only in Access control list mecnio UNIX for Advanced & Expert Users 2 01-15-2017 05:19 PM
Nawk command not working for Question mark (?) kirans.229 Shell Programming and Scripting 1 11-23-2016 11:13 AM
Bash question: working with an array of previously set variable strings hungryd Shell Programming and Scripting 5 12-02-2014 10:19 AM
How to use emacs? Also how to open existing emacs files with .cgi format? swathi123 UNIX for Dummies Questions & Answers 7 04-21-2013 01:01 AM
emacs kill-ring-save question tluamiani UNIX for Dummies Questions & Answers 0 10-06-2011 01:10 PM
SSH remote control question mgsolid Linux 2 05-09-2011 01:14 PM
Simple question: alias not working for root aixlover Solaris 2 04-07-2011 09:34 AM
Control structures and scripting question.. SlapnutsGT Shell Programming and Scripting 6 11-08-2009 09:17 PM
Emacs starwind4 UNIX for Dummies Questions & Answers 1 03-05-2009 06:41 AM
GNU Emacs Help led3234 UNIX and Linux Applications 5 05-21-2008 07:47 PM
FTP access & control question Katkota UNIX for Dummies Questions & Answers 2 12-21-2007 10:23 AM
Question about working with data to create new column scottzx7rr Shell Programming and Scripting 4 08-21-2007 07:55 PM
accent in emacs annemar UNIX for Dummies Questions & Answers 2 01-24-2006 03:30 AM
Help on EMACS VENC22 UNIX for Dummies Questions & Answers 4 07-14-2005 02:14 AM
emacs error... help! jeffro UNIX for Dummies Questions & Answers 7 09-11-2001 12:07 AM