The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
stty erase r bishweshwar UNIX for Advanced & Expert Users 5 11-27-2006 06:10 AM
timer interrupt compbug UNIX for Dummies Questions & Answers 2 06-30-2006 04:41 PM
Trapping Interrupt From 'ulimit' mrnuttynuts UNIX for Advanced & Expert Users 5 04-22-2005 01:52 AM
erase file ust UNIX for Dummies Questions & Answers 2 03-10-2005 12:39 PM
arrow keys / special keys raguramtgr UNIX for Dummies Questions & Answers 3 02-20-2004 02:45 AM

Closed Thread
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
  #1 (permalink)  
Old 06-21-2005
chrs0302 chrs0302 is offline
Registered User
  
 

Join Date: Jun 2005
Posts: 24
erase and interrupt keys

This is on our Ultra 5/10 Sparc with Solaris 9.

I need to store the following (stty) keys in the .profile and /etc/profile files as
shown here.

erase "Back Space Key"
Interrupt "Ctrl + C"

I need the exact syntax/procudure as I have to set these two keys whenever I login to the terminal screen. We do remote login using SSH.

Your help is appreciated. Thanks in advance

chrs0302
  #2 (permalink)  
Old 06-21-2005
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 726
for erase:

if [ "`tty`" != "not a tty" ]
then

# stty erase \^h #for backspace
# stty erase \^? #for delete

fi

gP
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 12:55 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