Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2016, 02:33 PM
eewanco eewanco is offline
Registered User
 
Join Date: Apr 2016
Posts: 5
Unhappy "Position cursor" feature and Emacs

I love the "position cursor on <X>" feature (Session Options/Terminal). I can position the cursor in my editor using the mouse without using X and it generates the right arrow codes to get there. What a nifty idea. However emacs (GNU Emacs 24.3.1) is not playing well with it. If I click in the middle of a line, it works fine, but if I click beyond (actually more than one character beyond) the end of line, Emacs freaks out and starts "scanning" the line with the cursor ad infinitum. I can stop it by clicking in the middle of a line. The same procedure works fine in vi (no comments from the vi peanut gallery please!), both insert and non-insert mode. Does anyone know how to fix this? Looking at view-lossage, it might be a bug in SecureCRT (8.0.0 x64 build 1063) but I'm not sure:

Code:
ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ A ESC
[ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ A ESC [ C
ESC [ C ESC [ C ESC [ C ESC [ C ESC [ A ESC [ C ESC
[ C ESC [ C ESC [ C ESC [ C ESC [ A ESC [ C ESC [ C
ESC [ C ESC [ C ESC [ C ESC [ A ESC [ C ESC [ C ESC
[ C ESC [ C ESC [ C ESC [ A ESC [ C ESC [ C ESC [ C
ESC [ C ESC [ C ESC [ A ESC [ C ESC [ C ESC [ C ESC
[ C ESC [ C ESC [ A ESC [ C ESC [ C ESC [ C ESC [ C
ESC [ C ESC [ A ESC [ C ESC [ C ESC [ C ESC [ C ESC
[ C ESC [ A ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C
ESC [ A ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC
[ A ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ A
ESC [ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ A ESC
[ C ESC [ C ESC [ C ESC [ C ESC [ C ESC [ A ESC [ A
ESC [ C ESC [ B ESC [ C ESC [ C ESC x v i e w - l o
s s a g e RET
Here I typed "test" in a buffer (not shown here), clicked beyond the end of that line, then clicked in the middle of it, and typed Meta-x view-lossage.

Is this feature new with 8.0.0?

Thanks!
Reply With Quote
  #2  
Old 04-04-2016, 03:32 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,633
Hi eewanco,

Quote:
Here I typed "test" in a buffer (not shown here), clicked beyond the end of that line, then clicked in the middle of it, and typed Meta-x view-lossage.
I am not sure what you mean by clicked beyond the end of that line, please elaborate.

Are you saying this issue did not occur prior to upgrading to SecureCRT version 8.0?

If so, what was the prior version installed?
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 04-04-2016, 03:48 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,633
Hi eewanco,

Both emacs and vi work pretty well with mouse mode when the emulation is Xterm (and you won't need the position cursor functionality).

What are the results if you configure Xterm emulation (Terminal / Emulation category of Session Options) and disconnect/reconnect?
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by jdev; 04-04-2016 at 04:15 PM.
Reply With Quote
  #4  
Old 04-04-2016, 05:27 PM
eewanco eewanco is offline
Registered User
 
Join Date: Apr 2016
Posts: 5
Thumbs up solved

I needed to do M-x xterm-mouse-mode as indicated in the FAQ you pointed me to. Thanks!
Reply With Quote
  #5  
Old 04-05-2016, 08:42 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,633
Hi eewanco,

Thanks for posting an update.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply

Tags
emacs , position cursor

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:37 AM.