9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Hongzheng Wang" <wanghz@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: [9fans] Where to set environments in p9p
Date: Thu, 27 Mar 2008 13:20:17 +0800	[thread overview]
Message-ID: <b954b2060803262220s770a46dfh27bf57317ef6dfeb@mail.gmail.com> (raw)

Hi all,

I have a question about the settings in p9p (plan 9 from user space),
such as setting the default font ($font).

According to the documents, $PLAN9/rcmain and $home/lib/profile are
two places to put configurations stuff, say environments etc, which
would be read by rc shell when invoked by `-l' option.  But it is not
convenient if we use default shell, say Bash, instead of rc.

So, I wonder if there are some places to put these settings stuff so
that all p9p programs would read them when started.  Currently, I
added them in the script `9'.  I don't know if it is a good method.

Thanks.

--
HZ


             reply	other threads:[~2008-03-27  5:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27  5:20 Hongzheng Wang [this message]
2008-03-27  5:45 ` sqweek
     [not found] ` <c4a46c570803270055p692f449frf021f3f0edf15d22@mail.gmail.com>
2008-03-27  8:44   ` Hongzheng Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b954b2060803262220s770a46dfh27bf57317ef6dfeb@mail.gmail.com \
    --to=wanghz@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).