01-27-2011
Is there a list of all of the default system variables, including those that aren't set? For instance EDITOR is usually not set but is a system variable (or else its set to emacs? I can't remember).
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what is the actual use of environment variables.
I know only PS1, LOGNAME, PS2 variables
what are the other variables & what is there use (2 Replies)
Discussion started by: indianguru
2 Replies
2. UNIX for Dummies Questions & Answers
Hi Folks,
Is it possible somehow to unset all the environment variables which have been defined before in UNIX (Solaris).
Thanks,
Slava (3 Replies)
Discussion started by: spavlov
3 Replies
3. Programming
hi,
I want to create a new EV(Environment Variable) through a c program and I done this thing through setenv() method. But the newly created EV is not permanent, i.e. when I exit from the program the EV also no longer lives. But I want to make it a permanent EV for the current user. Actually I... (6 Replies)
Discussion started by: sumsin
6 Replies
4. Shell Programming and Scripting
Hi,
If i have a variable set and exported in my pofile file will that variable be available in all shell scripts created.
Thanks,
Radhika. (3 Replies)
Discussion started by: radhika03
3 Replies
5. Shell Programming and Scripting
say i define an environment variable in a particular script (upgrade.sh).
my script is upgarde.sh and it calls another script try.sh. will this environment variable be accessible to try.sh also. if not how to I make environment variables global so that they can be used by any script. (2 Replies)
Discussion started by: lassimanji
2 Replies
6. UNIX for Dummies Questions & Answers
why are all environment variables represented in a fixed format regardless of the shell you use?
like $HOME $PATH etc (6 Replies)
Discussion started by: sravani
6 Replies
7. Shell Programming and Scripting
I have read tons of posts about how you can't set persisting environment variable in a child script of a shell and have it persist. The only way is to source a file as
% . <scriptname>
I am finding that true... but I know there is a way around it. I just don't know how. I worked for 6... (5 Replies)
Discussion started by: rwa25
5 Replies
8. HP-UX
Hi Experts,
Need your help in understanding the commands to setup the environment variables in hp-ux.
Beleive need to use either set,setenv or export.
I am confused between above three options, when to use which option?
On command line, I have tried both set and setenv but couldn't... (1 Reply)
Discussion started by: sai_2507
1 Replies
9. Homework & Coursework Questions
1. The problem statement:
What is the mesg value set for your environment? If it is on, how would you turn off your current
session? How would you set it permanently?
3. The attempts at a solution :
Read Unix The textbook.
3rd chapter has many things like environment variables and... (5 Replies)
Discussion started by: mahinkhan22
5 Replies
10. HP-UX
Hi All,
I need to understand following three environment variables and their usages in HP Unix.
_M_ARENA_OPTS
_M_CACHE_OPTS
PTHREAD_SCOPE_SYSTEM
How does these environment variables influence multi threaded applciation and how do we decide the value of these variables? Is there... (0 Replies)
Discussion started by: angshuman
0 Replies
LEARN ABOUT DEBIAN
ispell-wrapper
ISPELL-WRAPPER(1) ISPELL-WRAPPER(1)
NAME
ispell-wrapper - smart wrapper for ispell
SYNOPSIS
ispell-wrapper [--emacs=name] [--language=regexp] [--dry-run] [ispell options] file
Options (all long only options):
--emacs=name Set the language to use by emacs dict name
--language=regexp Set the language to use by name
--dry-run Only show what would have done
DESCRIPTION
ispell-wrapper is a wrapper script for ispell intended to be used in a Debian system in conjunction with the infrastructure introduced by
the dictionaries-common package. Option --dry-run will show the string to be run without doing anything else.
It automatically sets the -d, -w, and -T options to ispell as a function of the chosen language. Of course, this only works for dictionary
packages that comply with the above mentioned Policy.
Here is how the language is defined (in order of priority):
1) By matching the emacs dict name given in --emacs option to the name of one of the emacs dicts names provided by installed languages in
the system. This match must be exact (although is case insensitive). Note that this will override any value given in the --language
option.
2) By matching the regexp given in option --language to the list of installed languages in the system.
3) By matching the regexp stored in the environment variable ISPELLDEFAULT to the list of installed languages in the system.
4) By using the value stored in the user-specific file ~/.ispell-default (use select-default-iwrap(1) to set it).
5) By using the value stored in the site-wide file /etc/dictionaries-common/ispell-default (use select-default-ispell(8) as superuser to
set it).
Note: regexp matches are case-insensitive and the ISO-8859-1 special characters are transformed into their ASCII equivalents. German ess-
zet is equivalent to the character "s" and the ae ligature to the character "e".
EXAMPLE
Let us say that the following dictionaries are installed in the system (as appearing in the Debconf question at installation time):
castellano (Spanish TeX mode)
castellano8 (Spanish 8 bit)
portugues (European Portuguese)
portugues brasileiro (Brazilian Portuguese)
Choosing the regexp (either in the --language option or in the environment variable ISPELLDEFAULT) to be "span" will yield an error, since
two languages will match ("castellano" and "castellano8"). However, if the regexp is "span.*8", the language "castellano8 (Spanish 8 bit)"
will be chosen.
ENVIRONMENT
ISPELLDEFAULT
Regexp that matches the name of the default language to use, if no --language option is given.
FILES
$HOME/.ispell-default
Contains the name of the language to use, if no --language option is given or if the ISPELLDEFAULT environment variable is not set.
This is a user-specific choice.
/etc/dictionaries-common/ispell-default
Name of the language to use when everything above is not set. This is a system-wide setting.
SEE ALSO
select-default-ispell(8), select-default-iwrap(1)
AUTHORS
Rafael Laboissiere
1.12.11 2013-1-22 ISPELL-WRAPPER(1)