Forum

Any way to get Meta...
 
Notifications
Clear all

Any way to get Meta-Shift or Ctrl-Meta-Shift

0 Posts
2 Users
0 Reactions
500 Views
(@zoomad)
Active Member
Joined: 16 years ago
Posts: 9
Topic starter  

The alt key works well in Emacs as the meta key, but I can't seem to get an alt-shift. It would be nice to be able to get all the emacs chord commands to work on an SSH connection. Am I missing something?


   
ReplyQuote
(@bpence)
Member Admin
Joined: 1 year ago
Posts: 1375
 

Sorry it took some time to get back to you on this. I've been doing some testing, and I believe Absolute is sending the keys properly to Emacs, as long as the emacs key is defined in Options->Properties->VTOptions. Left or Right alt key works best.

I've tested combinations of meta, control, and shift together without any issue. It could be that there are other terminal options that are interfering. Can you post the output of the 'stty -a' here so I can take a look?

Brian


   
ReplyQuote
(@zoomad)
Active Member
Joined: 16 years ago
Posts: 9
Topic starter  

I admit a minimum of knowledge myself about the details of terminal key interactions in either OpenBSD or gnuEmacs, so you can take everything I say with a big grain of salt. Anyway, Ctrl- works. Meta- works. Ctrl-Meta works. But shift versions don't work form me. The simplest examples are the begining and end-of-buffer commands, M- . To get these in one keystroke requires a simple cord depressing Meta-Shift-and the keys.

Here are two stty's, the first is from outside emacs, the second from a subshell run within emacs using M-X shell.

poodley# stty -a
speed 9600 baud; 54 rows; 177 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
-extproc -xcase
iflags: -istrip icrnl -inlcr -igncr -iuclc ixon -ixoff ixany imaxbel
-ignbrk brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -onocr -onlret -olcuc oxtabs -onoeot
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ;
eol2 = ; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
min = 1; quit = ^\; reprint = ^R; start = ^

[and from a shell running under/within emacs]:
poodley# stty -a
speed 9600 baud; 0 rows; 0 columns;
lflags: icanon isig iexten -echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
-extproc -xcase
iflags: -istrip icrnl -inlcr -igncr -iuclc ixon -ixoff ixany imaxbel
-ignbrk brkint -inpck -ignpar -parmrk
oflags: opost -onlcr -ocrnl -onocr -onlret -olcuc -oxtabs -onoeot
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ;
eol2 = ; erase = ; intr = ^C; kill = ;
lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
status = ; stop = ^S; susp = ^Z; time = 0; werase = ^W;


   
ReplyQuote
(@bpence)
Member Admin
Joined: 1 year ago
Posts: 1375
 

They emacs keys seem to work fine as long as you're using letters. Meta-letter and shift-meta-letter work fine. However, Absolute has trouble with the symbols (M- M-% M-, M-.)

I'm working on a fix for this. Hold tight!

Brian


   
ReplyQuote
(@bpence)
Member Admin
Joined: 1 year ago
Posts: 1375
 

Here's an update. Check out this beta. It should take care of the EMACS meta problem. This is a BETA and will expire on April 15. At this time, I should either have a new beta or a release version that includes this functionality:

<old link removed> Please download version 8.26 or newer.

 

 

Brian

This post was modified 7 months ago by bpence

   
ReplyQuote
(@zoomad)
Active Member
Joined: 16 years ago
Posts: 9
Topic starter  

Seems to work for me. Thanks much. Jon Taft


   
ReplyQuote
Share: