Eliminate accidental URL-click open URL [6]

Eliminate accidental URL-click open URL

Thursday, October 10, 2013 7:20 PM - JohnW

Is there a way to remap the URL-mouse-click function to something else? Preferably something like ALT-mouse-click, or maybe a right-click-contextual-menu choice.

I am frequently left-mouse-clicking a window and inadvertently opening up a URL when I only meant to focus the Xshell window.

I do use the URL-click function, so I do not want to disable it, just to remap it somehow.

Another way to solve the problem would be to have Xshell only execute the URL-click function if the window already has the focus. If I accidently click on a URL on an unfocused window, I don't want it to open the URL.


Program Ver. : Xshell 4


Re: Eliminate accidental URL-click open URL

Friday, October 11, 2013 3:07 PM - Support

Right now, you can't change how URL hyperlink works. I will request this feature to our developers. Thank you for posting.

---
Technical Support



Re: Eliminate accidental URL-click open URL

Friday, October 11, 2013 11:07 PM - JohnW

Thank you.

One other request -- would it be possible for the URL parser to be made able to handle URLs that are more than one line long?


Re: Eliminate accidental URL-click open URL

Monday, October 14, 2013 11:02 PM - Support

Hyperlink should work for auto wrapped URL. This seems to be a bug and our developers will review the issue.

Thank you for your feedback.


---
Technical Support


Re: Eliminate accidental URL-click open URL

Monday, October 14, 2013 11:53 PM - JohnW

I'm not certain, but I don't think I am talking about an auto-wrapped line (whatever that means).

If you have two lines like this (assume this is a narrow terminal and the first line is the full width of the terminal, not counting non-printable characters):

http://abc.def.com/directory1/dir
ectory2/file.html

It would be good if the XShell URL parser could ignore any CR and/or LF at the end of the lines and concatenate the subsequent line(s) together with the first line to parse a valid URL.


Re: Eliminate accidental URL-click open URL

Tuesday, October 15, 2013 11:13 PM - Support

Auto word wrap is a feature that wraps long a string to multiple lines if it exceeds the terminal width.

If Xshell recognizes two lines as single URL, how can we know if the second line contains URL instead of just a normal text?



---
Technical Support


Re: Eliminate accidental URL-click open URL

Wednesday, October 16, 2013 5:57 PM - JohnW

Huh? I already explained how. The obvious way. You just concatenate the lines together while stripping any CR or LF characters, and then run the parser in the usual way.

This is not a revolutionary feature. Other terminals can do it.

Anyway, I just verified that Xshell fails in both cases : auto-wrapped long line, and URL wrapped across two-lines with intervening CR/LF.

So, if Xshell is supposed to be able to handle an auto-wrapped URL, there is a bug that needs to be fixed, since it does not handle it currently.

The other would not be a bug, but rather new functionality for XShell.


Previous views: 119