01-16-2007
Not that I have any experience with this, but ... why would ECLIPSE have anything to do with your .vimrc file?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i'm trying to parse a file with lines like the below where i need to get a diff on the 169-182 so that the result is 13 for instance. I was looking into using bc but am not that familiar with embedding it in a script.
john8:9. 169-182
any ideas are appreciated! (5 Replies)
Discussion started by: nlevens
5 Replies
2. UNIX Desktop Questions & Answers
. Make a new copy of mars.txt called marsx. What happens if you give the following commands when the files bio and marsx both already exist? Don't guess, try it!
a) cp bio marsx
b) mv bio marsx (2 Replies)
Discussion started by: rohit.katpalli
2 Replies
3. Solaris
Hi
since we migrated from Solaris 8 to Solaris 10 I do miss a nice feature when editing crontab with vim editor: no more color highlighting after starting to edit. Well there is a hack, see below.
I did define:
export EDITOR='vim -c ":source /export/home/duc904/.vimrc"'
Under Sol8 when... (2 Replies)
Discussion started by: duc904
2 Replies
4. UNIX for Dummies Questions & Answers
Hello there,
New user/ poster that just joined, really quick question as I couldnt find it through the search function
In this script
echo -n "enter your username "
read username
if
then
echo "Hello $username!"
exit 0
else
echo "You did not provide a vaild name!"
exit 1... (2 Replies)
Discussion started by: kingpin007
2 Replies
5. UNIX for Advanced & Expert Users
I was reading this and thought I could put this in my vimrc and it would convert the line endings to unix. Am I doing something wrong or am I missing something?
set ff=unixManaging/Munging Line-Endings with Vi/Vim | Jeet Sukumaran
I used this command and it confirms that my global option is... (2 Replies)
Discussion started by: cokedude
2 Replies
6. Shell Programming and Scripting
I am trying to write a bash script that will create a .bashrc and .vimrc. I was wondering if anyone would know how to do approach this. Would this work if there was no .bashrc file minus the "stuff"
echo "stuff" >> .bashrc (5 Replies)
Discussion started by: meredith1990
5 Replies
7. Shell Programming and Scripting
What is the difference between .vimrc and .exrc? I google it but didn't find the brief explanation?
Regards
ADI (2 Replies)
Discussion started by: adisky123
2 Replies
8. UNIX for Advanced & Expert Users
I'm having trouble getting my vimrc to work the way I want it. For some reason after I hit enter it is creating tabs instead of spaces like I would expect. Here is an example of what I am talking about. $ = newline, ^I = tab. On the line of struct EDGETAG* q; I hit enter and it created a tab... (2 Replies)
Discussion started by: cokedude
2 Replies
9. Shell Programming and Scripting
Hi,
1. I'm using tcsh and I use a .gvimrc file which was working fine with my previous ksh shell. But while sourcing, I'm getting messages like 'Unmatched " '. I'm not trying anything fancy but just using " for commenting in the very first line and I see the error is thrown right there.
2.... (2 Replies)
Discussion started by: rishikpillai90
2 Replies
LEARN ABOUT HPUX
lcpu_attr
lcpu_attr(5) File Formats Manual lcpu_attr(5)
NAME
lcpu_attr - dynamically enable or disable LCPU attribute of the default processor set
VALUES
Fail Safe
Default
the LCPU attribute of the default processor set is disabled
Allowed values
or
DESCRIPTION
This tunable dynamically enables or disables the logical processor (LCPU) attribute in the default processor set. On systems supporting
hyper-threading technology, each hyper-thread is represented as an LCPU.
When the LCPU attribute is enabled, the processor cores in the default processor have hyper-threading enabled. If the LCPU attribute is
disabled, the physical processors in the default processor set behave as single threaded processor cores.
See pset_setattr(2) for information about managing the LCPU attribute in processor sets other than the default processor set.
Who Is Expected to Change This Tunable?
System administrators that wish to change hyper-threading ability in the default processor set.
Restrictions on Changing
The tunable has no effect on platforms that do not have hyper-threading capability or systems with hyper-threading disabled at the firmware
level. On systems that support hyper-threading, the firmware feature must be enabled to dynamically enable/disable the LCPU attribute in
the default processor set.
When Should the Tunable Be Turned On?
The tunable should be turned on to enable the LCPU attribute in the default processor set to take advantage of hyper-threading. If the
applications running on the system see performance benefits, the LCPU attribute should remain enabled.
What Are the Side Effects of Turning the Tunable On?
Some workloads may experience performance degradation when the LCPU attribute is enabled.
When Should the Tunable Be Turned Off?
Some applications may experience performance degradation or may not see any performance benefits from using hyper-threading. In this case,
this tunable should be turned off.
What Are the Side Effects of Turning the Tunable Off?
With LCPU turned off, applications may not take advantage of hyper-threading.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
SEE ALSO
psrset(1M), pset_assign(2), pset_bind(2), pset_create(2), pset_ctl(2), pset_destroy(2), privgrp(4).
Tunable Kernel Parameters lcpu_attr(5)