VKontakte.DJ
forum traveling
 

Celestial Software

...better by design

Home Support SSH Client Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Any way to get Meta-Shift or Ctrl-Meta-Shift (2 viewing) (2) Guests
Go to bottom Favoured: 0
TOPIC: Any way to get Meta-Shift or Ctrl-Meta-Shift
#2423
Any way to get Meta-Shift or Ctrl-Meta-Shift 14 Years ago  
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?
zoomad (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#2429
Re:Any way to get Meta-Shift or Ctrl-Meta-Shift 14 Years ago  
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
bpence (Admin)
Admin
Posts: 1404
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#2430
Re:Any way to get Meta-Shift or Ctrl-Meta-Shift 14 Years ago  
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-< and M-> . To get these in one keystroke requires a simple cord depressing Meta-Shift-and the < or > 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 = <undef>;
eol2 = <undef>; 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 = <undef>;
eol2 = <undef>; erase = <undef>; intr = ^C; kill = <undef>;
lnext = ^V; min = 1; quit = ^; reprint = ^R; start = ^Q;
status = <undef>; stop = ^S; susp = ^Z; time = 0; werase = ^W;
zoomad (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#2431
Re:Any way to get Meta-Shift or Ctrl-Meta-Shift 14 Years ago  
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-, M-.)

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

Brian
bpence (Admin)
Admin
Posts: 1404
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#2432
Re:Any way to get Meta-Shift or Ctrl-Meta-Shift 14 Years ago  
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:

www.celestialsoftware.net/telnet/AbsoluteTelnet8.26RC2.exe

Brian
bpence (Admin)
Admin
Posts: 1404
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#2433
Re:Any way to get Meta-Shift or Ctrl-Meta-Shift 14 Years ago  
Seems to work for me. Thanks much. Jon Taft
zoomad (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
Go to top