The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to disable RIP and enable EGP stringman Security 3 02-19-2008 07:31 PM
Enable & disable cronjob Raynon Shell Programming and Scripting 7 09-19-2007 06:24 AM
how to enable Ctrl + C in ksh dradhzn Shell Programming and Scripting 0 05-01-2006 10:32 PM
Disable ctrl-c,ctrl-d,ctrl-d in ksh script wtofu AIX 6 06-29-2005 04:41 PM
Enable and disable ttyS0 josramon Linux 1 12-01-2003 11:58 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-22-2006
mobile01 mobile01 is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 24
Disable and Enable Backspace or Ctrl^H in vi

Could anybody tell me how I can disable or enable the backspace key in vi editor.
I would like to feel the essence of the commands of vi editor but as I have the latest version and it is supporting the backspace key.
I do it on promp using the command
stty erase -
This command stops the backspace on the prompt but how I can do it in vi editor.
  #2 (permalink)  
Old 11-23-2006
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
try:
Code:
:set backspace=""
check for set backspace option of vi for details
  #3 (permalink)  
Old 11-23-2006
mobile01 mobile01 is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 24
Problem

When I set it
set backspace=""
Then doesn't happened and the vi was as it is but when I set it as
set backspace="f"
Then backspace stopped working
Could you please tell me how to enable it again.
When I go to next line after typing a line then I am unable to delete the characters I typed but when I am on that line only without giving the newline I am able to delete the elements.
  #4 (permalink)  
Old 11-24-2006
sumitpandya sumitpandya is offline
Registered User
  
 

Join Date: Mar 2006
Location: Ahmedabad
Posts: 125
set backspace=2

When you start vi, just give :set command. IT will guide you :-)
  #5 (permalink)  
Old 11-24-2006
bishweshwar bishweshwar is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 56
Quote:
Originally Posted by sumitpandya
When you start vi, just give :set command. IT will guide you :-)
I'm using Solaris 8.0.....here when i give :set command....

nothing happens...after all it says no command found....

plz help.....
  #6 (permalink)  
Old 11-24-2006
sumitpandya sumitpandya is offline
Registered User
  
 

Join Date: Mar 2006
Location: Ahmedabad
Posts: 125
:set help

finally man page is your best friend
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0