Is it somehow possible to paste a URL in elinks?
I am connected per SSH and cannot use the mouse.
Very old question, I realise, but, comes up as the top result in google when searching for how to copy/paste in elinks - so as I have an answer, here it is, for the benefit of future searchers...
If connected via SSH and you are happy to use the mouse to copy/paste, but, it's not working as expected, you can just hold shift while clicking, e.g. using Putty for SSH, hold shift, left click and drag to select/copy and hold shift and right click to paste.
Source: http://elinks.or.cz/faq.html
I know that this is a few months old, but...
If you are using putty in windows, go to
Terminal > Features when configuring the connection.Then you need to check Disable xterm-style mouse reporting. This will allow you to right-click to paste in elinks (or any other program that blocks the mouse) just like you'd expect it to.
Related
I have tried all the possible solutions to solve it given in the internet. But my problem does not solved.
So I want to reset my pc. If so is my pc get back to normal state. Previously I have resetted my pc for another problem. Is my resetting option works again. My friends said that reset options works only once...
Can anybody suggest me what to do??
The issue here seems to be that Windows thinks you have a new monitor that does not exist.
The most common solution that seems to have worked for many people (did not actually work for me, but worth a try): Wait long enough so the mouse cursor to appear when you move the mouse. (blank screen with a white mouse cursor) Then press the Ctrl and enter your login password. Wait until login competed then press Win+P keys, down arrow keys twice, and enter to extend display. (this spans your monitors onto one display)
The solution that worked for me was to unplug all monitors, reboot (hard reset, holding down power button), then plug in just one monitor. (may need to reboot again)
I solved the issue by pressing
Press Ctrl+alt+Esc.
Task Manager Window Appears,Then Click File
Option above,then Select Run New Task from the options that are
listed.
3.Create New Task Window appears and type "explorer" and press Ok. Screen Appears and Restart your laptop again .
You can try the following solution. It works perfectly. 1. Press Ctrl+alt+del 2. Select Task manager 3. Select File option above 4. Click Run new task 5. Type "explorer.exe" and press Enter You'll screen appears again!!
Sometimes I want to copy some content on remote host in vim, which will last for more than 1 page. But when clicked by left-click of mouse, and scrolling down, I find I was stuck at the first page.
I know I can use scp or first cat file then select.
But is there a way to enable mouse scrolling to do such a selection in vim?
First, I'd avoid the problem entirely. Start a selection using v before you start scrolling. Then the start of the selection stays put and only the end of the selection moves as you scroll. Then make sure to Shift+click instead of just clicking to set the end position.
But if you really want to be able to scroll with the mouse while holding the button to select text, check your 'mouse' option to make sure it contains "a" or "v". It sounds like you may be using a "modeless selection" (:help gui-mouse-modeless) by mistake. A modeless selection only allows you to select text currently on the screen (it does not scroll), but it also lets you select non-text like line numbers.
Also check that you don't have any mappings defined for the scroll events documented in :help scroll-mouse-wheel. For me this feature "just works" in Windows gvim, so I'm not sure what would cause it to not work for you. But I had to try it out so see, since I almost never do that anyway.
If you are connecting from a system with an X11 server, use ssh -X to enable X11 forwarding. This will allow you to connect to the clipboard of your local machine from the remote vim.
For more information on how to use the X11 clipboard check vim's help for x11-selection.
I'm developping a web application and i intend to use mouse and some keyboard shortcuts, and if possible, use modal keys (Ctrl / Shift / Alt).
I've noticed a lot a conflicts with modern browsers/OS. Here are some examples you may know:
Ctrl+S
Ctrl+F
Shift+R : refreshes the page on firefox
Alt+left click : moves a window on linux
Ctrl+J : opens the download tab in chrome
I can't find what shortcuts (with modal keys) i can use safely in my application. Is there a list somewhere of a rule to follow?
You could have a look at this, which is a rather exhaustive list of used shortcuts.
However your question has already been asked here and here and it seems there is no such list.
Try this:
http://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts
My suggestion would to throw something unique in the shortcut for example:
Say you needed to bookmark something quickly, chromes is ctrl+D, instead i would do ctrl+shift+m or ctrl+alt+m
Even still you might run into duplicate shortcuts, but going with something unique will give you the best results.
Hope this helps.
My cygwin terminal (known as Mintty) can't work, when I minimize it to the windows taskbar, and restore it, and it will receive the Ctrl-C signal, but i didn't touch any key.
This is wierd. when a long time command is running, i swith it to see wether is finishe, then it is interputed my Ctrl -C. I refresh intall it several times. it's still there.
This situation can also happened when i select some text on the terminal.
Thanks
Some translator software have the "Hyper Translate" function, which will copy texts selected then tries to translate it, the way how it copy strings is to simulate a Ctrl-C from keyboard. When using cygwin or some ssh/telnet terminal tools (e.g. SecureCRT, putty, NX Client..) and the Ctrl-C is not set as the hotkey for copy action, and you tries to select a block of texts, trouble comes.
I guess the one who asking this question is also a Chinese like me. Then, the famous software which will bring this trouble is "Youdao Dictionary".
Disabling the "Hyper Translate / HuaCiFanYi" function of the "Youdao Dictionary" is a remedy.
As Leif Zhang mentioned, if you are using Lingoes or other dictionary you should uncheck the option Translate Selected Text as the following image.
I am having the most difficult time trying to figure out how to copy a link URL in either of these two browsers and then paste it into vim. Does anyone know how to go about doing this? I am using Slackware 13.1. Any alternatives to copy/paste are also acceptable.
I did a quick search, and I found this:
https://superuser.com/questions/82969/how-do-i-copy-a-link-in-lynx
Looks like you hover over the link and "shift+e" (or "shift+g" for current page) and copy it with "ctrl+shift+c".
you can use "screen" command. It has it's own copy-paste mechanism.
If you would ssh into the server, rather than sitting at the console, then you could just use normal mouse selection to copy and paste. The cut and paste is handled by a GUI like X or Windows 7 or MacOS GUI. It is part of the terminal app.
Apparently, you can also use Ctrl + S to save the URL of the current page or the current link (at least on my version 2.8.8).
(Unfortunately, I'm currently getting an error "Copy to clipboard failed", but maybe someone else is more lucky.)