[9fans] Inferno OS

2023-02-24 Thread Tharaneedharan Vilwanathan
Hi All,

I have a quick question.

Is there any place where I can download Inferno OS and use it without
having to build it myself? I am looking for something to run on Ubuntu
(x86) or MacOS (x86/ARM).

Regards
dharani

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tecab5f4d7c7dcc7c-M7d5886ac7714c76ecb3ffb39
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Acme: support spaces in file|dir names

2023-02-24 Thread Nicola Girardi

On 2023-02-20 19:05, adr wrote:
[snip]

One thing I can't understand is why the text window
is always redrawn completely when the tag line is edited. I'll take a 
look

in the future.


AFAIR from when I looked into it, this behavior was introduced in

commit ba7c22f781dafd30d0b97179c941476639022285
Author: mveety 
Date:   Wed Aug 28 23:01:23 2013 -0400

Added the p9p acme patch the allows multiline tags (thanks rsc and 
lf94).


I think the redraw happens because when you add a character to the tag 
you may need to wrap to a new line.
As a stopgap for myself, I've just removed the call to winresize from 
winsettag1.
In principle one should be able to figure out the width of the text in 
the tag and how many lines are needed, and redraw only if that number 
changes after a character is typed, but I wasn't able to figure out 
where to do this in the code.



--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tc1d9d9ca3a94e285-Ma59d9fb2950eba76653a7a5c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] USB drive boot hangs

2023-02-24 Thread raviraj_basis
Hi

I am facing a similar screen.

Using Lenovo Thinkpad E450!

Want to to use plan9 as a live bootable USB.

Any clues?

Thanks
rraj
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Te9a4a2ad5a90ee13-M33df3ad42d453d0c55304002
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Error when trying to install contrib/install

2023-02-24 Thread ori
Quoth Alex Musolino :
> The new test(1) in 9front passes the following test suite, which is
> mostly stolen from something the OpenBSD folks had used to test their
> own test(1) program:
> 
> http://git.9front.org/plan9front/regress/717df14acac498bfb4496066a60c1ae83e93d9b7/cmd/test.rc/f.html
>

quick note -- the regression tests are moving into the 9front repo,
instead of living on their own;

https://git.9front.org/plan9front/plan9front/HEAD/sys/src/cmd/test/test.rc/f.html

so, 'mk test' should test it out of the box.


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T23b7964cf6e8776e-Mb7e3026445d325472c627a99
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Error when trying to install contrib/install

2023-02-24 Thread Alex Musolino
> I believe so, yes.  It looks like 9front has made some significant
> changes to (or removed?  I didn’t dig in) test’s handling of
> “implied” -a and -o operands.

Test(1) was changed for 9front because the old test(1) was broken.  It
does not have any sort of "implied" -a or -o operands.  Actually, it
silently ignores what comes after the first expression if there is no
-o or -a to combine it with other expressions.

The specific example from fgb's contrib/install script is doubly wrong
since there's no argument supplied to the -w option.  I guess because
old test(1) doesn't complain, people may have assumed that this syntax
was a cute way to check that a directory exists *and* that it is
writable.  Ratrace(1), however, will show you that the old test(1)
only does one stat(5) syscall in this case and, in fact, calls
exits(0) regardless of whether the directory is writable or not.

The new test(1) in 9front passes the following test suite, which is
mostly stolen from something the OpenBSD folks had used to test their
own test(1) program:

http://git.9front.org/plan9front/regress/717df14acac498bfb4496066a60c1ae83e93d9b7/cmd/test.rc/f.html

> I would suggest compiling the plan9 version locally and seeing if
> that fixes the issue.

That will probably get you by, but I'd say the contrib/install script
should be fixed also.

--
Cheers,
Alex Musolino


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T23b7964cf6e8776e-Mdbb0237c5d0d5fa0441d5e2e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription