06-21-2005
VI and VIM ( I am not a big fan of the VIM colors - I turn them off). I also use EditPlus from time to time.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everybody,
My question is: how to add /tmp/work at the end of line in vi editor.
my file looks like:
cp file1
cp file2
cp file3
****
I need to add " /tmp/work" at the end of each line.
I tried this
:%s/$/" /tmp/work"
and this
:%s/$/\ /tmp/work\/
but it does not work. (2 Replies)
Discussion started by: billy5
2 Replies
2. HP-UX
I'd like to find some editor for HP-UX, something like notepad, but not VI editor. Can someone have some ideas which one?
thx (6 Replies)
Discussion started by: diamond
6 Replies
3. UNIX for Advanced & Expert Users
Hi,
how can I add at the begining and at the end of all of the lines of my text file in VI editor ? Many thanks before.
for exemple if in my file i have
line 1
line 2
I want to have :
start line 1 end
start line 2 end (3 Replies)
Discussion started by: alain123456
3 Replies
4. UNIX Desktop Questions & Answers
We work on AIX 5L
We use vi as text editor (only scripts to create and modifiy).
What do you think of emacs ? Where can I find it ?
Do you know better text editor for scripts ?
Thank you for all answers. (1 Reply)
Discussion started by: annemar
1 Replies
5. HP-UX
I am new in hp ux and I want work with vi editor, but in hp ux vi editor the backspaes and del keys doesn't work.
how can I enable them.
thanks (3 Replies)
Discussion started by: hkoolivand
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question.
How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'?
As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies
7. Shell Programming and Scripting
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
Discussion started by: aarora_98
6 Replies
8. Solaris
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
9. Shell Programming and Scripting
How can ` character be printed on vi editor ?
empl_id=`echo $line | awk ' { print $1; } '` (2 Replies)
Discussion started by: senem
2 Replies
10. Shell Programming and Scripting
Hello All,
Need one Help for one issue.
I am using a French Keyboard, so @ sign is on key 0 and i have to use right Alt + 0 to print it.
It is working everywhere but not inside Vi editor. I can type @ in shell, in notepad. But inside Vi editor it is not working, another problem is that if... (2 Replies)
Discussion started by: yadavricky
2 Replies
LEARN ABOUT DEBIAN
i8kctl
i8kctl(1) Utilities i8kctl(1)
NAME
I8kctl, i8kfan - Utility to access SMM BIOS on Dell Inspiron laptops
SYNTAX
i8kctl [<command> [<args>]]
i8kfan [<left> [<right>]]
DESCRIPTION
The i8kctl utility provides a command-line interface to the i8k kernel driver for Dell Inspiron laptops. When invoked without arguments the
program reports the same information which can be read from the /proc/i8k file:
1. i8k format version
2. bios version
3. machine id
4. cpu temperature
5. left fan status
6. right fan status
7. left fan speed
8. right fan speed
9. ac power status
10. fn buttons status
The optional command argument can be used to select only one of the above items. Command can be: version, bios, id, temp, fan, speed, ac
and fn. Examples:
$ i8kctl
1.0 A17 B5W123K 52 2 1 8040 6420 1 2
$ i8kctl temp
52
$ i8kctl fan
2 1
The fan command can accept two optional parameters which specify the new fan state for left and right fans. The state parameter can be:
0 turn the fan off
1 set low speed
2 set high speed
- don't change the state of this fan
For example the command:
$ i8kctl fan - 2
sets the right fan to high speed and leaves the left unchanged. It should be noted that if the i8kmon(1) daemon is used to control the
fans, setting the speed with i8kfan is pointless since the daemon will override the speed with its own value.
Invoking i8kctl as i8kfan is the same as invoking the program with the fan option:
$ i8kctl fan 1 2
1 2
$ i8kfan 1 2
1 2
FILES
/proc/i8k
AUTHORS
Massimo Dal Zotto <dz@debian.org>
COPYRIGHT
i8kctl and all the i8kutils programs , scripts and other files are distributed under the GNU General Public License (GPL). On Debian
GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'.
SEE ALSO
i8kmon(1), i8kbuttons(1)
Massimo Dal Zotto 18 March 2002 i8kctl(1)