I have a sparc64 T5220 and I would like to modify my keymap because when I connect with ssh to the sverver/zones from my laptop with FN and Windows Keys. When I use those keys I got garbage and not the right result: FN+left_arrow = goto the beginning of line (console/shell), FN+right_arrow = goto end of line, etc.
Thx for your help
Yves
Have you tried MobaXterm. Its really good as an ssh client and allows a lot of customization.
Related
I use linode.com, a popular provider of Linux services. I can login via SSH and run vi on text files no problems. My local box is Ubuntu 20.10 with Gnome and I can vi text files normally as well there. But if I click on their console login button using Firefox (latest) I get a window which looks like it's 80x24 in size. Everything appears normally, however the moment I edit via vi and move the cursor to edit a line of text the vi prints random words from other lines of that file next to the cursor. It feels like it's wrapping on the wrong line and providing additional lines next to the cursor. Someone told me to adjust the serial (TTYS) settings and try changing rows and columns. I tried 20 or 24, but nothing works. I am curious how to diagnose this problem and with what Linux commands to solve it. Because it is definintely a compatibility between the local settings and the local, I just don't know Linux well enough. You can tell me to ask Linode for assistance, which I did and will solve it, but this is a general problem in the Linux community, as this is the fifth provider of VPS services where I have this problem, and no amount of Binging around has solved the problem.
I'm running IBM Host On-Demand on my Mac. I haven't found a way to enter PF Keys other than through clicking on the virtual keyboard in the application. Other 3270 emulators such as Brown University tn3270 allow for command+number key for PF key function. Is there a way to something similar on Host On-Demand? It is really slow to have to to use a mouse for function keys.
Sorry to ask a stupid question, but --- have you tried hitting Fn-Fnn (use the Fn key in the lower left)? That's what I've had to do to use PF keys on HOD on my Macbook.
You can also set that behavior as default in the MacOS settings: under Keyboard, there's a checkbox that says "Press Fn key to..."
On my MacBookPro I checked the box in the keyboard System Preferences panel that says: "Use F1, F2, etc. keys as standard function keys" and I can use function keys in HOD.
I have an xps13 8350 with an azerty French keyboard on Windows 10.
My AltGr key started to act like ContextMenu out of nowhere.
I was coding and all of a sudden I couldn't use [], etc. anymore. As far as I know, I didn't do anything specific.
I tried rebooting and go into advanced options and then command prompt, my keyboard was behaving as expected in there.
I don't use any remapping, no AHK, etc.
I tried using different keyboard mappings in the Windows settings with or without AltGr support, the behavior is the same on every mapping.
My guess is that I must have done something weird with Fn but I'm not sure how to undo it.
EDIT: I should probably mention that locking Fn or not doesn't do anything;
I fixed it by reinstalling windows.
I'm trying to use xdebug with vim on linux. I follow the instructions to install xdebug and after that I can see the information about xdebug if I call phpinfo() from a file inside the apache server.
After open a file in vim, it is supposed that when I press F5 it should show something like "waiting for a new connection on port 9000 for 10 seconds...", but it doesn't show anything..
Any idea?
I would recommend you look at a new vim debugger plugin, called vdebug: https://github.com/joonty/vdebug -- it is actively developed and seems very capable.
I had the same sort of problem, it turned out that my terminal emulator was capturing the keypress and not sending it to vim (I think). Remapping the functions to different keys solved the problem.
It could actually be his/her keyboard. If the keyboard has mult-media functions as well as F1-F12 on them... then there is, usually a "F-Lock" key next to the row of function keys that will turn on/off the function key behavior. Really annoying, IMHO, for the new keyboards sold these days.... and rarely does the keyboard have a light to indicate the ulterior operation of said function keys.
I say this cuz, that is exactly what happened to me just now.
I'd like to be able to map the vim commands :tabnext and :tabprev to CTRL+TAB and CTRL+SHIFT+TAB respectively. Unfortunately, I seem to be running into the problem where PuTTY eats these character combinations.
I've tried searching for information, but to no avail. I'm pretty sure this is a PuTTY thing but there doesn't seem to be any sort of help/reference area for the application.
I am curious if anyone here has any experience or suggestions for figuring this out.
#rmeador: try mapping the key combo within vim.
I have attempted to do this, but it doesn't appear like vim is getting the combo. I'm not certain if this is related to the term settings or an issue with PuTTY.
PuTTY doesn't send anything when you press Ctrl+Tab.
You can patch PuTTY as it is described here: Using Ctrl+Tab in GNU Screen over PuTTY
I believe that at this time, using Ctrl+Tab is not possible with PuTTY, because PuTTY does not allow you to configure specific translations for keys. Here is a decent article that shows how you would set this up if PuTTY did support this feature:
http://www.staldal.nu/tech/2009/01/10/how-to-use-ctrl-tab-in-gnu-screen/
If you use (or would consider using) a hotkey/macro program like Autohotkey, you could emulate this behavior yourself. For example, this Autohotkey config script would do exactly what you want:
#IfWinActive PuTTY
^Tab::Send :tabnext
^+Tab::Send :tabprev
#IfWinActive
(Note that this example is just looking for any window title starting with PuTTY, so you'd have to adjust based on your title configuration.)