Re: the usage of env

2024-07-19 Thread Max Nikulin
${VAR:+not empty}" "$VAR" /tmp/test.sh /tmp/test.sh: VAR value=<> VAR= /tmp/test.sh /tmp/test.sh: VAR setvalue=<> VAR=a /tmp/test.sh /tmp/test.sh: VAR set not empty value= On 19/07/2024 20:31, The Wanderer wrote: $ env | grep ^_ _=/usr/bin/env

Re: the usage of env

2024-07-19 Thread pyh
On 2024-07-20 06:35, Greg Wooledge wrote: On Sat, Jul 20, 2024 at 06:30:42 +0800, p...@gmx.it wrote: On 2024-07-20 06:25, Greg Wooledge wrote: > > > > I can not clearly understand for this statement. what's "future shell > > commands"? can you show an example? > > hobbit:~$ unset -v VAR > hobbit

Re: the usage of env

2024-07-19 Thread Greg Wooledge
On Sat, Jul 20, 2024 at 06:30:42 +0800, p...@gmx.it wrote: > On 2024-07-20 06:25, Greg Wooledge wrote: > > > > > > I can not clearly understand for this statement. what's "future shell > > > commands"? can you show an example? > > > > hobbit:~$ unset -v VAR > > hobbit:~$ VAR=bar; ./a.sh > > I am

Re: the usage of env

2024-07-19 Thread pyh
On 2024-07-20 06:25, Greg Wooledge wrote: I can not clearly understand for this statement. what's "future shell commands"? can you show an example? hobbit:~$ unset -v VAR hobbit:~$ VAR=bar; ./a.sh I am a.sh, and inside me, VAR=<>. hobbit:~$ echo "VAR=<$VAR>" VAR= OK I know that. $VAR can be

Re: the usage of env

2024-07-19 Thread Greg Wooledge
On Sat, Jul 20, 2024 at 06:17:46 +0800, p...@gmx.it wrote: > $ VAR=foo ./a.sh > i can see VAR=foo I don't know what "see" means here. hobbit:~$ cat a.sh #!/bin/sh echo "I am a.sh, and inside me, VAR=<$VAR>." hobbit:~$ unset -v VAR hobbit:~$ VAR=foo ./a.sh I am a.sh, and inside me, VAR=. hobbit:~$

Re: the usage of env

2024-07-19 Thread pyh
ed about env scope. If we assume NO other commands have been executed in this shell so far, then: VAR1 is not marked for export. It's just a regular shell variable. It won't be seen by either call to ./a.sh which is a (non-subshell) child process, not will it be seen by ./b.sh which is a

Re: the usage of env

2024-07-19 Thread Greg Wooledge
On Sat, Jul 20, 2024 at 05:46:23 +0800, p...@gmx.it wrote: > $ VAR1=foo && ./a.sh > $ export VAR2=foo; ./a.sh > $ ./b.sh > > > $VAR1 will be seen by a.sh only, but $VAR2 can be seen my current login > session (such as b.sh). Am I right? I am a bit confused about env

Re: the usage of env

2024-07-19 Thread pyh
On 2024-07-20 00:07, Mike Castle wrote: In addition to what everyone else has said about env(1), there is the fact that Korn derived shells also supports some of the same features. env VAR1=foo VAR2=bar random-command VAR1=foo VAR2=bar random-command $ VAR1=foo && ./a.sh $ export

Re: the usage of env

2024-07-19 Thread Mike Castle
In addition to what everyone else has said about env(1), there is the fact that Korn derived shells also supports some of the same features. env VAR1=foo VAR2=bar random-command VAR1=foo VAR2=bar random-command If running a Korn-like shell (ksh, bash, zsh), both would set the envvars VAR1 and

Re: the usage of env

2024-07-19 Thread The Wanderer
On 2024-07-19 at 09:02, Michel Verdier wrote: > On 2024-07-19, p...@gmx.it wrote: > >> $ perl -le 'for( keys %ENV ){print "$_ --> $ENV{$_}"}' |grep perl >> _ --> /usr/bin/perl >> >> the key for perl is "_" in environment variable?

Re: the usage of env

2024-07-19 Thread Michel Verdier
On 2024-07-19, p...@gmx.it wrote: > $ perl -le 'for( keys %ENV ){print "$_ --> $ENV{$_}"}' |grep perl > _ --> /usr/bin/perl > > the key for perl is "_" in environment variable? under this key, why > 'env perl' just works? Perl $_ is th

Re: the usage of env

