From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e4b466ace73b787f X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,e4b466ace73b787f X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-12-20 02:46:09 PST Newsgroups: comp.unix.osf.osf1,comp.sys.dec Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!dziuxsolim.rutgers.edu!uunet!pipex!warwick!bsmail!siva.bris.ac.uk!tjl From: tjl@siva.bris.ac.uk (Tim Llewellyn) Subject: Re: Delete an environment variable? Message-ID: Sender: tjl@brspva.bristol.ac.uk (Tim Llewellyn) Nntp-Posting-Host: siva.bris.ac.uk Reply-To: Tim.Llewellyn@bristol.ac.uk Organization: Bristol University HEP X-Newsreader: mxrn 6.18-4 References: Date: Mon, 19 Dec 1994 17:12:15 GMT Xref: nntp.gmd.de comp.unix.osf.osf1:6957 comp.sys.dec:20515 In article , danpop@cernapo.cern.ch (Dan Pop) writes: |> |>In tjl@siva.bris.ac.uk (Tim Llewellyn) writes: |>> |>>I just tried to find a way to undefine/delete my DISPLAY environment |>>variable (I want to use EDT+ in VT rather than X-windows mode as it |>>has an annoying feature in X mode). |>> |>>I perused the output form man env to no avail. |>> |>>I guess I want the OSF/1 equivalent of the VMS deassign or delete/symbol |>>commands. |>> |>>This MUST be psosible, right? |>> |>It is, but you have to look in the right man page. For obvious reasons, |>you can't set or delete your environment variables with Unix commands, |>you have to do this with shell builtin commands. So, type |> |>man your_shell |> |>to get the answer. For (t)csh it's "unsetenv DISPLAY". OK thanks to everyone for the deluge of mail and postings. However I think Dan's arguement (and that of others) about needing to look in the (t)chsh man page is REAL weak. I mean, people flame VMS because they think that $ HELP HINTS is not obvious enough for the DCL illiterate. btw on my system (V3.0) the csh man page has no reference to unsetenv, or setenv for that matter. tcsh man page does, however. |> |>Dan |>-- |>Dan Pop | The only reason God was able to make the |>CERN, CN Division | world in 7 days was he didn't have to remain |>Email: danpop@cernapo.cern.ch | compatible with the previous version. |>Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland |> -- -----------------------------------------------------+------------------+ Tim Llewellyn - OpenVMS, Soukous and Cricket Addict |Hey, and get wise | Physicist Programmer, Bristol Uni Particle Physics. | to the sounds of | HEPNET/SPAN 19716::TJL Internet tjl@siva.bris.ac.uk | Africa,seen. | I speak for me and noone else OK (and I might even | Soukous Makossa | change my mind sometimes!-) Atari and EMagic user too| Mbalax Rumba...| -----------------------------------------------------+------------------+