9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Charon start script
@ 2006-03-31 19:26 Gregory Pavelcak
  2006-04-01  2:46 ` Federico G. Benavento
  0 siblings, 1 reply; 4+ messages in thread
From: Gregory Pavelcak @ 2006-03-31 19:26 UTC (permalink / raw)
  To: 9fans

I got the rc script to start charon from Tip o' the Day, (Below, since
it's short.) but I can't seem to get geometry specs to influence the
window.  Unfortunately the default window size is a bit too small for
browsing.

I've started to look at rioimport. Do I have to find some
defaults and adjust them in the source, or can I enlarge
this window some other way?

Thanks.

Greg

#!/bin/rc

rfork n

if(! test -f /dev/draw/new){
	bind -a '#i' /dev
}

exec /usr/inferno/Plan9/386/bin/emu -G -I -c1 /dis/sh.dis -c '
	mount -bc {mntgen} /mnt
	bind -c ''#U*'' /n/local
	bind -c ''#₪'' /srv
	rioimport  {
		charon -buttons plain -framework all,exit $* > /dev/null >[2=1]
		echo halt > /dev/sysctl
	} $*
' $*



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

* Re: [9fans] Charon start script
  2006-03-31 19:26 [9fans] Charon start script Gregory Pavelcak
@ 2006-04-01  2:46 ` Federico G. Benavento
  2006-04-01  3:27   ` Gregory Pavelcak
  0 siblings, 1 reply; 4+ messages in thread
From: Federico G. Benavento @ 2006-04-01  2:46 UTC (permalink / raw)
  To: 9fans

> I got the rc script to start charon from Tip o' the Day, (Below, since
> it's short.) but I can't seem to get geometry specs to influence the
> window.  Unfortunately the default window size is a bit too small for
> browsing.
>

I just resize charon's window like any other rio window.

btw, you can add "bind -c /n/local/dev/ /chan/" right before
the "riomport", so you can snarf links and use them with rio too.

Federico G. Benavento



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

* Re: [9fans] Charon start script
  2006-04-01  2:46 ` Federico G. Benavento
@ 2006-04-01  3:27   ` Gregory Pavelcak
  2006-04-03 13:57     ` Harri Haataja
  0 siblings, 1 reply; 4+ messages in thread
From: Gregory Pavelcak @ 2006-04-01  3:27 UTC (permalink / raw)
  To: 9fans

Thanks for the additional tip. I'll add that.

As for the window size, there are some things that no human being
should have to do and resizing a window every time you start an
application is one of them.  It's not that it's at all difficult; it's
the principle of the thing.

Greg

>> I got the rc script to start charon from Tip o' the Day, (Below, since
>> it's short.) but I can't seem to get geometry specs to influence the
>> window.  Unfortunately the default window size is a bit too small for
>> browsing.
>>
>
> I just resize charon's window like any other rio window.
>
> btw, you can add "bind -c /n/local/dev/ /chan/" right before
> the "riomport", so you can snarf links and use them with rio too.
>
> Federico G. Benavento



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

* Re: [9fans] Charon start script
  2006-04-01  3:27   ` Gregory Pavelcak
@ 2006-04-03 13:57     ` Harri Haataja
  0 siblings, 0 replies; 4+ messages in thread
From: Harri Haataja @ 2006-04-03 13:57 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Fri, Mar 31, 2006 at 10:27:01PM -0500, Gregory Pavelcak wrote:
> As for the window size, there are some things that no human being
> should have to do and resizing a window every time you start an
> application is one of them.  It's not that it's at all difficult; it's
> the principle of the thing.

With tiling, the issue doesn't even come up.



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

end of thread, other threads:[~2006-04-03 13:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-31 19:26 [9fans] Charon start script Gregory Pavelcak
2006-04-01  2:46 ` Federico G. Benavento
2006-04-01  3:27   ` Gregory Pavelcak
2006-04-03 13:57     ` Harri Haataja

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