2024-07-19 Thread Thomas Schmitt
Hi, p...@gmx.it wrote: > I am not sure how 'env' command works. Read the output of man env > for example, what's the difference between '/usr/bin/perl' and 'env perl' ? Reading the man page i'd say it's the same difference as betwe

Re: the usage of env

2024-07-19 Thread Greg Wooledge
On Fri, Jul 19, 2024 at 20:12:14 +0800, p...@gmx.it wrote: > for example, what's the difference between '/usr/bin/perl' and 'env > perl' ? "env perl" searches your $PATH. > I know env may set a environment variable in system, so my question also >

the usage of env

2024-07-19 Thread pyh
Hello list, I am not sure how 'env' command works. for example, what's the difference between '/usr/bin/perl' and 'env perl' ? I know env may set a environment variable in system, so my question also includes: 1. where to see a shell environment variable?

[debian-user] thunderbird proxy env. vars for socks

2016-02-15 Thread Javier Vasquez
through bash+xinitrc which depends on how to set the env. vars, so that I only need to set on TB/FF "use system proxy settings". I've tried several possible env. vars (both lower and upper case) like: socks_proxy socks_server socks_version smtp_proxy="socks5://:" So far I h

Re: using `myscript.sh` to change current env

2013-09-09 Thread Darac Marjal
On Sat, Sep 07, 2013 at 04:35:09PM +1000, Zenaan Harkness wrote: > I want to have a script, to change between a few prompts per the arg > supplied. This is so I can quickly change from my glorious > bells-and-whistles prompt to a plain prompt (eg for cut and paste to > debian-user, just "$ " or "#

Re: Re: using `myscript.sh` to change current env

2013-09-07 Thread Balamurugan
Dear Zenaan, I tried the same by putting those code in a script - myprompt.bash like below #!/usr/bin/bash PS1=': ' In terminal, when I run like '. ./myprompt.bash', it is working as expected. Also I tried with alias like below and that also worked for me. alias myprompt="export PS1=': '" S

Re: using `myscript.sh` to change current env

2013-09-07 Thread Zenaan Harkness
On 9/7/13, der.hans wrote: > Am 07. Sep, 2013 schwätzte Zenaan Harkness so: > > moin moin Zenaan, > > Rather than all the convolutions of command substitution, how about just > using a function that's in your profile or bashrc? > > $ cat /tmp/bashrc > function changeps() { > export PS1=':

Re: using `myscript.sh` to change current env

2013-09-07 Thread Zenaan Harkness
On 9/7/13, Zenaan Harkness wrote: > On 9/7/13, Zenaan Harkness wrote: >> So I thought, run the script in a subshell, executing the result, like: >> $ `ps1` >> >> The following 3-line script is meant to test exactly this: >> >> #!/bin/bash >> PS1=': ' >> echo "export PS1=$PS1" After trying a few

Re: using `myscript.sh` to change current env

2013-09-06 Thread der.hans
r, just "$ " or "# " depending on current user) to a timestamped prompt (when I have some long-running process, and I want to see when it finished) etc. In bash, we cannot run a script plainly, and have that script update the current shell's env. We could source the scrip

Re: using `myscript.sh` to change current env

2013-09-06 Thread Zenaan Harkness
On 9/7/13, Zenaan Harkness wrote: > So I thought, run the script in a subshell, executing the result, like: > $ `ps1` > > The following 3-line script is meant to test exactly this: > > #!/bin/bash > PS1=': ' > echo "export PS1=$PS1" When I change the last line to this: echo "export PS1=\"${PS1}

using `myscript.sh` to change current env

2013-09-06 Thread Zenaan Harkness
pt (when I have some long-running process, and I want to see when it finished) etc. In bash, we cannot run a script plainly, and have that script update the current shell's env. We could source the script with 'source' or '.' command, but this requires a correct location o

Re: Mail in php by postfix in chroot env

2012-12-23 Thread Bob Proulx
Łukasz Tkacz wrote: > I use php-fpm + nginx + mariadb on Debian wheezy x64 I decided to chroot > php using build-in chroot feature. After changes in nginx vhost conf and > php db conf (from localhost to IP for mysql) php and mysql works fine (I > can connect to database, use phpmyadmin etc.), but

Mail in php by postfix in chroot env

2012-12-23 Thread Łukasz Tkacz
Hello, I use php-fpm + nginx + mariadb on Debian wheezy x64 I decided to chroot php using build-in chroot feature. After changes in nginx vhost conf and php db conf (from localhost to IP for mysql) php and mysql works fine (I can connect to database, use phpmyadmin etc.), but I can't send emails.

Re: Where to find setup for env variable? [a question]

