9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] [PATCH] [drawterm] Add devenv and fix exit status for -G flag
Date: Fri, 19 Jun 2020 21:17:32 +0200	[thread overview]
Message-ID: <AF6778FC186C95535F726F7C0E1EA502@felloff.net> (raw)
In-Reply-To: <20200619173106.GA576387@delta.localdomain>

interesting.

i like adding /env to drawterm, however, if we do, we also should import
getenv() and putenv() from plan9 libc too using our /env. (so we can remove
all these #undef getenv lines)

that way we have one unified env and the host specific code will all be
in just one place.

then we need to research if win32 needs any special handling, and possibly
move initunix() to env-win32.c and env-posix.c...

i think the environment in windows also has a unicode version, which needs
a bit of code to convert it to utf-8.

--
cinap


  reply	other threads:[~2020-06-19 19:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-19 17:31 Fazlul Shahriar
2020-06-19 19:17 ` cinap_lenrek [this message]
2020-06-19 20:58 ` [9front] " cinap_lenrek
2020-06-19 21:22 ` cinap_lenrek

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=AF6778FC186C95535F726F7C0E1EA502@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9front@9front.org \
    /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).