9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] win from acme starts bash
@ 2012-10-31 16:02 Costin Chirvasuta
  2012-10-31 20:01 ` dexen deVries
  2012-10-31 20:10 ` Bakul Shah
  0 siblings, 2 replies; 4+ messages in thread
From: Costin Chirvasuta @ 2012-10-31 16:02 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] win from acme starts bash
  2012-10-31 16:02 [9fans] win from acme starts bash Costin Chirvasuta
@ 2012-10-31 20:01 ` dexen deVries
  2012-11-01  9:01   ` Costin Chirvasuta
  2012-10-31 20:10 ` Bakul Shah
  1 sibling, 1 reply; 4+ messages in thread
From: dexen deVries @ 2012-10-31 20:01 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] win from acme starts bash
  2012-10-31 16:02 [9fans] win from acme starts bash Costin Chirvasuta
  2012-10-31 20:01 ` dexen deVries
@ 2012-10-31 20:10 ` Bakul Shah
  1 sibling, 0 replies; 4+ messages in thread
From: Bakul Shah @ 2012-10-31 20:10 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Wed, 31 Oct 2012 18:02:20 +0200 Costin Chirvasuta <costinc@gmail.com>  wrote:
> 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

Does export SHELL in your script work?

SHELL=$PLAN9/bin/rc acme

works for me.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] win from acme starts bash
  2012-10-31 20:01 ` dexen deVries
@ 2012-11-01  9:01   ` Costin Chirvasuta
  0 siblings, 0 replies; 4+ messages in thread
From: Costin Chirvasuta @ 2012-11-01  9:01 UTC (permalink / raw)
  To: 9fans

On Wed, Oct 31, 2012 at 10:01 PM, dexen deVries <dexen.devries@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!



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-01  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-31 16:02 [9fans] win from acme starts bash Costin Chirvasuta
2012-10-31 20:01 ` dexen deVries
2012-11-01  9:01   ` Costin Chirvasuta
2012-10-31 20:10 ` Bakul Shah

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