The UNIX and Linux Forums  


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
Delete last character in dos file ssmallya Shell Programming and Scripting 7 01-19-2009 06:01 AM
delete \n character ReneVielma Shell Programming and Scripting 2 05-29-2008 07:46 PM
How to delete a character at the end of a file. rony_daniel Shell Programming and Scripting 12 07-12-2006 05:43 AM
How to delete last character of a line? ctcuser Shell Programming and Scripting 2 06-20-2005 08:35 PM
Use sed to delete a character bthomas Shell Programming and Scripting 1 05-19-2005 04:21 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 02-18-2004
davidg's Avatar
davidg davidg is offline
Registered User
  
 

Join Date: Jul 2003
Location: Holland
Posts: 207
How to delete a character

Hi,

T think this is a question for Perderabo.
If you think you know the answer you must be very good !

Most of us know how the make the <backspace> key backspace a character.
Now how do I make the <delete> key delete a character.

!! So when I press the delete key the character after my current cursor position gets deleted. !!

Running "stty erase ^?" makes the delete key performing a backspace.
Now what do I need to run to make the delete key delete.


Some background info might be that I use Midnight Commander for Unix. It has several types of terminals where I can define the erase function, etc.. However per default in a Unix dtterm the delete key does print a ^? or performs a backspace.

Hope it's clear and someone knows the answer.

Regs David
 

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 01:28 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