Emacs Question; Control-G Not Working


 
Thread Tools Search this Thread
Operating Systems SCO Emacs Question; Control-G Not Working
# 1  
Old 03-25-2017
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...
# 2  
Old 03-26-2017
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
# 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
Hi.
Quote:
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 Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Question for expert only in Access control list

If I'm the admin for the financial system and I want to configure authorization pf file system permission.Also, The first rule is that Managers and clerks can read and write billings for all cases. The second rules is that Paralegals and administrative assits can read and write billings only on... (2 Replies)
Discussion started by: mecnio
2 Replies

2. Shell Programming and Scripting

Nawk command not working for Question mark (?)

Hi Folks, I am facing an issue with nawk command. The data is as below: ABC0022,BASC,Scene Package,INR,02May17,XXX4266,be?. Hotel,3,AW01,Twin Room,61272,41308,39590,39590,X,X ABC0022,BASC,Scene Package,INR,02May17,XXX4266,be?. Hotel,3,AW02,Twin Room with Balcony,9272,85638,4520,9590,X,X... (1 Reply)
Discussion started by: kirans.229
1 Replies

3. Shell Programming and Scripting

Bash question: working with an array of previously set variable strings

while i've used arrays to work with variables, i've never used them to loop through a set of strings and wanted to ask the community for some feedback or assistance. let me be specific. here's my code: # URL port Variables port2195=`nc -z $url2195 2195` port2196=`nc -z $url2196 2196`... (5 Replies)
Discussion started by: hungryd
5 Replies

4. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

5. UNIX for Dummies Questions & Answers

emacs kill-ring-save question

Hello, We've just upgraded to a newer version of emacs (21.3.1) and I've noticed something pretty annoying... Whenever you do a kill-ring-save, the cursor pops to where the mark was set, pauses a second, then pops back again. This obviously doesn't sound like very much, but it really slows... (0 Replies)
Discussion started by: tluamiani
0 Replies

6. Linux

SSH remote control question

I am pretty new to linux so forgive me for asking a basic question :P I am using SSH to control 40 machines. What i am trying to do is remotely bash a shell script on each machine. I am using a for loop to bash every script, code as follows. code in host machine runallworkers.sh: ... ... (2 Replies)
Discussion started by: mgsolid
2 Replies

7. Solaris

Simple question: alias not working for root

OS = Solaris 8 Issue: alias not working for root, but working for regular users # grep root /etc/passwd root:x:0:1:Super-User:/:/sbin/sh # alias dir=ls # dir dir: not found # alias dir="ls -l" # dir dir: not found # alias dir='ls -l' # dir dir: not found # alias... (2 Replies)
Discussion started by: aixlover
2 Replies

8. Shell Programming and Scripting

Control structures and scripting question..

Hey guys, I'm currently working on a project for comp sci course, and I'm very green to Unix and scripting, and only have a semesters worth of programming knowledge (bare with me! sorry!). What I'm trying to do is make a 'if ... then ... fi' control structure that takes user input and then... (6 Replies)
Discussion started by: SlapnutsGT
6 Replies

9. UNIX for Dummies Questions & Answers

FTP access & control question

Folks; I need some help with these: 1. understanding how to control access rights and manage visibility using FTP in Solaris, in other words, I need to use FTP in Solaris to be able to give some users access to add/modify data to/from the UNIX server. 2. How can i control the space allowed for... (2 Replies)
Discussion started by: Katkota
2 Replies

10. Shell Programming and Scripting

Question about working with data to create new column

Hello, I am having a problem with the script I am using to create a column from two columns I have in my file. I am needing to take column 5 and subtract it from column 2 to create column 6. I have included the script I am using and the rawdata I am using. Raw Data File:... (4 Replies)
Discussion started by: scottzx7rr
4 Replies
Login or Register to Ask a Question