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 > Operating Systems > SCO
.
google unix.com



SCO Santa Cruz Operation (SCO) was a software company based in Santa Cruz, California which was best known for selling three UNIX variants for Intel x86.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Vi editor jazz High Level Programming 2 05-08-2009 08:46 AM
set EDITOR=vi -> default editor not setting for cron tab aarora_98 Shell Programming and Scripting 6 09-13-2008 02:01 AM
Which editor to use? Nafanja UNIX for Dummies Questions & Answers 5 11-29-2007 12:58 PM
vi editor eloquent99 UNIX for Dummies Questions & Answers 1 01-14-2003 05:49 AM
Using the vi editor pbsys UNIX for Dummies Questions & Answers 2 11-05-2001 03:27 PM

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

Join Date: Sep 2003
Location: mumbai
Posts: 20
regarding vi editor

hello friends,
i wud like to get some suggestion for a Q i faced in an interview..........

the Q is...........
suppose a person is working on vi .the file is very large and he hasn't saved anything ........suddenly power goes off and system shuts down ...after power comes up the system is rebooted and working fine but can that person get his data?????????pls suggest .......

thx

girish
  #2 (permalink)  
Old 09-16-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
yes - see the man page for vi

-r filename
Edit filename after an editor or system crash. (Recov-
ers the version of filename that was in the buffer
when the crash occurred.)

If the system crashes, it will have saved your editor session in a recoverable file which is recovered with the -r option. Note that the last few commands, key strokes, may not be there but the majority of any changes will be.
  #3 (permalink)  
Old 02-19-2008
pspandher pspandher is offline
Registered User
  
 

Join Date: Feb 2008
Location: India
Posts: 4
How to use a Vi editor on solaris 10 platform

When ever I use Vi editor on the solaris platform the backspace key does not work as expected also the delete key works as Caps key and the arrows key when used results in writing A B C D alphabets and the keys above the Ins and Del results in others alphabets like M N etc..

Did the Vi editor on the solaris works on the SPARC platform Is it possible to other editors rather than Vi here ........Please suggest....

I am using solaris 10 ( Intel platform )
  #4 (permalink)  
Old 02-19-2008
jgt jgt is offline
Registered User
  
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 439
More likely the terminal emulation and TERM variable are not compatible.
  #5 (permalink)  
Old 11-19-2008
masinick masinick is offline
Registered User
  
 

Join Date: Aug 2008
Location: Concord, NH
Posts: 21
Quote:
Originally Posted by jgt View Post
More likely the terminal emulation and TERM variable are not compatible.
That quite likely is the case. Chances are that the TERM variable should be set to one of {XTERM,VT100,VT200}, depending on the type of keyboard, but if it is something entirely different, then that should be taken into consideration. The XTERM terminal type may or may not support those keypad keys. Most terminals adhere to a pseudo VT100 set of key bindings. The VT200 has a few function keys in addition to those found on a VT100 keyboard. The typical PC keyboard can usually, but not always emulate VT100 sequences. Check and find out.
Sponsored Links
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:47 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