2010-04-14 Thread Paul Chany
Hi, Paul E Condon writes: > On 20100414_113944, Paul Chany wrote: >> >> I have setup somewhere the JAVA_HOME environment variable, but >> don't know where? > > When I am reading this thread there are already two search > suggestions that are better than what I might have come up with. My > post

Re: Where to find setup for env variable?

2010-04-14 Thread Bob McGowan
Paul Chany wrote: Liam O'Toole writes: On 2010-04-14, Paul Chany wrote: I have setup somewhere the JAVA_HOME environment variable, but don't know where? ---SNIP--- Maybe /etc/environment? Here on my GNU/Linux Lenny system this file is empty. -- Regards, Paul Cha

Re: Where to find setup for env variable? [a question]

2010-04-14 Thread Paul E Condon
On 20100414_113944, Paul Chany wrote: > Hi, > > I have setup somewhere the JAVA_HOME environment variable, but don't > know where? ...snip When I am reading this thread there are already two search suggestions that are better than what I might have come up with. My post is to find out where the

Re: Where to find setup for env variable?

2010-04-14 Thread Mart Frauenlob
On 14.04.2010 12:24, Paul Chany wrote: > Maybe must I use grep to find the file containing 'JAVA_HOME'? > If yes, I dont' know the exact expression of that grep command. grep -sIr 'JAVA_HOME' /etc/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe

Re: Where to find setup for env variable?

2010-04-14 Thread Camaleón
On Wed, 14 Apr 2010 12:24:17 +0200, Paul Chany wrote: > Jochen Schulz writes: > >> Paul Chany: >>> >>> I have setup somewhere the JAVA_HOME environment variable, but don't >>> know where? >> >> ~/.xsession? > > No. :( > > Maybe must I use grep to find the file containing 'JAVA_HOME'? If yes, I

Re: Where to find setup for env variable?

2010-04-14 Thread Paul Chany
Jochen Schulz writes: > Paul Chany: >> >> I have setup somewhere the JAVA_HOME environment variable, but don't >> know where? > > ~/.xsession? No. :( Maybe must I use grep to find the file containing 'JAVA_HOME'? If yes, I dont' know the exact expression of that grep command. -- Regards, Paul

Re: Where to find setup for env variable?

2010-04-14 Thread Jochen Schulz
Paul Chany: > > I have setup somewhere the JAVA_HOME environment variable, but don't > know where? ~/.xsession? J. -- When driving at night I find the headlights of oncoming vehicles very attractive. [Agree] [Disagree]

Re: Where to find setup for env variable?

2010-04-14 Thread Paul Chany
Liam O'Toole writes: > On 2010-04-14, Paul Chany wrote: >> I have setup somewhere the JAVA_HOME environment variable, but >> don't know where? > ---SNIP--- > > Maybe /etc/environment? Here on my GNU/Linux Lenny system this file is empty. -- Regards, Paul Chany You can freely correct me in my

Re: Where to find setup for env variable?

2010-04-14 Thread Liam O'Toole
On 2010-04-14, Paul Chany wrote: > Hi, > > I have setup somewhere the JAVA_HOME environment variable, but don't > know where? ---SNIP--- Maybe /etc/environment? -- Liam O'Toole Birmingham, United Kingdom -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "un

Where to find setup for env variable?

2010-04-14 Thread Paul Chany
Hi, I have setup somewhere the JAVA_HOME environment variable, but don't know where? $ env JAVA_HOME=/home/csanyipal/Programozas/JAVA/SunJava/jdk1.6.0_10 This was my previous setup for JAVA_HOME. I search in the following files for this setup: ~/.bash_profile ~/.bashrc ~/.gnomerc /et

Re: csh: how to use indirect ref to env vars

2008-07-07 Thread michael
On Wed, 2008-06-25 at 08:03 -0700, ss11223 wrote: > On Jun 25, 9:40 am, michael <[EMAIL PROTECTED]> wrote: > > Hi, I have acshscript in which I'd like to do set up a list of vars > > and then to chk each of these are set, something like the below. > > However, I can't find the magic incantation tha

Re: csh: how to use indirect ref to env vars

