Unix/Linux Go Back    


SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

Emacs Question; Control-G Not Working

SCO


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-25-2017
trolley's Unix or Linux Image
trolley trolley is offline
Registered User
 
Join Date: Dec 2013
Last Activity: 28 March 2017, 10:15 AM EDT
Location: Medway, Massachusetts
Posts: 32
Thanks: 4
Thanked 1 Time in 1 Post
Emacs Question; Control-G Not Working

Hi!

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...
Sponsored Links
    #2  
Old Unix and Linux 03-26-2017
drl's Unix or Linux Image
drl drl is offline Forum Advisor  
Registered Voter
 
Join Date: Apr 2007
Last Activity: 20 October 2017, 9:14 AM EDT
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 2,194
Thanks: 232
Thanked 408 Times in 352 Posts
Hi.

If I type at the command line prompt:

Code:
echo '^G'|od -bc

I get:

Code:
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:

Code:
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
Sponsored Links
    #3  
Old Unix and Linux 03-26-2017
trolley's Unix or Linux Image
trolley trolley is offline
Registered User
 
Join Date: Dec 2013
Last Activity: 28 March 2017, 10:15 AM EDT
Location: Medway, Massachusetts
Posts: 32
Thanks: 4
Thanked 1 Time in 1 Post
That is what I got.

I am not sure where you are going with this.
    #4  
Old Unix and Linux 03-26-2017
jgt's Unix or Linux Image
jgt jgt is offline Forum Advisor  
Registered User
 
Join Date: Apr 2007
Last Activity: 20 October 2017, 3:40 PM EDT
Location: 44.21.48N 80.50.15W
Posts: 1,989
Thanks: 2
Thanked 268 Times in 251 Posts
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.
Sponsored Links
    #5  
Old Unix and Linux 03-26-2017
trolley's Unix or Linux Image
trolley trolley is offline
Registered User
 
Join Date: Dec 2013
Last Activity: 28 March 2017, 10:15 AM EDT
Location: Medway, Massachusetts
Posts: 32
Thanks: 4
Thanked 1 Time in 1 Post
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.
Sponsored Links
    #6  
Old Unix and Linux 03-27-2017
drl's Unix or Linux Image
drl drl is offline Forum Advisor  
Registered Voter
 
Join Date: Apr 2007
Last Activity: 20 October 2017, 9:14 AM EDT
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 2,194
Thanks: 232
Thanked 408 Times in 352 Posts
Hi.
Quote:
Originally Posted by trolley View Post
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
Sponsored Links
    #7  
Old Unix and Linux 03-28-2017
trolley's Unix or Linux Image
trolley trolley is offline
Registered User
 
Join Date: Dec 2013
Last Activity: 28 March 2017, 10:15 AM EDT
Location: Medway, Massachusetts
Posts: 32
Thanks: 4
Thanked 1 Time in 1 Post
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.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to use emacs? Also how to open existing emacs files with .cgi format? swathi123 UNIX for Dummies Questions & Answers 7 04-21-2013 12:01 AM
emacs kill-ring-save question tluamiani UNIX for Dummies Questions & Answers 0 10-06-2011 12:10 PM
SSH remote control question mgsolid Linux 2 05-09-2011 12:14 PM
Control structures and scripting question.. SlapnutsGT Shell Programming and Scripting 6 11-08-2009 08:17 PM
FTP access & control question Katkota UNIX for Dummies Questions & Answers 2 12-21-2007 09:23 AM



All times are GMT -4. The time now is 06:23 AM.