Set, setenv or export? Confused between three options


 
Thread Tools Search this Thread
Operating Systems HP-UX Set, setenv or export? Confused between three options
# 8  
Old 04-25-2017
The HP-UX 11i man page says:
Code:
ENV  If this parameter is set, parameter substitution
   is performed on the value to generate the path
   name of the script to be executed when the shell
   is invoked (see Invoking ksh below). This file is
   typically used for alias and function definitions.

I does not mention .kshrc. And practical tests prove that only the ENV is implemented, and it works in both interactive and non-interactive shells.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

export vs env vs set commands

Hi I'm trying to understand variable scopes in solaris10. It is said that to display env variables we use 3 commands : - env - set - export What is the difference between them ? thx for help. ---------- Post updated at 11:00 AM ---------- Previous update was at 10:50 AM ---------- ... (2 Replies)
Discussion started by: presul
2 Replies

2. UNIX for Advanced & Expert Users

Vi set options

Does know where I can find what ALL of the set options do in vi? I can't find it anywhere in vi's man pages or help files. I know about :set all but a lot of the options I have no clue what they do. (3 Replies)
Discussion started by: cokedude
3 Replies

3. Shell Programming and Scripting

How to check if export DISPLAY is set or not?

Hi All, I use "export DISPLAY=same_host:0.0" to set my export DISPLAY and it is working fine for me.. Problem here is I have developed a script for which i should run export DISPLAY prior to running my script.... so my script should check whether export DISPLAY is set or not.. if... (6 Replies)
Discussion started by: smarty86
6 Replies

4. UNIX for Dummies Questions & Answers

Why does set also change setenv variables?

I thought that set and setenv was easy enough to understand until I started experimenting. I noticed the same problem in a previous thread, so I will use it as an example. set command gave the following output: argv () cwd /homes/e/ee325328/assignment.2 home /homes/e/ee325328 path ( a... (2 Replies)
Discussion started by: benwj
2 Replies

5. Shell Programming and Scripting

use of set, export and typeset

what is the difference in usage of set, export, typeset while declaring a value to a variable can any one help thanks (0 Replies)
Discussion started by: trichyselva
0 Replies

6. UNIX for Dummies Questions & Answers

difference between EXPORT and setenv

Hi, Is there any difference between setting an environment variable by EXPORT and by setenv? (3 Replies)
Discussion started by: dexkid
3 Replies

7. UNIX for Dummies Questions & Answers

difference between set and export

Hi, can anybody tell me what is the difference between set and export in unix. -Ashish (1 Reply)
Discussion started by: shriashishpatil
1 Replies

8. UNIX for Dummies Questions & Answers

Difference between SET and SETENV

I never undestood exactly what's the difference between the SET and SETENV commands. One sets variables visible to all users and the other (SETENV) only to the specific user environment ? Thanks in advance, BraZil - thE heLL iS HEre :mad: !!! (2 Replies)
Discussion started by: 435 Gavea
2 Replies

9. Shell Programming and Scripting

How do I set permanent setenv !!!

Hello, I just want to know ow I can set permanent pathes or whatever using setenv command. I'm using c shell . regards, me (1 Reply)
Discussion started by: geoquest
1 Replies

10. UNIX for Dummies Questions & Answers

set, setenv

Well first of all I am a real Unix newbie. I am taking a course on it in University. I kind of understand set and setenv but, I think it si something that I should really understand. So I thought that I would try a forum out and see how good you guys really are. The question: Execute the... (1 Reply)
Discussion started by: w6u6f
1 Replies
Login or Register to Ask a Question
xdriver(1grass) 						Grass User's Manual						   xdriver(1grass)

NAME
XDRIVER - GRASS Monitor - driver to display GRASS maps in X11 environment. (drivers) DESCRIPTION
The GRASS XDRIVER can be used to display GRASS maps in X11 environment. Usage in details Variables: GRASS_WIDTH set the x size in pixel for the XDRIVER (default: 640) GRASS_HEIGHT set the y size in pixel for the XDRIVER (default: 480) XDRIVER_TRUECOLOR=[TRUE|FALSE] Look for a TrueColor visual (?) XDRIVER_WINDOW ? XDRIVER_PRIVATE_CMAP Private color map (?) XDRIVER_LEFT defines the left position of GRASS monitor (removed?) XDRIVER_TOP define the upper position of GRASS monitor (removed?) Set the XDRIVER size # bash shell syntax: export GRASS_WIDTH=xxx export GRASS_HEIGHT=yyy # c shell syntax: setenv GRASS_WIDTH xxx setenv GRASS_HEIGHT yyy To control the XDRIVER, use the d.mon module. The maximum color depth depends on the current X Server settings. SEE ALSO
Display drivers HTMLMAP driver, PNG driver, PostScript driver d.frame, d.mon, g.region d.rast, d.vect AUTHORS
CERL various improvements from several authors. Rewritten 2001 by Glynn Clements Last changed: $Date: 2008-03-23 15:34:53 +0100 (Sun, 23 Mar 2008) $ Full index (C) 2003-2011 GRASS Development Team GRASS 6.4.2 xdriver(1grass)