2008-06-25 Thread ss11223
On Jun 25, 12:40 pm, michael <[EMAIL PROTECTED]> wrote: > ah, I see rather than testing a variable we try and use it and catch any > error... it seems to work as you say... although this seems slightly > more elegant if less easy to add new VarN to: > > if ( $?InMetFiles == 0 || $?InTerFile == 0

Re: csh: how to use indirect ref to env vars

2008-06-25 Thread michael
On Wed, 2008-06-25 at 08:03 -0700, ss11223 wrote: > On Jun 25, 9:40 am, michael <[EMAIL PROTECTED]> wrote: > > Hi, I have acshscript in which I'd like to do set up a list of vars > > and then to chk each of these are set, something like the below. > > However, I can't find the magic incantation tha

Re: csh: how to use indirect ref to env vars

2008-06-25 Thread ss11223
On Jun 25, 9:40 am, michael <[EMAIL PROTECTED]> wrote: > Hi, I have acshscript in which I'd like to do set up a list of vars > and then to chk each of these are set, something like the below. > However, I can't find the magic incantation that allows to to check > ${$Vars} eg if $InMetFiles is set o

Re: csh: how to use indirect ref to env vars

2008-06-25 Thread michael
On Wed, 2008-06-25 at 15:02 +0100, Wackojacko wrote: > michael wrote: > > Hi, I have a csh script in which I'd like to do set up a list of vars > > and then to chk each of these are set, something like the below. > > However, I can't find the magic incantation that allows to to check > > ${$Vars} e

Re: csh: how to use indirect ref to env vars

2008-06-25 Thread Wackojacko
michael wrote: Hi, I have a csh script in which I'd like to do set up a list of vars and then to chk each of these are set, something like the below. However, I can't find the magic incantation that allows to to check ${$Vars} eg if $InMetFiles is set on the first loop - suggestions welcome! #!/

csh: how to use indirect ref to env vars

2008-06-25 Thread michael
Hi, I have a csh script in which I'd like to do set up a list of vars and then to chk each of these are set, something like the below. However, I can't find the magic incantation that allows to to check ${$Vars} eg if $InMetFiles is set on the first loop - suggestions welcome! #!/bin/csh foreach V

Re: how to reset desktop env. config? (was: Re: What are these folders in home?)

2008-03-31 Thread Kamaraju S Kusumanchi
H.S. wrote: > But then, the question is, what is > the "right way" to start over using a desktop environment above? Is > there a "soft reset" for window managers and desktop env.? > AFAIK, such a "soft reset" does not exist for KDE 3.5.5 users. It wou

Re: how to reset desktop env. config?

2008-03-31 Thread Rich Healey
il. And now I learn that kmail saves its data in .kde. I > hope a user using Kmail knows this. But then, the question is, what is > the "right way" to start over using a desktop environment above? Is > there a "soft reset" for window managers and desktop env.? > >

how to reset desktop env. config? (was: Re: What are these folders in home?)

2008-03-31 Thread H.S.
save their email. And now I learn that kmail saves its data in .kde. I hope a user using Kmail knows this. But then, the question is, what is the "right way" to start over using a desktop environment above? Is there a "soft reset" for window managers and desktop env.? tha

Re: Env var on the fly

2007-09-29 Thread Andrew Sackville-West
lled (and of course not found). > > If I undefine the env var X, all programs of Y run perfectly. > > Is any simple way to define the env var X on the fly, when X is needed, > without > having to use X as another user? (which would overcomplicate the matter > because > the

Env var on the fly

2007-09-29 Thread Francesco Pietra
Having defined (in my .bashrc) the environmental variables for computing suites X and Y (PATH to them) it happens - because of some bug in X - that on running certain programs of Y, executables of X are called (and of course not found). If I undefine the env var X, all programs of Y run perfectly

Re: Too many env vars in an automated PXE/preseed Debian installation

2006-06-19 Thread Joey Hess
re are too many boot parameters, so we get a kernel panic: > > -------- > -- > Kernel panic: Too many boot env vars at `BOOT_IMAGE=deb-amd64´ > In idle task - not syncing" > --

Too many env vars in an automated PXE/preseed Debian installation

2006-06-19 Thread Santi Saez
: -- Kernel panic: Too many boot env vars at `BOOT_IMAGE=deb-amd64´ In idle task - not syncing" -- So my question is: Is there anyway to auto-select language, country, keyboard layout, etc.. and preseed a fil

Re: How to share env. variables ?

2005-10-29 Thread sachidananda urs
hi, put those contents(environment variables) in .bashrc. because .bashrc is the file that is read in for non-interactive terminals like kterm or gnome-terminal or any such application. sac. On 10/27/05, Marc Wilson <[EMAIL PROTECTED]> wrote: > On Fri, Oct 21, 2005 at 11:06:33AM -0500, Hugo V

Re: How to share env. variables ?

2005-10-26 Thread Marc Wilson
On Fri, Oct 21, 2005 at 11:06:33AM -0500, Hugo Vanwoerkom wrote: > I asked that question a while ago. > It appears e.g. that xterm uses /etc/profile and konsole does not. > How to change that behavior? Xterm does not use /etc/profile, and neither does konsole. Or gnome-terminal, or rxvt, or any o

Re: How to share env. variables ?

2005-10-26 Thread Bruno Costacurta
On Saturday 22 October 2005 10:35, Hugo Vanwoerkom wrote: > Andrew Nelson wrote: > > On Fri, 21 Oct 2005 11:06:33 -0500 > > > > Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote: > >>Bruno Costacurta wrote: > >>>Hello, > >>> > >>>I setup some environment variables needed by applications in > >>>user .bash

Re: How to share env. variables ?

2005-10-22 Thread Bruno Costacurta
On Saturday 22 October 2005 00:54, Paulo M C Aragão wrote: > Bruno, > > > How to give kde / X11 same env.variables as logged user ? > > KDE sources all shell scripts placed in ~/.kde/env. What I do is: > > 1. ln -s /etc/environment ~/.kde/env > 2. Place all global en

Re: How to share env. variables ?

2005-10-22 Thread Hugo Vanwoerkom
Andrew Nelson wrote: On Fri, 21 Oct 2005 11:06:33 -0500 Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote: Bruno Costacurta wrote: Hello, I setup some environment variables needed by applications in user .bash files. Starting these applications from a console works fine. But starting these applicat

Re: How to share env. variables ?

2005-10-21 Thread Shark Wang
but how about the Gnome ? thanks! -SharkOn 10/22/05, Paulo M C Aragão <[EMAIL PROTECTED]> wrote: Bruno,> How to give kde / X11 same env.variables as logged user ?KDE sources all shell scripts placed in ~/.kde/env. What I do is:1. ln -s /etc/environment ~/.kde/env2. Place all global en

Re: How to share env. variables ?

2005-10-21 Thread Paulo M C Aragão
Bruno, > How to give kde / X11 same env.variables as logged user ? KDE sources all shell scripts placed in ~/.kde/env. What I do is: 1. ln -s /etc/environment ~/.kde/env 2. Place all global environment variables in /etc/environment This way they're available to console and KDE-star

Re: How to share env. variables ?

2005-10-21 Thread Vincent Lefevre
On 2005-10-21 11:06:33 -0500, Hugo Vanwoerkom wrote: > Bruno Costacurta wrote: > >How to give kde / X11 same env.variables as logged user ? If you start X11 with startx, then it will inherit the variable values set for your shell. > I asked that question a while ago. > It appears e.g. that xterm

Re: How to share env. variables ?

2005-10-21 Thread Andrew Nelson
On Fri, 21 Oct 2005 11:06:33 -0500 Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote: > Bruno Costacurta wrote: > > Hello, > > > > I setup some environment variables needed by applications in > > user .bash files. Starting these applications from a console works > > fine. But starting these applications

Re: How to share env. variables ?

2005-10-21 Thread Hugo Vanwoerkom
Bruno Costacurta wrote: Hello, I setup some environment variables needed by applications in user .bash files. Starting these applications from a console works fine. But starting these applications from kde menus don't work as obviously these user env.variables are not set. I suppose kde user is

How to share env. variables ?

2005-10-21 Thread Bruno Costacurta
Hello, I setup some environment variables needed by applications in user .bash files. Starting these applications from a console works fine. But starting these applications from kde menus don't work as obviously these user env.variables are not set. I suppose kde user is different than logged us

Re: Global Env Variables

2004-09-16 Thread Daniel B.
John Patterson wrote: So the earliest place I guess you could get it in would be to stick the "export VARNAME=VALUE" lines at the begining of /etc/rc.d/rc That would be fairly global. Look at the PAM configuration files (looking for something like pam_env or pam_login). Daniel -- To UNSUBSCRIBE,

env|grep HZ=100

2004-08-05 Thread Dan Jacobson
Where is the mysterious HZ=100 documented that I see in the environment of some accounts after login, and always after doing su? # env|grep HZ # su - nobody No directory, logging in with HOME=/ [EMAIL PROTECTED]:/$ env|grep HZ HZ=100 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject

Re: Global Env Variables

2004-07-01 Thread John Patterson
> > So the earliest place I guess you could get it in would be to stick the > "export VARNAME=VALUE" lines at the begining of /etc/rc.d/rc > That would be fairly global. > > -Ben. > I added these lines to the begining of /etc/init.d/rc: export LANG=en_GB export JAVA_HOME=/usr/lib/j2sdk1.4-su

Re: Global Env Variables

2004-06-24 Thread Ben Russo
John Patterson wrote: Hi every body, I am trying to set the LANG environment variable so that when init launches my Tomcat server my web app uses the correct currency symbols. I first tried putting it in /etc/profile until I discovered that it is only sourced by login shells. So then I tried /roo

Global Env Variables

2004-06-24 Thread John Patterson
Hi every body, I am trying to set the LANG environment variable so that when init launches my Tomcat server my web app uses the correct currency symbols. I first tried putting it in /etc/profile until I discovered that it is only sourced by login shells. So then I tried /root/.bashrc which shoul

Re: /etc/profile and setting env variables

2004-03-25 Thread Kai Grossjohann
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > I want to do this for all users on the system, so I thought: edit > /etc/profile > > I did that... but it doesn't seem to make a difference, and worse, > /etc/profile seems to get nuked upon logout/login. So clearly I am > doing this in the wrong p

Re: /etc/profile and setting env variables

2004-03-22 Thread Brian Brazil
On Sun, Mar 21, 2004 at 09:56:57PM -0500, [EMAIL PROTECTED] wrote: > Here's my questions: > > a) Where do I edit global profile changes? One place for enviroment variables is with pam_env in /etc/pam.d and /etc/security. Another for enviroment variables is /etc/enviroment Limits can be handled wi

/etc/profile and setting env variables

2004-03-21 Thread [EMAIL PROTECTED]
I am trying to set two specific environment variables (I'm installing Sun Java) and I need to append a path to the PATH variable and also create a new environment variable. The problem is, however: I have no idea WHERE to do this. I want to do this for all users on the system, so I thought: edi

Re: set-language-env and utf-8

2004-02-05 Thread Fiodar Bandarenka
On Thu, Feb 05, 2004 at 09:59:42PM +0100, Christian Schnobrich wrote: > Where does one set all the LC_WHATEVER locales to make them stick? I >From my ~/.profile: LANG=be_BY.UTF-8 LC_MESSAGES=C -- Be happy! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Troubl

set-language-env and utf-8

2004-02-05 Thread Christian Schnobrich
Hello, for those who didn't follow the previous thread... I need most locales set to de_DE.UTF-8 -- however, I don't want system messages to be in german. The nice tool set-language-env offers merely the choice between iso-8859-1 or -15; I tried following the changes it made and re

Re: Env-locale problems

2004-01-05 Thread Colin Watson
On Mon, Jan 05, 2004 at 08:53:23AM +0100, Jan Minar wrote: > On Sun, Jan 04, 2004 at 04:58:50PM +, Colin Watson wrote: > > On Sun, Jan 04, 2004 at 03:54:29PM +0100, David Baron wrote: > > > Most everything I try to do, packages, compiles, etc., kick on the env locale. >

Re: Env-locale problems

2004-01-05 Thread Jan Minar
On Sun, Jan 04, 2004 at 04:58:50PM +, Colin Watson wrote: > On Sun, Jan 04, 2004 at 03:54:29PM +0100, David Baron wrote: > > Most everything I try to do, packages, compiles, etc., kick on the env locale. > > > > They say make sure your environment has (and the kerne

Re: Env-locale problems

2004-01-04 Thread Osamu Aoki
On Sun, Jan 04, 2004 at 03:54:29PM +0100, David Baron wrote: > Most everything I try to do, packages, compiles, etc., kick on the env locale. ... > the kernel does not support en_us. Like Colin said, it has nothing to do with Kernel. It is one of glibc thing. locales GNU C Library: Na

Re: Env-locale problems

2004-01-04 Thread Colin Watson
On Sun, Jan 04, 2004 at 03:54:29PM +0100, David Baron wrote: > Most everything I try to do, packages, compiles, etc., kick on the env locale. > > They say make sure your environment has (and the kernel supports): > LANG=en_ENus > LC not set > LANGUAGE=en_us en_US, not eithe

Env-locale problems

2004-01-04 Thread David Baron
Most everything I try to do, packages, compiles, etc., kick on the env locale. They say make sure your environment has (and the kernel supports): LANG=en_ENus LC not set LANGUAGE=en_us (Yes, the US rules the world!) I may have my arguments with the parenthetical alleged fact but it is a fact

Aaargh: re. procmail env. variables

2003-09-25 Thread Adam Bogacki
Aaargh ... I saw it as I sent it - some stray font material in the procmail. There might be other errors there as my recipes have not been working for some time - before I put the font stuff there by accident. Adam Bogacki, [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a sub

Error in procmail env. variables ?

2003-09-25 Thread Adam Bogacki
Hi, I entered the anti-Swen code in my /etc/procmailrc but it does not work, not do my recipes. I suspect an error in the environment variables but cannot see one. Can anyone tell me what is going wrong here ? Adam Bogacki, [EMAIL PROTECTED] DROPPRIVS=yes LD_LIBRARY_PATH="/usr/local/lib:/usr/

Re: Why people use `find ... |env -i xargs rm -f' instead of `find ...| xargs rm -f'?

2003-03-12 Thread Clive Standbridge
On Wed 12 Mar 2003 15:15:33 +(+1100), Michael Wardle wrote: > On Wednesday, March 12, 2003 14:45, Dai Yuwen wrote: > > Why people want to clean the environment variables before rm files? > > Some systems have an alias for "rm" that invokes "rm -i". It

Re: Why people use `find ... |env -i xargs rm -f' instead of `find...| xargs rm -f'?

2003-03-11 Thread Travis Crump
Michael Wardle wrote: On Wednesday, March 12, 2003 14:45, Dai Yuwen wrote: Why people want to clean the environment variables before rm files? Some systems have an alias for "rm" that invokes "rm -i". It's possible that running with env -i ensures that the true, unali

Re: Why people use `find ... |env -i xargs rm -f' instead of `find ...| xargs rm -f'?

2003-03-11 Thread Michael Wardle
On Wednesday, March 12, 2003 14:45, Dai Yuwen wrote: > Why people want to clean the environment variables before rm files? Some systems have an alias for "rm" that invokes "rm -i". It's possible that running with env -i ensures that the true, unaliased command is run

Why people use `find ... |env -i xargs rm -f' instead of `find ...|xargs rm -f'?

2003-03-11 Thread Dai Yuwen
Hi, Dear all I often find this line in shell scripts: find ... |env -i xargs rm -f Why people want to clean the environment variables before rm files? Has this line find ...| xargs rm -f any harm? Thanks in advance. Best regards, dai Yuwen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED

Re: basics about env variables

2002-12-30 Thread Robert Land
On Sun, Dec 29, 2002 at 11:16:28AM -0500, David Z Maze wrote: > [EMAIL PROTECTED] (Robert Land) writes: > > > The slrnpull program provides the option to > > use the env variable NNTPSERVER instead of > > passing the newsserver by argument. > > > > As bein

Re: basics about env variables

2002-12-29 Thread Michael Naumann
29.12.2002 16:35:43, "Michael P. Soulier" <[EMAIL PROTECTED]> wrote: >On 29/12/02 Robert Land did speaketh: > >> NNTPSERVER=news.btx.dtag.de >> export NNTPSERVER >> >> then did a new init and tried a echo $NNTPSERVER >> which resulted in a blank line in response. >> >> What was my fault and was thi

Re: basics about env variables

2002-12-29 Thread David Z Maze
[EMAIL PROTECTED] (Robert Land) writes: > The slrnpull program provides the option to > use the env variable NNTPSERVER instead of > passing the newsserver by argument. > > As being not that experienced in unix I had > a look at the rcS script to look how this > might be do

Re: basics about env variables

2002-12-29 Thread Mat
AFAIK /etc/default/rcS is used only by boot time scripts (found under /etc/rcS.d). If you want to set global environment variables you have to modify /etc/profile On 29 Dec 2002 at 12:39, Robert Land wrote: > The slrnpull program provides the option to > use the env variable NNTPSERVER i

Re: basics about env variables

2002-12-29 Thread Michael P. Soulier
On 29/12/02 Robert Land did speaketh: > NNTPSERVER=news.btx.dtag.de > export NNTPSERVER > > then did a new init and tried a echo $NNTPSERVER > which resulted in a blank line in response. > > What was my fault and was this actually slrnpull > required? That is the correct syntax for setting

Re: basics about env variables

2002-12-29 Thread Paul Johnson
On Sun, Dec 29, 2002 at 12:39:08PM +0100, Robert Land wrote: > NNTPSERVER=news.btx.dtag.de > export NNTPSERVER > > then did a new init and tried a echo $NNTPSERVER > which resulted in a blank line in response. $ export NNTPSERVER=news.btx.dtag.de $ echo $NNTPSERVER news.btx.dtag.de -- .''`.

basics about env variables

2002-12-29 Thread Robert Land
The slrnpull program provides the option to use the env variable NNTPSERVER instead of passing the newsserver by argument. As being not that experienced in unix I had a look at the rcS script to look how this might be done. Following the PATH setting in this file I added these two lines

Re: How can one edit the env info?

2002-12-08 Thread Shyamal Prasad
"Sam" == Sam Rosenfeld <[EMAIL PROTECTED]> writes: Sam> running env from my $HOME directory gets me a bunch of wrong Sam> entries; e.g. MAIL=/var/mail/root, LOGNAME=root, Sam> DISPLAY=:0.0. How can I change these (and other) settings? Perhaps you simpl

Re: How can one edit the env info?

2002-12-08 Thread Richard Hector
On Mon, 2002-12-09 at 11:34, Sam Rosenfeld wrote: > running env from my $HOME directory gets me a bunch of wrong entries; > e.g. MAIL=/var/mail/root, LOGNAME=root, DISPLAY=:0.0. How can I change > these (and other) settings? Who are you logged in as? Your environment depends on that, no

How can one edit the env info?

2002-12-08 Thread Sam Rosenfeld
running env from my $HOME directory gets me a bunch of wrong entries; e.g. MAIL=/var/mail/root, LOGNAME=root, DISPLAY=:0.0. How can I change these (and other) settings? Thanks. s. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Cont

Re: XFree 4.2 server DIY (chrooted env)

2002-06-09 Thread joost witteveen
Ah, forgot to mention: > 5 On the main system, startup xfs (apt-get install xfs, remove > the `no-listen = tcp' line in /etc/X11/fs/config), > and install xdm and activate it > (easiest way is to add a "*" line in /etc/X11/xdm/Xaccess), > and maybe remove those pesky `no tcp' lines from

XFree 4.2 server DIY (chrooted env)

2002-06-09 Thread joost witteveen
Hi, I recently bought a MSI MS-6368 mainboard, and although Xfree 4.1 does support the Trident Microsystems CyberBlade/i1, it is somewhat flaky (see below). So, I wanted to try out Xfree 4.2. I did not want to install XFree 4.2 the way XFree suggests (mv /usr/X11R6 backup; install new in /usr/X11

Re: dysfunctional env?

2001-12-30 Thread David Z Maze
alec1976nyc writes: Alec> I have the following script: Alec> - Alec> #!/bin/bash Alec> echo $PWD Alec> - Alec> and I try to run it with Alec> Alec> env PWD=/bin script Alec> Alec> but it always prints

dysfunctional env?

2001-12-30 Thread Alec
Hi I have the following script: - #!/bin/bash echo $PWD - and I try to run it with env PWD=/bin script but it always prints the correct working directory instead of "/bin". Why? Thanks Alec

Re: Env Variables

2000-06-25 Thread Petr \[Dingo\] Dvorak
On Sun, 25 Jun 2000, Patrick Dahiroc wrote: PD> i set the environmental variable below to dynamically change my xterm PD> window to title to the current working directory. PD> PD> export PROMPT_COMMAND='echo -ne "\033]2;${USER}: ${PWD}\007"' PD> PD> this works really well when i login in X, but

Re: Env Variables

2000-06-25 Thread kmself
On Sun, Jun 25, 2000 at 01:47:52AM -0400, Patrick Dahiroc wrote: > hi > > i set the environmental variable below to dynamically change my xterm > window to title to the current working directory. > > export PROMPT_COMMAND='echo -ne "\033]2;${USER}: ${PWD}\007"' > > this works really well when i

Env Variables

2000-06-25 Thread Patrick Dahiroc
hi i set the environmental variable below to dynamically change my xterm window to title to the current working directory. export PROMPT_COMMAND='echo -ne "\033]2;${USER}: ${PWD}\007"' this works really well when i login in X, but when i login from the console my system beeps every time since \0

Re: Setting Path ENV variable

1999-12-22 Thread Wayne Topa
Subject: Re: Setting Path ENV variable Date: Tue, Dec 21, 1999 at 11:15:06PM - In reply to:Pollywog Quoting Pollywog([EMAIL PROTECTED]): >| > >| > The /etc/profile PATH statement is for everyone. To add _to_ that >| > PATH you should do the f

Re: Setting Path ENV variable

1999-12-22 Thread Wayne Topa
Subject: Re: Setting Path ENV variable Date: Tue, Dec 21, 1999 at 08:26:30PM -0500 In reply to:Wayne Topa Quoting Wayne Topa([EMAIL PROTECTED]): >| >| Subject: Re: Setting Path ENV variable >| Date: Mon, Dec 20, 1999 at 03:08:33PM -0800 >| >| In reply

Re: Setting Path ENV variable

1999-12-22 Thread Wayne Topa
Subject: Re: Setting Path ENV variable Date: Mon, Dec 20, 1999 at 03:08:33PM -0800 In reply to:Andy Thomas Quoting Andy Thomas([EMAIL PROTECTED]): >| Ok... where is .bash_profile for root supposed to be located? I've got one >| for a user ("jimmy") I'

  1   2   >