Message from discussion
r187 - wiki
Received: by 10.90.120.19 with SMTP id s19mr6902022agc.10.1231135185643;
Sun, 04 Jan 2009 21:59:45 -0800 (PST)
Return-Path: <30KFhSRAKCB05H67LBM7-GHK7IER9HH9E7.5HF35F7-L359HH9E79KHNIL....@codesite.bounces.google.com>
Received: from mail-gx0-f85.google.com (mail-gx0-f85.google.com [209.85.217.85])
by mx.google.com with ESMTP id 7si12071703yxg.11.2009.01.04.21.59.44;
Sun, 04 Jan 2009 21:59:44 -0800 (PST)
Received-SPF: pass (google.com: domain of 30KFhSRAKCB05H67LBM7-GHK7IER9HH9E7.5HF35F7-L359HH9E79KHNIL....@codesite.bounces.google.com designates 209.85.217.85 as permitted sender) client-ip=209.85.217.85;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of 30KFhSRAKCB05H67LBM7-GHK7IER9HH9E7.5HF35F7-L359HH9E79KHNIL....@codesite.bounces.google.com designates 209.85.217.85 as permitted sender) smtp.mail=30KFhSRAKCB05H67LBM7-GHK7IER9HH9E7.5HF35F7-L359HH9E79KHNIL....@codesite.bounces.google.com; dkim=pass (test mode) header...@google.com
Received: by gxk21 with SMTP id 21so226232gxk.2
for <acme-sac@googlegroups.com>; Sun, 04 Jan 2009 21:59:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=google.com; s=beta;
h=domainkey-signature:mime-version:received:message-id:date:subject
:from:to:content-type:content-transfer-encoding;
bh=+yIzqwRT9FWg0EOMEJFm48iL9lF3Eka7qLYPTJ55ZP0=;
b=BxkHuigphx0hf4VpQb1cuDDod5j/R8rjlBSQFdAhIjSsWucDiehLcrp1XmekJHFSiW
i3lib/+EIv+U/buWnBbg==
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=google.com; s=beta;
h=mime-version:message-id:date:subject:from:to:content-type
:content-transfer-encoding;
b=x04uEwfFvzoUeIkj3QG4s3NP9Cdivvu/N2NmuU4Fnm6f36yeGou2HOhlVh3UImQFOI
eSFwXyrCIhNnNMIEus/Q==
MIME-Version: 1.0
Received: by 10.151.47.7 with SMTP id z7mr779381ybj.8.1231135184592; Sun, 04
Jan 2009 21:59:44 -0800 (PST)
Message-ID: <0015174c352c591f50045fb5ffa5@google.com>
Date: Mon, 05 Jan 2009 05:59:44 +0000
Subject: [acme-sac commit] r187 - wiki
From: codesite-nore...@google.com
To: acme-sac@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Author: underspecified
Date: Sun Jan 4 19:54:36 2009
New Revision: 187
Added:
wiki/ConfiguringAcme.wiki
Log:
Renamed PageName -> ConfiguringAcme
Added: wiki/ConfiguringAcme.wiki
==============================================================================
--- (empty file)
+++ wiki/ConfiguringAcme.wiki Sun Jan 4 19:54:36 2009
@@ -0,0 +1,25 @@
+#summary Configuring Acme.
+
+= CONFIGURING ACME =
+
+Acme.exe is the same (mostly) as the inferno-os emu(1), so the command
line arguments are the same (except for -I, see below). Acme.exe reads the
EMU environment variable for options first, then processes the command line
options.
+
+If no dis command is given on the command line to Acme.exe then the
default command is 'sh -l', see sh(1). The -l option will cause the shell
to run as a login shell, which means it first runs the file
/lib/sh/profile, and then ./lib/profile if that file exists.
+
+/lib/sh/profile is mostly concerned with making sure a home directory
exists for the current user, then changing to that directory, so
the ./lib/profile in that users directory will be run, i.e.
/usr/yourname/lib/profile.
+
+It is your $home/lib/profile where most of the action is. It sets up
various things, namespace, factotum, environment variables (e.g. for
fonts), and finally it launches acme.
+
+If you want to change the arguments that start the actual acme editor then
edit your $home/lib/profile.
+
+If you want to change the command line arguments the Acme.exe, the
emulator, then either modify EMU environment var, or on Nt create a
shortcut, modify its properties changing the command line with the options
you want.
+
+Also, edit $home/lib/profile if you want to add more things to your
namespace at startup.
+
+= acme.exe vs. emu.exe =
+
+Emu.exe is built as a console application whereas acme.exe is built as a
windows application. Therefore -I, which disables stdin/stdout for emu.exe
has the opposite meaning for acme.exe, i.e. console stdin/stdout is
disabled by default in acme.exe. But because it is a windows application
even if you enable it, it still won't work; you'd need to rebuild acme.exe
as a console application (an instance is on the downloads page).
+
+Acme.exe uses the current directory as the default root of the inferno
tree; emu.exe uses /usr/inferno.
+
+Acme.exe starts the first shell as a login shell, emu.exe doesn't.
\ No newline at end of file