🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #109523

Re: [slrn] Getting It To Run At All [OT]

#109523
From: Sven Guckes
Date: Fri, 13 Sep 2002 02:44
48 lines
2318 bytes
[news.software.readers -> comp.unix.shell]

* Tim Hammerquist <tim@vegeta.ath.cx>:
> Most of my shell env setup looks like:
>
>     PAGER=w3m
>     MAILER=mutt
>     EDITOR=vim
>     VISUAL=$EDITOR
>     export EDITOR MAILER PAGER VISUAL
>
> It was never mandated IME, but this
> format just looks cleaner to me.
> I guess it was just the
> 'VAR=value && export VAR'
> that looked ugly to me. :)

disadvantage: modification to
this setup is not as easy.

example:  "cancel" the VISUAL.
mind you:  the "export VISUAL"
still creates the variable!

so to remove the variable completely
you have to remember to delete it
from the export list, too.

it's a lot easier to comment out
such a line of "VAR=value && export VAR":

      PAGER=w3m      && export PAGER
      MAILER=mutt    && export MAILER
      EDITOR=vim     && export EDITOR
    # VISUAL=$EDITOR && export VISUAL

and depending on your shell you
could even write it like this:

      export PAGER=w3m
      export MAILER=mutt
      export EDITOR=vim
    # export VISUAL=$EDITOR

YMMV.

Sven
Technical Details
Message-ID: <2002-09-13T02-36-42@guckes.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.shell.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!somerville.math.fu-berlin.DE!not-for-mail
References: <slrnantp90.8s2.tim@vegeta.ath.cx> <alp9n9012ns@enews2.newsguy.com> <slrnao0loj.1q5.usenet@calmeilles.co.uk> <slrnao0mar.np6.tim@vegeta.ath.cx> <slrnao0u0f.249.usenet@calmeilles.co.uk> <slrnao1o95.st6.tim@vegeta.ath.cx>

Show Full Headers
Complete Article Headers
Message-ID: <2002-09-13T02-36-42@guckes.net>
Subject: Re: [slrn] Getting It To Run At All [OT]
Date: Fri, 13 Sep 2002 02:44:03 +0000
From: Sven Guckes <guckes@math.fu-berlin.de>
References: <slrnantp90.8s2.tim@vegeta.ath.cx> <alp9n9012ns@enews2.newsguy.com> <slrnao0loj.1q5.usenet@calmeilles.co.uk> <slrnao0mar.np6.tim@vegeta.ath.cx> <slrnao0u0f.249.usenet@calmeilles.co.uk> <slrnao1o95.st6.tim@vegeta.ath.cx>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.shell.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!somerville.math.fu-berlin.DE!not-for-mail
Newsgroups: news.software.readers,comp.unix.shell
Followup-To: comp.unix.shell
Organization: Freie Universitaet Berlin
Lines: 47
Reply-To: guckes-usenet@math.fu-berlin.de
NNTP-Posting-Host: somerville.math.fu-berlin.de (160.45.41.194)
X-Trace: fu-berlin.de 1031885043 513547 160.45.41.194 (16 17 19)
Mail-Copies-To: guckes-usenet-cc@math.fu-berlin.de
User-Agent: slrn/0.9.7.4 (Linux)