![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| set EDITOR=vi -> default editor not setting for cron tab | aarora_98 | Shell Programming and Scripting | 6 | 09-12-2008 11:01 PM |
| Which editor to use? | Nafanja | UNIX for Dummies Questions & Answers | 5 | 11-29-2007 09:58 AM |
| Vi editor | jazz | High Level Programming | 1 | 11-17-2005 05:37 AM |
| vi editor | eloquent99 | UNIX for Dummies Questions & Answers | 1 | 01-14-2003 02:49 AM |
| Using the vi editor | pbsys | UNIX for Dummies Questions & Answers | 2 | 11-05-2001 12:27 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
More likely the terminal emulation and TERM variable are not compatible.
|
|
#5
|
|||
|
|||
|
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.
|
|||
| Google The UNIX and Linux Forums |