LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-17-2011, 01:55 PM   #1
wjtaylor
Member
 
Registered: Feb 2009
Posts: 78

Rep: Reputation: 15
Gnome Terminal cursor keys produce garbage


Ubuntu 10.04 - Gnome Termainal - BASH

pressing cursor keys in certain users produces garbage. For example:

pressing up arrow produces: ^[[A
pressing down arrow produces: ^[[B
pressing right arrow produces: ^[[C
pressing left arrow produces: ^[[D

Naturally, I'd like my bash history instead of this. For root and my main user I have no problems. I have a few system users (who don't have a standard home directory) and this seems to occur with those users. For example, my amandabackups user has a home directory of /var/lib/amanda.

Any ideas?

As always, thanks to everyone here!

WT
 
Old 06-17-2011, 03:23 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
do you have your regular files in the home directories? .bash_profile .bashrc etc...?
 
Old 06-17-2011, 03:55 PM   #3
wjtaylor
Member
 
Registered: Feb 2009
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by szboardstretcher View Post
do you have your regular files in the home directories? .bash_profile .bashrc etc...?
I copied my .profile and .bash* files to the home directory, but still get the same garbage when pressing the cursor keys. It's only when I su to those users...

Thanks for your response. Is there another file that might control this behavior?

WT
 
Old 06-23-2011, 10:54 AM   #4
wjtaylor
Member
 
Registered: Feb 2009
Posts: 78

Original Poster
Rep: Reputation: 15
bump
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
change cursor shape in gnome-terminal pankaj Linux - Newbie 5 11-25-2010 09:51 AM
emacs+gnome-terminal+KDE+openSUSE - ctrl+arrow keys not working openSauce Linux - Software 4 04-03-2009 04:31 AM
function keys and gnome-terminal function keys and gnome-terminal fakie_flip Linux - Software 1 10-23-2007 11:22 PM
gnome-terminal: vi and arrow keys psychobyte Ubuntu 7 05-02-2007 10:10 PM
OSS and CA0106 produce garbage kashzone *BSD 2 08-30-2006 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration