zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@u.genie.co.uk>
To: Clint Adams <schizo@debian.org>
Cc: Zsh workers <zsh-workers@sunsite.dk>
Subject: _apm (was Re: Functions moved)
Date: Tue, 03 Apr 2001 21:04:23 +0100	[thread overview]
Message-ID: <3ACA2CC7.69FF9B8D@u.genie.co.uk> (raw)
In-Reply-To: <20010402112428.A12039@dman.com>

Clint Adams wrote:

> Yup.  Here's Solaris 8.  It apparently has nothing to do with power
> management, but rather something related to sadmind.  I think.

Hopefully nobody feels the need to write a completion for it just yet
because we haven't decided on how to cope with that situation yet.

> And this is for FreeBSD 4.1:

> +# this needs intelligence
> +local kludge=linux
> +
> +if [[ $kludge == "linux" ]]
> +then

Wouldn't it make sense to use $OSTYPE like we do in other places such as
_mount? It would allow the FreeBSD and OpenBSD parts to be actually
usable and is probably sufficient intelligence for this. You could argue
that we should call apm and try to work out what it is but $OSTYPE is
going to be faster.

Oliver


  parent reply	other threads:[~2001-04-03 21:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-02 14:41 Functions moved Sven Wischnowsky
2001-04-02 15:24 ` Clint Adams
2001-04-02 20:06   ` Chmouel Boudjnah
2001-04-02 19:19     ` Clint Adams
2001-04-03 20:04   ` Oliver Kiddle [this message]
2001-04-03 21:26     ` _apm (was Re: Functions moved) Clint Adams

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=3ACA2CC7.69FF9B8D@u.genie.co.uk \
    --to=opk@u.genie.co.uk \
    --cc=schizo@debian.org \
    --cc=zsh-workers@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).