Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[9fans] win from acme starts bash

163 views
Skip to first unread message

Costin Chirvasuta

unread,
Oct 31, 2012, 12:02:20 PM10/31/12
to
Hello,

I'm trying to get win to start rc when I run it from acme. I've set
SHELL to "rc" but it doesn't seem to have any effect. If I button 2
click "win" it starts with bash. If I run win from here it starts with
rc. What am I doing wrong? The script I use to start acme is:

#!/bin/bash

export PLAN9=/usr/local/plan9
export PATH=$PLAN9/bin:$PATH
export mousescrollsize=3
export font=/usr/local/plan9/font/vga/unicode.font

/usr/local/plan9/bin/acme -l /home/costin/acme.dump

Bakul Shah

unread,
Oct 31, 2012, 4:10:26 PM10/31/12
to
Does export SHELL in your script work?

SHELL=$PLAN9/bin/rc acme

works for me.

dexen deVries

unread,
Oct 31, 2012, 4:01:59 PM10/31/12
to
Hello Costin,


On Wednesday 31 of October 2012 18:02:20 Costin Chirvasuta wrote:
> I'm trying to get win to start rc when I run it from acme. I've set
> SHELL to "rc" but it doesn't seem to have any effect. If I button 2
> click "win" it starts with bash. If I run win from here it starts with
> rc. What am I doing wrong? The script I use to start acme is:

if you start Acme from X.org desktop, you run it in environment defined upon
login to X.org. Re-logging to X.org should do the trick.

KDE's kdm seem to read both /etc/profile{,.d/*} and ~/.profile; not sure about
~/.bash_profile or ~/.bashrc.


Cheers,
--
dexen deVries

[[[↓][→]]]

I have seen the Great Pretender and he is not what he seems.

Costin Chirvasuta

unread,
Nov 1, 2012, 5:01:46 AM11/1/12
to
On Wed, Oct 31, 2012 at 10:01 PM, dexen deVries <dexen....@gmail.com> wrote:
> if you start Acme from X.org desktop, you run it in environment defined upon
> login to X.org. Re-logging to X.org should do the trick.
>
> KDE's kdm seem to read both /etc/profile{,.d/*} and ~/.profile; not sure about
> ~/.bash_profile or ~/.bashrc.

Can't believe I missed that. Thanks!

0 new messages