LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-12-2011, 09:57 AM   #1
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547
Blog Entries: 7

Rep: Reputation: 55
Terminal Behavior


So I have one question...

I am using Konsole and when I am editing files or using less and vi in most case I can use the key board mapping to move around in vi.... IE: if I hit the END key on the keyboard it should take me to the end of the line.... In most nix (RHEL @ Work) it behaves that way... I do echo $TERM and spills out xterm which is the same as my other machines.... In order to archive the same do I have to change my keyboard mapping? Most importantly is the keyboard mapping my issue?

Thanks You for the help!
 
Old 08-12-2011, 10:57 AM   #2
EmaRsk
Member
 
Registered: Mar 2006
Distribution: Mint, WSL Ubuntu
Posts: 134

Rep: Reputation: 32
Maybe you're actually using vim at work and the real vi at home?
The original vi doesn't support a lot of things. Use vim instead.
 
Old 08-12-2011, 11:49 AM   #3
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
vi is elvis http://elvis.the-little-red-haired-girl.org/ by default in Slackware
 
Old 08-12-2011, 12:08 PM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Also, if you're using the arrow keys, Home, and End in vi, you should probably learn the proper movement keys:

h: left
l: right
k: up
j: down
0: beginning of line
^: first non-whitespace character on line
$: end of line
 
Old 08-12-2011, 12:37 PM   #5
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
Quote:
Originally Posted by MTK358 View Post
Also, if you're using the arrow keys, Home, and End in vi, you should probably learn the proper movement keys:

h: left
l: right
k: up
j: down
0: beginning of line
^: first non-whitespace character on line
$: end of line
MTK,

Thanks for your reply. I know the right commands for vi I just got use to using a specific set of keys.... I been sys admin for rhel systems for over 8yrs now and they set of keys sort of stuck to me :P
 
Old 08-12-2011, 12:39 PM   #6
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
All,

Thanks for the help. Ill close this request.

Thank You,
-
 
  


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
not screen-blanking in terminal - what sets the idle timeout on monitor for terminal stardotstar Linux - Hardware 2 08-14-2011 05:46 AM
Is it possible to configure double click behavior in gnome (or other) terminal? colinkingswood Linux - Software 1 07-22-2010 05:28 AM
gnome-terminal:keyboard shortcut launches terminal with / directory default! deepclutch Linux - Desktop 1 06-21-2010 11:48 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 02:45 PM
Keys behavior tuning (on virtual terminal) VAS Linux - Newbie 1 11-09-2006 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:38 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