Home > Arrow Keys > Unix Arrow Keys Not Working

Unix Arrow Keys Not Working

Contents

Forum Operations by The UNIX and Linux Forums Fandom Skip to Content Skip to Wiki Navigation Skip to Site Navigation Games Movies TV Wikis Explore Wikis Community Central Fandom University My Cobra) 5.10 How to tell xmosaic that the Backspace key generates a DEL Putting

 *XmText.translations: #override\n\ osfDelete: delete-previous-character() *XmTextField.translations: #override\n\ osfDelete: delete-previous-character() 
in your $HOME/.Xdefaults or $HOME/.Xresources helps. (What share|improve this answer answered Mar 29 '10 at 17:24 Tim 81389 1 It would be more helpful if u can tell what the above lines do? –nikhil Feb 22 '12 Add the following to /etc/rc.local (or wherever you keep your local boot-time stuff):
 /usr/bin/loadkeys << EOF keycode 14 = BackSpace keycode 111 = Delete EOF 
Note that this will this content

How not to lose confidence in front of supervisor? 5 Favorite Letters What power do I have as a driver if my interstate route is blocked by a protest? Browse other questions tagged command-line tty ubuntu-minimal or ask your own question. Tree Academy 97,990 views 2:49 21- Linux Basics Cet Using Arrows and backspace in vi text editor - Duration: 2:01. Solution 9Edit On my default Ubuntu install, vi meant actual vi, but I was used to vim where this problem didn't occur. http://askubuntu.com/questions/163802/backspace-tab-del-and-arrow-keys-not-working-in-terminal-using-ssh

Linux Terminal Arrow Keys Not Working

I had the same problem, and took me several hours to find the answer. That doesn't mean that you have to setup keys so that Backspace generates DEL. This site is not affiliated with Linus Torvalds or The Open Group in any way. Viral Networks 4,482 views 1:57 How to fix touchpad not working on Ubuntu - Duration: 2:49.

It just comes out as weird characters like ^[[A. The man page in Ubuntu 11.04 shows that dash has history and command-line editing, but the program does not have these features. They both moved left and right respectively, but only by word increments! Putty Arrow Keys You can also create shortcuts on your desktop to automatically open PuTTY with a specific session name, or use one of the very useful PuTTY session managers like PuTTY Connection Manager

Anyone know the premise of this pcb assembly note? How can I fix this? Please help. http://stackoverflow.com/questions/1623256/make-arrow-and-delete-keys-work-in-kornshell-command-line And besides - are you referring to $FCEDIT or $HISTFILE or even just fc?

According to the IEEE specification it does: pubs.opengroup.org/onlinepubs/009695399/utilities/sh.html –jasonwryan Sep 30 '11 at 6:24 @jasonwryan, you'll notice that anything related to history or line-editing mode is marked with a Stty Arrow Keys Also, ls no longer adds colors. You can change this preference below. I thought those at least were mandatory - and the rendering of the $PS1 \!.

Arrow Keys Not Working In Vi

So I am stuck with 'word jumping arrow keys'. t0 Ctrl+H it is not saving permanently ....Do i have to for every terminal iam opening ? 0 Kudos Reply Bill Hassell Honored Contributor [Founder] Options Mark as New Bookmark Subscribe Linux Terminal Arrow Keys Not Working export EDITOR=vi also helps Ravash- Of the responses above, this is your best option. Tab Completion Not Working In Linux These tools make it easy to have dozens of preset icons, one for each system in a different color and different settings. 0 Kudos Reply The opinions expressed above are the

A better comparison to Sublime Text would be gvim, which does not have any of these limitations because it draws its own GUI and is not constrained in the terminal window. news This paper explains why this happens and suggests solutions. One way of getting a setup that works in all contexts is to have the Backspace key generate DEL when on the console (or xterm), and BackSpace when under X. Emre Ipekci 430,034 views 2:13 My Keyboard Does Not Work - Fix It EASILY - Duration: 4:24. Ubuntu Arrow Keys Not Working

You might have to use j or h to move in the vi editor in the command mode. One just has to tell xterm that the Backspace key should generate DEL: put

 XTerm*VT100.Translations: #override\n\  BackSpace : string(0x7f)\n\ 
in .Xresources, and
 xrdb -merge .Xresources 
in That is determined (per-tty) by the Meta flag, set by the command setmetamode. have a peek at these guys For PuTTY, open the session configuration window, select Keyboard and change Backspace from CTRL-? (DEL) to CTRL-H (backspace).

Wikia is a free-to-use site that makes money from advertising. Linux Backspace Doesn't Work kill ^U intr ^C quit ^\ eof ^D \ susp ^Z start ^Q stop ^S eol ^@ in /usr/lib/X11/app-defaults/XTerm or in $HOME/.Xresources, assuming that you have a line

 xrdb Register Start a Wiki Advertisement Vim Tips Wiki Navigation On the Wiki Wiki Activity Random page Videos Images Chat Community portal To do Add New Page Add Content Edit this Page 

Linux and XFree86 come configured with both the Backspace and Delete keys generating Delete.

As part of that, history and advanced command-line editing are not included. Not the answer you're looking for? Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Ubuntu Arrow Keys A B C D What a joke.--August 7, 2015 Normally, I'd just delete this, because it has nothing to do with Vim.

Problem solved!" Slightly different path for me, but confirmed it works on sunOS 10, also fixed my backspace issue, setup the colors, and search highlights. You're awesome! –Aprendiz Feb 11 at 22:46 add a comment| up vote 10 down vote The following changes solved the problem for me. Proof Binomial Coefficient Identity What game did I see in Verona, Italy? http://techese.net/arrow-keys/ubuntu-vi-arrow-keys-not-working.html Then save the session.

You might clean up comments or merge similar tips. Whatever you do, do *NOT* make root's default login shell as defined in '/etc/passwd' anything other than '/sbin/sh'.As root, you can still dynamically invoke the bash shell if you choose.You can