Re: [9fans] Codebase navigation and using tags files in acme

2021-08-18 Thread Gabriel Diaz Lopez de la Llave via 9fans

Hello

You might be interested in  which 
implements a laguange server protocol client for acme.


gabi

On Wed, Aug 18, 2021 at 10:12, Richard Miller <9f...@hamnavoe.com> 
wrote:

 If you really need to work with extremely
 complex codebases you likely won't find success using plan9 at all.


When I need to scrabble around in the go source tree, I usually have
something like this in a window (it could go in an acme guide file)

grep -n 'func XXX' `{du -a | awk '/\.go$/ {print $2}'} .

which I edit and execute as needed.



--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tf8ceac12df9da674-Mce7cbdc1e9a228a51d608ea7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] native install

2010-04-11 Thread Gabriel Diaz Lopez de la Llave
hello

Seems I fell again in the bios ahci set up trap. Checking the BIOS options 
seems it was in Enhaced Ide mode instead of Enhaced AHCI mode.

Now the iso works perfectly. For those of you looking for a "modern" PC to run 
plan9, this is what i have:

* asus P6T SE
* Core i7 (4 core works)
* 4GB DDR3 RAM
* ati hd5750 (works in vesa 1280x960x8)
* hard disk WD caviar 300 GB
* realtek GB network (works)

9atom from this weekend boots and install with no problems setting up AHCI mode 
first.

slds.

gabi

El 11/04/2010, a las 14:37, Gabriel Diaz Lopez de la Llave escribió:

> hello
> 
> I have it booting now. I did a disk/format using the 9load from the cdboot 
> image, and the 9pcf kernel from the iso.
> 
> Now i'm getting messages about caught missed ide interrupts. . .and this 
> slows down disk operations a lot,  i guess first fossil dump to venti  will 
> take ages.
> 
> now i'm stuck at version...time line. . . .i'll try if enabling dma could 
> solve anything, but not sure when i will be able to access the console. . .
> 
> can i enable dma from the plan9.ini?
> 
> thanks.
> 
> gabi
> 
> 
> El 10/04/2010, a las 21:38, erik quanstrom escribió:
> 
>>> This is the 9load panic (manually transcribed):
>>> 
>>> PBS2. . . Plan 9 From Bell Labs
>>> no vga; serial console only
>>> cpu0: 2675MHz i7 loop 142773
>>> apm ax=f000 cx=f000 dx=40 di=100 ebx= esi=0
>>> found 11 e820 entries
>>> flags=10a07 trap=e ecode=2 pc=0x800377ff
>>>   ax 8002c391 bx  cx  dx 80047fac
>>>   si 0001 di 8004ad88 bp 80061c20
>>>   cs 0010 ds 008 es 0008 fd 0008 gs 0008
>>>   cr0 80011 cr2 8942443 cr3 c000
>>> panic: exception/interrupt 14
>>> press almost any key. . .
>>> 
>>> I  installed  again  to  see  if i missed some odd behaviour the first
>>> time,  but  seems  there  are  no  noticeable error messages. Also the
>>> install  speed  is  fine,  there  is  no  huge load of interrupts when
>>> installing and no missed interrupt messages.
>>> 
>>> The   interrupt   14  was  associated  with  sdC and sdD.
>> 
>> is this a freshly download cd?  some changes were made
>> apr  3 that should fix this problem.  this line is the tipoff:
>> 
>>> no vga; serial console only
>> 
>> - erik
>> 
> 
> 




Re: [9fans] native install

2010-04-11 Thread Gabriel Diaz Lopez de la Llave
hello

I have it booting now. I did a disk/format using the 9load from the cdboot 
image, and the 9pcf kernel from the iso.

Now i'm getting messages about caught missed ide interrupts. . .and this slows 
down disk operations a lot,  i guess first fossil dump to venti  will take ages.

now i'm stuck at version...time line. . . .i'll try if enabling dma could solve 
anything, but not sure when i will be able to access the console. . .

can i enable dma from the plan9.ini?

thanks.

gabi


El 10/04/2010, a las 21:38, erik quanstrom escribió:

>> This is the 9load panic (manually transcribed):
>> 
>> PBS2. . . Plan 9 From Bell Labs
>> no vga; serial console only
>> cpu0: 2675MHz i7 loop 142773
>> apm ax=f000 cx=f000 dx=40 di=100 ebx= esi=0
>> found 11 e820 entries
>> flags=10a07 trap=e ecode=2 pc=0x800377ff
>>ax 8002c391 bx  cx  dx 80047fac
>>si 0001 di 8004ad88 bp 80061c20
>>cs 0010 ds 008 es 0008 fd 0008 gs 0008
>>cr0 80011 cr2 8942443 cr3 c000
>> panic: exception/interrupt 14
>> press almost any key. . .
>> 
>> I  installed  again  to  see  if i missed some odd behaviour the first
>> time,  but  seems  there  are  no  noticeable error messages. Also the
>> install  speed  is  fine,  there  is  no  huge load of interrupts when
>> installing and no missed interrupt messages.
>> 
>> The   interrupt   14  was  associated  with  sdC and sdD.
> 
> is this a freshly download cd?  some changes were made
> apr  3 that should fix this problem.  this line is the tipoff:
> 
>> no vga; serial console only
> 
> - erik
> 




Re: [9fans] Plan ? (was: native install)

2010-03-30 Thread Gabriel Diaz Lopez de la Llave
hello

This way (dot-it-your-self-way) we will "only" have one-man projects. . .

slds.

gabi

El 30/03/2010, a las 12:19, hugo rivera escribió:

> I agree with Steve.
> I like the community approach to this matter: if plan9 doesn't have
> what you need, do it yourself; if you do something that might be
> useful for others share it and see what happens.
> Being a newbie myself I find very hard to write my own utilities, but
> that's a good way to learn ;-)
> 
> 
> 2010/3/30 Steve Simon :
>>> No one's willing to spearhead a "General Purpose 9" experiment, and no
>>> one's interested in collaborating on and contributing to such a project?
>>> 
>>> "If you want [general purpose], you know where to get it." seems to
>>> be the period that ends all such discussion.
>> 
>> I wouldn't quite agree, the discussions usually end one of three ways:
>> 
>> - somone wants somthing like gnome, and are encouraged to run linux.
>> 
>> - somone wants "the community" to port smthing like gnome and noone is
>>  interested so they get bored and go away.
>> 
>> - somone wants to write some code to solve a problem they have with plan9
>>  and the just get on with it and tell the list when its done.
>> 
>> An example:
>> 
>> I need SVN support at work, cinap has wrapped up his linuxemu with the snv
>> client and the apropriate shared libraries (thanks cinap). This allows me to
>> continue using plan9 (as I do every day, all day).
>> 
>> In parallel I now have written a webdav client which I hope will become
>> a DeltaV/SVN client for plan9. I feel its worth writing as I think it is
>> interesting to try and fit the plan9 file model to SVN's version control 
>> model.
>> 
>> I wanted it, I got on with it and wrote it.
>> 
>>> I can't help but wonder: where's the crux of the inertia?
>> 
>> An interesting question. If you can garner enthusism from the list
>> perhaps you can be "the one" to spearhead a new burst of enthusism?
>> 
>> -Steve
>> 
>> 
> 
> 
> 
> -- 
> Hugo
> 




Re: [9fans] native install

2010-03-24 Thread Gabriel Diaz Lopez de la Llave
hello

from 1 to 3. . .vmware or qemu (all of them).. . .i'm thinking in buying a 
modern PC in which i can run it natively...suggestions?

gabi

El 24/03/2010, a las 17:05, Steve Simon escribió:

> Only two, one home and one work,
> 
> Drawterm is usually active
> on another two or three Mac/PCs.
> 
> -Steve
> 




Re: [9fans] after a recent pull ...

2009-11-27 Thread Gabriel Diaz Lopez de la Llave
thanks Fede, that´s useful :)

gabi

El 25/11/2009, a las 22:30, Federico G. Benavento escribió:

> I added:
> 
>  contrib/local [ -m ] [ -p ]
> 
>  Contrib/local
>   Lists local contrib installed packages (default).  The
>   -m option changes the default behavior and local prints
>   the maintained packages instead of the installed ones.
>   The -p option can be used to print the necessary com-
>   mands to pull or push all the packages.
> 
> 
> so to pull all the installed packages
> 
> % contrib/local -p | rc
> 
> comments are welcome
> 
> thanks
> On Wed, Nov 25, 2009 at 6:06 PM, Francisco J Ballesteros  
> wrote:
>> That would be great.
>> I'm just using two clumsy ad-hoc scripts, but I think everyone using
>> contrib needs these two things.
>> 
>> On Wed, Nov 25, 2009 at 9:01 PM, ron minnich  wrote:
>>> Maybe this could be added to the contrib system.
>>> 
>>> contrib/pull with no args pulls all contribs that I already pulled
>>> contrib/listlocal would list local contribs
>>> 
>>> ron
>>> 
>>> 
>> 
>> 
> 
> 
> 
> -- 
> Federico G. Benavento
> 
> 




Re: [9fans] pull doesn't work due to unavailable sources; travelmate 291LCi specials

2009-01-09 Thread Gabriel Diaz Lopez de la Llave

hello

Geoff is working to get a replica/pull set up to mirror /n/sources.

9grid.es stopped mirrorning since this started, and i'm trying from  
time to time to use the replica/pull system to mirror sources.


sorry but i can't remember the message on which Geoff talked about this.

gabi


El 09/01/2009, a las 17:51, Francisco J Ballesteros escribió:


Sorry, which new mirror method?

I probably missed that.
We keep a mirror of sources/plan9 and 9grid at sources.lsub.org.


On Fri, Jan 9, 2009 at 5:37 PM, Gabriel Diaz Lopez de la Llave
 wrote:

Hello

As soon as the new mirror method mentioned by Geoff becomes the  
official way
to sync mirrors i will update the 9grid.es mirror and i will  
provide the

scripts to pull from 9grid.es again

Gabi



El 09/01/2009, a las 15:17, "Rudolf Sykora" 
escribió:


Hello,

I tried to install plan9 on one of my computers and wanted to update
it running 'pull'. However, it doesn't work, perhaps because the  
home
pages of plan9 at Bell labs don't work. I somehow have a feeling  
there

are problems with those pages every now and then. Is it so? Why?

May some mirror be used instead?
If yes, what and how do I have to modify so that 'pull' then works?

Also. My computer is Acer Travelmate 291LCi. It has a touchpad (2
buttons) and I want to use a usb mouse. After installation the
touchpad works, but connected external mouse does not. Why? What  
do I

have to do? There is a message saying something like
'/dev/usb0/1/ep0data does not exists'.
Last, the computer has a 1400x1050 screen, which is somehow not  
listed
in its Bios table, so that I had to run some program to help it  
under

linux (something like 855patch ;
http://www.chzsoft.com.ar/855patch.html ; it has a 810i graphics on
board). Is there a chance it would work in plan9? What do I have to
do?

Thanks
Ruda










Re: [9fans] pull doesn't work due to unavailable sources; travelmate 291LCi specials

2009-01-09 Thread Gabriel Diaz Lopez de la Llave

Hello

As soon as the new mirror method mentioned by Geoff becomes the  
official way to sync mirrors i will update the 9grid.es mirror and i  
will provide the scripts to pull from 9grid.es again


Gabi



El 09/01/2009, a las 15:17, "Rudolf Sykora"   
escribió:



Hello,

I tried to install plan9 on one of my computers and wanted to update
it running 'pull'. However, it doesn't work, perhaps because the home
pages of plan9 at Bell labs don't work. I somehow have a feeling there
are problems with those pages every now and then. Is it so? Why?

May some mirror be used instead?
If yes, what and how do I have to modify so that 'pull' then works?

Also. My computer is Acer Travelmate 291LCi. It has a touchpad (2
buttons) and I want to use a usb mouse. After installation the
touchpad works, but connected external mouse does not. Why? What do I
have to do? There is a message saying something like
'/dev/usb0/1/ep0data does not exists'.
Last, the computer has a 1400x1050 screen, which is somehow not listed
in its Bios table, so that I had to run some program to help it under
linux (something like 855patch ;
http://www.chzsoft.com.ar/855patch.html ; it has a 810i graphics on
board). Is there a chance it would work in plan9? What do I have to
do?

Thanks
Ruda






Re: [9fans] importing mailboxes

2008-12-29 Thread Gabriel Diaz Lopez de la Llave

Hello

I used to do

import mailgateway /mail/box/$user /mail/box/$user
upas/fs
acme

Or something simmilar

Slds.

Gabi


On 29/12/2008, at 18:50, j...@csplan9.rit.edu wrote:


This may be a solved problem, but forgive me if I don't choose
to spend hours searching around while stuck on dialup.

Anyway, my problem is this. I am away from my server, about 2,000
miles away to be exact. Right now, I am using cpu and mail(1)
to read my email, but I'd rather use acme Mail. Running a
remote acme is out of the question due to the connection, so
my question is: how can I get my mailbox bound/mounted locally
so I can access it with acme running on my terminal?

Thanks


John Floren






Re: [9fans] point-to-point routes

2008-12-01 Thread Gabriel Diaz Lopez de la Llave

hello

with ip i meant $ip sorry if that leaded to a confusion.

gabi

El 01/12/2008, a las 18:20, erik quanstrom escribió:


ip/ipconfig -g ip ether /net/ether0 ip 255.255.255.255


don't you want something along the lines of (untested)

ip/ipconfig -g $localip ether add /net/ether1 $localip /96

?  older versions of ipconfig are very bad at reporting errors,
so "ip" is probablly parsed as as the ip 0.0.0.0 (aka ::).

- erik








Re: [9fans] UDP insight needed..

2008-12-01 Thread Gabriel Diaz Lopez de la Llave

Hello

I think loopback is needed by venti, isn't it?

gabi

El 01/12/2008, a las 23:20, erik quanstrom escribió:


i believe the calls to listen an accept were
missing.  i added a function to the client to
determine the local address so we don't have to
depend on localhost.  (which is never set on my
machines.) and i added a function to the server to
print the caller.

- erik

ps.  would some humane soul please take localhost
out back and shoot it.






Re: [9fans] Do we have a catalog of 9P servers?

2008-11-15 Thread Gabriel Diaz Lopez de la Llave

hello

if the point of port forward is to access a service behind a firewall  
you can do something like:


inside% import outside /net /net
inside% start_service

and the servide will listen on the /net of the outside machine.

that's just a "simple" example.

slds.

gabi


El 15/11/20


Also, neither you nor anyone else have addressed the question of  
port forwarding using an imported /net. Now I'm curious: do any of  
you 9fans have an internal network behind a gateway that runs Plan  
9? In case you do, I'll be grateful if read about the configuration  
of your network(s).






Re: [9fans] non greedy regular expressions

2008-10-24 Thread Gabriel Diaz Lopez de la Llave

hello

using sed and only one reg-exp is mandatory?

cat t.txt| sed 's/(ABC | CBA)/ \n\1\n /g'  | awk '/ABC/,/CBA/' | grep - 
v 'ABC|CBA'


that's a naive and simple approach, but i can't see why you need to  
use just one reg-exp and just one sed. May be i missed something  
through the thread :-?


gabi


El 25/10/2008, a las 0:04, Rudolf Sykora escribió:


doesn't s/ABC(the_interesting_part)CBA/x/g work for you?
maybe i don't understand the example.  if so, could you explain?

- erik


I think not.
I have a file say like this

ABC asassadfasdf asdfasdf asdfasdf CBA hhjjioioioi
sodifs
sdfsd
ABC
dasdfas aasdfa
njnjn CBA

and I want to get

' asassadfasdf asdfasdf asdfasdf '
'dasdfas aasdfa'
'njnjn'

where I added apostrophes to see the spaces on indivial lines. Simply:
give me everything that is between delimiters (ABC and CBA).

Ruda







Re: [9fans] Booting plan9 from an iSCSI disk

2008-10-22 Thread Gabriel Diaz Lopez de la Llave

Hello

I just need to boot the kenel, this machine is rented, i can't change  
any hardware configuration, i can just try to get plan9 running there  
with the help of qemu. . .


I installed  a fossil terminal, now i need to instruct 9load to read  
the kernel from /dev/sdB0, and if the kernel loads, i need to instruct  
it to use 9grid.es as the fs and auth.


I will post the results of these tests if they are possitive.

thanks!

gabi

El 22/10/2008, a las 17:47, Sergey Zhilkin escribió:


Hi !

Use 9P instead of iSCSI. In My setup, I use small IDE Flash drives  
(128Mb) They works just fine ! :)


2008/10/20 <[EMAIL PROTECTED]>
Hola,

Has anyone done this?

I have access to a cheap hardware which could be a nice plan9 cpu  
server, the only thing does not work

is the iSCSI disk (or i think so, look at the lspci below)

I suppose the bios of the machine supports booting from iSCSI, so i  
think i could put a 9load or
9pxeload there,  but 9load is not able to load a kernel from iSCSI  
and i suppose i can't instruct 9pxeload

to boot from specific server without using bootp/dhcp to boot, right?

any tips on how to make this little thing work? (besides writing  
iSCSI support for 9load)


here is he lspci output (it is a dualcore atom 1.6ghz intel board,  
1gb of ram):



00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory  
Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ  
Integrated Graphics Controller (rev

02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI  
Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI  
Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI  
Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB  
UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB  
UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB  
UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB  
UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2  
EHCI Controller (rev 01)

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC  
Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE  
Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family)  
SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus  
Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.  
RTL8111/8168B PCI Express Gigabit

Ethernet controller (rev 02)

thanks

gabi
PS: it has an ide controller but with no disks attached






--
С Уважением
Жилкин Сергей




Re: [9fans] connection via proxy

2008-10-06 Thread Gabriel Diaz Lopez de la Llave

Hello

May be this is of your interest:

http://www.r-36.net/htdialfs.tgz

Other thing that could be of your interest is:

http://sirviente.9grid.es/srv.rit

the section about dealing with http proxy from a windws xp "corporate"  
workstation and a qemu plan9.


hope this helps,

gabi


El 07/10/2008, a las 4:58, [EMAIL PROTECTED] escribió:


You're after one of two things.

1)  It mostly sounds like you want to send 9p requests to an
existing server via an actual http proxy. If this is indeed what
you're looking for, you're pretty much out of luck. No code or
service exists to translate from 9p to/from http, which is what
would be needed before you could do this. I suppose there's
no theoretical reason such a mapping couldn't exist, but you
would have to do the design and coding yourself. It would be
a significant undertaking to do reasonably.

2)  Instead, one could read your mail as saying you just need
to use what you're describing as the "http proxy port", 8080. In
that case, you're okay: most servers which can listen on the
network can accept an arbitrary port to listen on; see the 'listen'
command in fossilcons(8), for example. For the rest,
aux/trampoline in conjunction with listen(8) will do well.

Sadly, I think you want option 1, which doesn't exist.
Anthony