Do we know what’s up with 9p.io, the current sources host?
--
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/T1250ef82fbb8d6ed-M83a33663f0d1ddff72587843
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
“window -m cmd” will run the command in the same namespace, forked, but in new
window.
“-m” is for “mount”, an alternative way of communication with the window system
to /dev/wctl which is default.
Yaroslav Kolomiiets
7 жовт. 2017 р. о 15:21 Chris McGee пише:
Thanks for the tip! I'll
A backport of fontsrv from p9p to Plan 9 is almost complete, based on an
earlier port of freetype library found at mirtchovski.com. Besides TTFs, it
happens to render most of the Type 1 fonts already there, enabling their use in
devdraw programs.
Coming soon.
- Yaroslav
finally got it complete: /n/sources/patch/usbkb-map
2013-08-08 19:26 GMT+03:00 Yaroslav :
> It gets even weirder: another hack to enable F11/F12.
>
> /n/dump/2013/0808/sys/src/cmd/usb/kb/kb.c:473,479 -
> /sys/src/cmd/usb/kb/kb.c:473,479
> }
>
>
> - #define hasesc1(sc)
the proposal submitted: /n/sources/patch/venti-cfgrelpath
2013-09-13 14:57 GMT+03:00 yaroslav :
>> Can we avoid explicit device names in venti conf? Changes in device
>> names on new hardware cause unnecessary delays during FS recovery.
>
> One of available options is to
> > /sys/src/cmd/unix/u9fs/authp9any.c
> > authp9any.c.orig:369,375 - /n/sources/patch/u9fs-afid/authp9any.c:369,378
> > fprint(2, "p9anyattach: afid %d state %d\n", rx->afid, sp->state);
> > if (sp->state == Established && strcmp(rx->uname, sp->uname) == 0
> > && strcmp(rx->aname, sp->aname) == 0)
U9fs(4) misuses Fcall.afid in its p9any authentication module.
The afid field of Fcall structure is only valid with Tauth or Tattach.
Tread, Twrite, Tclunk should use rx->fid instead. It's been lucky so
far to get the job done because rx->afid survives from previous
Tauth/Tattach. The issue pops
> Can we avoid explicit device names in venti conf? Changes in device
> names on new hardware cause unnecessary delays during FS recovery.
One of available options is to modify venti so it prepends the
non-rooted partitions with the same prefix as the config file has.
/dev/sdC0/arenas may then hav
syscall args, return PC, top-of-stack struct */
>> Ustkheadroom= sizeof(Sargs) + sizeof(uintptr) + sizeof(Tos),
>> };
>>
> 294c300
> < sp = (uchar*)base + BY2PG - MAXSYSARG*BY2WD;
> ---
>> sp = (uchar*)base + BY2PG - Ustkheadroom;
>
> - erik
--
- Yaroslav
> The crash seems to be in init, not the kernel. Are you sure
> your file system image is good?
it doesn't get far enough for "root from:", so it seems to fail
somewhere in the initcode blob
Re-build of 9xenpccpuf, the PV Xen guest kernel built from sources at
/n/sources/xen/xen3/9), with latest changes in sys/src/9/port/,
sys/src/libc/ and others - resulted in non-functional kernel: it dies
on boot with attached diagnostics.
I haven't looked further yet.
<>
Can we avoid explicit device names in venti conf? Changes in device
names on new hardware cause unnecessary delays during FS recovery.
58)
|| ((sc) == 0x38))
static void
putmod(KDev *f, uchar mods, uchar omods, uchar mask, uchar esc, uchar sc)
2013/3/1 Yaroslav :
>
>> thanks. that one had been bugging me. looks like it works here.
>
>
> /n/sources/patch/usb-khome
>
--
- Yaroslav
>> Replacing _MALLOCZ back with mallocz within APE realm seems to me a
>> better option to consider.
>
> I don't think this is better. APE generally tries very hard to be compliant
> to the spirit of ANSI (or POSIX with _POSIX_EXTENSION defined), this
> includes not poluting the namespace with plan
APE programs which require libmp fail to link due to unresolved
mallocz symbol. Easily solved by providing a local implementation,
but why: it's already there - in an alternative form though:
cpu% nm /386/lib/ape/libap.a | grep -i mallocz
9mallocz.8: T _MALLOCZ
9mallocz.8
in /sys/src/cmd/lp/lpdaemon.c:297,310
These
info.host[strlen(info.host)] = '\0';
…
info.user[strlen(info.user)] = '\0';
look nonsence as zeros are placed exactly where they already are.
Should read as in following instead:
r is redrawn sooner than bitmap update for remote
cursor arrives.
The problem also disappears when a severe latency induced on the path
to vnc server (sshnet through a distant machine or so).
--
- Yaroslav
)
fprint(2, "loadimage %d on %R for %R returned %d: %r\n", b,
rectaddpt(r, screen->r.min), screen->r, bb);
+ draw(screen, rectaddpt(r, screen->r.min), img, nil, r.min);
+ freeimage(img);
unlockdisplay(display);
}
Submitted as /n/sources/patch/vncv-curtrail
--
- Yaroslav
sounds like it deserves to become submitted as a patch.
--
- Yaroslav
moved; install with fgb's contrib (386+arm):
contrib/install yk/rd
2013/2/8 Yaroslav :
> /n/sources/contrib/yk/rdesktop
>
> It supports RGB16 server output only and doesn't implement graphic orders
> beyond bitmap update. Tested against XP and servers 2003, 2008, 201
d.
mk install usually installs the kernel to /$objtype, but rpi boots
from dos partition of an SD card, therefore you also need to copy it
over there:
; dosmnt 1 /n/dos
; cp /arm/9pi /n/dos/
; unmount /n/dos # or simply close the window
--
- Yaroslav
There is porting of a recent 2.x python going on, isn't it? How is it going?
k/5.python
/arm/bin/python' to add the ARM binary (without VFP instructions).
--
- Yaroslav
Not exactly. Please refer to /sys/doc/auth.ps |
http://plan9.bell-labs.com/sys/doc/auth.html for overview of the
architecture.
> So the incoming authentication is handled by the cpu owner factotum? That
> means the authentication information is held by the cpu owner factotum and
> the user factotu
%llu\n", val);
> return 0;
> }
>
> warning: llu.c:7 format mismatch llu
> UVLONG, arg 2
>
> and produces the damnedest output:
>
> VAL: %
> %(not terminated by a newline).
>
> Something's not right, anybody know what the cause is? And maybe the
> cure?
>
> ++L
>
>
>
--
- Yaroslav
no, cons(3) interface abstracts away from key strokes and yields complete
Runes.
Looking forward to a backport of this to the stock Plan 9.
/sys/src/cmd/ndb/cs.c:/^rwrite/;/^}/ looks like a rather complete reference
☺
> is it too much noise to ask about p9p Acme on this mailing list?
Should be ok for anything with a "9" in its name
> thanks. that one had been bugging me. looks like it works here.
>
/n/sources/patch/usb-khome
The "Home" key produces rune "7" on certain USB keyboard. The fix is:
/n/sources/plan9/sys/src/cmd/usb/kb/kb.c:473,479 -
/sys/src/cmd/usb/kb/kb.c:473,479
}
- #define hasesc1(sc) (((sc) > 0x47) || ((sc) == 0x38))
+ #define hasesc1(sc) (((sc) >= 0x47) || ((sc) == 0x38))
static void
now works on arm (tested on raspberry pi)
2013/2/9
> excellent! :)
>
> --
> cinap
>
>
--
- Yaroslav
2013/2/26 Jeff Sickel
> 've come to the conclusion that the code that causes error is intentional
We're facing problems in ceratin python apps too[1].
We used to use X11/equis mainly for rdesktop until a native port[2] became
available.
Does you change break X11/equis if relinked
2013/2/14 erik quanstrom
> On Thu Feb 14 13:52:09 EST 2013, yari...@gmail.com wrote:
>
> > we can't do XOR drawing with draw(2) like with bitblt, can we?
>
> if there's a trivial α channel, it's possible. otherwise one
> runs the risk of α multiplication.
>
>
No alpha there - I'd like to learn t
we can't do XOR drawing with draw(2) like with bitblt, can we?
--
- Yaroslav
did just that, thanks.
2013/2/12 Federico G. Benavento
> you can read from /dev/wctl and check wether the window
> is "visible" or "hidden", see rio(4).
>
> On Feb 11, 2013, at 7:32 AM, Yaroslav wrote:
>
> > Can we tell somehow from eresized() that
Can we tell somehow from eresized() that our window has been hidden or
unhidden?
--
- Yaroslav
/n/sources/contrib/yk/rdesktop
It supports RGB16 server output only and doesn't implement graphic orders
beyond bitmap update. Tested against XP and servers 2003, 2008, 2012.
--
- Yaroslav Kolomiyets
2013/2/5 erik quanstrom
> looks good, but i'd do libsec at the same time.
> unless you know of a compelling reason for these
> to support a different set of algorithms?
>
Agree.
/n/sources/patch/x509-oids
Could you please include following changes to
/sys/src/ape/lib/sec/port/x509-ape.c: this is for X509toRSApub(2) to
accept some ms-generated certs:
/n/sources/plan9/sys/src/ape/lib/sec/port/x509-ape.c:1583,1588 -
/sys/src/ape/lib/sec/port/x509-ape.c:1583,1590
ALG_sha1WithRSAEncryption,
#define __LIBMP_H_
- #pragma src "/sys/src/libmp"
- #pragma lib "libmp.a"
+ #pragma src "/sys/src/ape/lib/mp"
+ #pragma lib "/$M/lib/ape/libmp.a"
typedef unsigned int mpdigit; /* from /$objtype/include/u.h */
2013/2/4 Yaroslav
> Hi,
>
+0(SB),$24
free: /386/lib/libc.a(calloc): redefinition: free
...
Could someone suggest a method for tracking down the library/object file
which contains the loader instruction to load /386/lib/libc.a?
Thanks.
--
- Yaroslav
atoi(p));
ip->sin_addr.s_addr = inet_addr(name);
if(alen)
*alen = sizeof(struct sockaddr_in);
Python needs to be relinked.
--
- Yaroslav
of Python. I'd gladly take someone else's
>> mkfile rework to save some time. Libsec is needed to implement a
>> new _hashlib module, one that doesn't require OpenSSL among others.
>>
>> The new Python release&build will be pushed out once I clean up
>> a few more details like getting new builds of Mercurial working.
>>
>
> ---
> Federico G. Benavento
> benave...@gmail.com
>
>
>
>
--
- Yaroslav
There's a bug in topng(1) which under certain circumstances may result in
broken output image. When such an image then is fed to png(1)
diagnostics like the following are produced:
term% png /tmp/1.png
png: unknown filtering scheme 49
(The filtering scheme number may differ.)
Th
h each method. repeatedly as i bash the keyboard with my stubby
> fingers :)
--
- Yaroslav
you may mount it on terminal (9pfuse or so) then access in drawterm
under /mnt/term.
2012/9/15 Anthony Sorace :
> i'm certain i've seen this, but i can't reproduce it: is there a
> method for getting the srv files created by p9p in $namespace
> mounted under plan9? attempting to do so under drawte
subect: update:V: in system mkfiles
Many system mkfiles have targets like this:
update:V:
update $UPDATEFLAGS $UPDATE
These're no program named 'update' however — besides pc/update which
doesn't seem to apply here.
Could somebody please advise what these are meant for? Is it still
rele
stat 'bw' '' '' '' q (
4294967295 dalA) m 0377 at -1 mt -1 l -1 t 65535 d -1
Rerror tag 15 ename permission denied
Looking at /n/sources/plan9/sys/src/9/pc/trap.c:729,731 -- maybe
sysretfmt() should take up->syserrstr not up->errstr
> oh, i thought you were comparing system/library calls, not library function
> vs program. i don't understand that comparison.
it so happens that mv is a program with own idea how to do renames,
and there are no other obvious subject to compare with.
> no, i didn't. ratrace doesn't run if you're none.
try 'ratrace -c auth/none cmd ...' while not being none
and ignore everything preceding Exec "cmd".
> as i understand it, your claim is that mv works as none but ape/rename
> does not and this is because ape/rename uses wstat.
both use wstat o
> are you sure?
>
> ; touch bz
> ; ratrace -c mv bz bw >[2=1]| grep -v 'Stat|Brk'
you forgot auth/none...
; ratrace -c auth/none mv bz bw >[2=1]| grep -v ' none |Stat|Brk'
209051 mv Wstat 8cfe 0xdfffcef4/"bz" 0xc708 51 = -1 './bw' file does
not exist 1345738572648442848 13457385
> why is this related to ape? if you are none, then you are limited
> as to what you can do on the file server. you may just have an auth problem.
APE implements rename() in terms of wstat or copying. It's just
doesn't try to work around failing wstat (that's perhaps a good thing)
while mv does.
Is there a specific reason of forbidding wstat for 'none' in fossil
(/sys/src/cmd/fossil/9p.c:130,133)?
This causes APE rename() to fail almost always
(/sys/src/ape/lib/ap/plan9/rename.c:43)
Perhaps rename() should be fixed to match mv (/sys/src/cmd/mv.c:/^mv1)
to go around this?
--
- Yaroslav
do you mind quoting it here?
2012/6/17 Nick LaForge :
> I'm still a little hesitant
> about Nvidia, but to avoid further damaging relations with processor
> designers I'll defer to Torvalds' statement on the matter from
> Thursday in Finland.
> Primarily DVI, but also observed with VGA.
> LCD screens, in all cases.
can you look at pixels through a magnifying glass and see if an image
pixel affects more than one physical one? may it happen there's a
resolution mismatch?
VGAs can have artifacts which is very hard to get fixed: it is ver
2012/6/12 :
>>> In native, I no longer benefit from X11's rendering. Here, blurry
>>> fonts look blurry.
Sorry, is it DVI or VGA-connected?
2012/6/12 Wes Kussmaul :
> When you send an xkcd link to a large list, you make a dent in the
> world's productivity. You can't look at just one.
You have no idea how much right you are!
2012/5/18 Peter A. Cejchan :
>> select text in the first window
>>
>> > 2-1 chord on Look in the second window's tag line
>>
>
> how about running a command from another window, w/o copying to the tagline?
This is it: you don't copy to the tagline but just pass last selection
as an argument.
> Could you elaborate on your choice of using "sam -d"?
Agree, 'sam -d' is not an entry-level choice.
Outstanding! Thanks a lot!
not on the table: B2+B1 passes dot as arg to the cmd
> I have a question about keyboard and mouse interaction in the OS that
> relates to fast keys available for the windows. Do any exist for use of say
> windows switching, closing or any other operations for menus within plan 9?
The fast keys are mouse buttons, that's it. Just take it: once you get
I see now. Thank you guys!
> Erik's point is that rc isn't discarding it. You have a list. It sets x
> equal to that function, then sets @ equal to that same function.
>
> : iota; fn x @{x=y}
> : iota; whatis x
> fn x {x=y}
> : iota; whatis '@'
> fn @ {x=y}
> surely you need to use the "user" attribute. if you don't please send
> a copy of chap that doesn't give compiler warnings.
The user attribute is available at the end of CR protocol, upon 'attr'
rpc request.
The attached chap.c compiles cleanly here.
- yk
/*
* CHAP, MSCHAP
*
* The client
>> term% fn x @{x=y}
>> term% whatis x
>> fn x {x=y}
>
> creates to functions x and '@' definition {x=y}.
The question is why it discards @ here?
> you've misunderstood the current grammar. you have defined 2 functions
> name and '@' as {block}. the binding, illustrated with parens is
> fn (name @) {block}
> the production in the grammer is
> FN words brace
> but since once production for words is words -> keyword, a keyword
Forwarding it to the list so people don't bother to debug themselves.
It's tested with cifs and a local change which enables upas/fs to do
IMAP with NTLM auth.
-- Forwarded message ------
From: Yaroslav
Date: 2012/3/30
Subject: Re: [9fans] SSHv2
To: erik quanstrom
2012
2012/3/30 erik quanstrom :
>> contrib/quanstro/root/sys/src/cmd/auth/factotum
>
> contrib/install quanstro/nfactotum. move your old factotum out of the way
> first.
here's how one may work out contrib/install conflicts:
% contrib/install quanstro/nfactotum # may report conflicts
% replica/pull -
"fn name @{block}" doesn't cause block to run in a sub-shell, although
it accepts the syntax.
Is it someting should not be tried, or something shoud be fixed?
> Would it be hard to add cooked mode (-C)?
never mind: it's easy to simulate by binding /dev/nul over /dev/consctl.
> contrib/blstuart/ssh
It's great! All thumbs up!
Would it be hard to add cooked mode (-C)?
--
- Yaroslav
> contrib/quanstro/root/sys/src/cmd/auth/factotum
Nfactotum misses proto=mschap which is used by cifs(4) for doing NTLM.
> How big is the dependency on p9p factotum? Is it just syntactic or
> is there some needed functionality in p9p factotum which the sources
> version doesn't provide?
It's a strong one: it implements DSA sign/verify.
BTW, without patching ndb/cs as mentioned before one won't be able to
connect b
>> Perhaps initially: over an IP network, 9P used to run over IL.
>
> still does, including on the system i'm sending this from.
>
What advantages does it have over TCP? Does it worths the effort of
tailoring it back in, esp. for a fossil/venti site?
--
- Yaroslav
> Why was I puzzled: because as a non Plan9 user / developer, I
> usually think of the underlaying transport technology (be it sockets
> or 9p) as a stream of bytes without explicit framing.
As I understand, 9P itself is designed to operate on top of a
message-oriented transport; however, it has
some of us.
--
- Yaroslav
Speaking of which... what would be the trick to make libsec visible
for an APE source?
--
- Yaroslav
Yes, tftpd becomes none and calls newns(2), thus the only way to have
/net.alt populated for it is through /lib/namespace, as you figured
out.
--
- Yaroslav
I'd suggest to complete native SSH2 implementation.
2012/3/13 Peter A. Cejchan :
>> It would be nice to have a widget library including buttons, drop-down
>> menus, multiple-line text entry, radio buttons, scrollbars, etc.
>
> Oh, no!!!
> ++pac
>
--
- Yaroslav
well, there is a session persistense in Plan 9, and its name is vncs(1)…
please note that the sum du returns may be bigger than the actual
storage used anyway - think deduping and compression done at venti
level.
2012/1/12 John Floren :
> but I missed the simplicity and
> convenience of having just one nickname on IRC at all times
why not to use their nickserv extentions for this purpose,
and a startup script to deal with connection and authentication to
select servers and channels?
> style(6) deals with some of your questions.
Since nobody mentioned it yet,
Besides style(6) you may want to read "Notes on Programming in C", Rob
Pike, 1989.
SSD RAID and a much less frequent venti/copy to hard
> disks.
I think you're confusing kenfs+worm with fossil+venti in sense that
ken fs is a complete cache for worm while fossil is a write cache for
venti. You need venti running all the time.
--
- Yaroslav
2012/1/3 Kin Loo :
> longy# aux/listen1 -tv tcp!*!1114 /bin/exportfs -S /srv/memfs &
Try exportfs -d and check /tmp/exportdb for hints.
e keys from factotum
> as requited.
>
> Code in /n/sources/contrib/steve/ssh-agent.tgz
>
> -Steve
>
--
- Yaroslav
d data transfer - blocks are copied-on-write.
--
- Yaroslav
Replica(8) is bad at overlaying several sources...
Perhaps contrib(1) should hide this somehow.
2011/11/22 Skip Tavakkolian :
> because 9fans not only agree to disagree, they also disagree to agree :)
+1
2011/10/31 ron minnich :
> you forgot to
> cd /go/src
> . 9setup
why not to have what's in 9setup directly in 9.mk?
Uname in Tauth/Tattach indeed seem to be irrelevant for p9any but as
it is external to 9P this may be a provision for other possible auth
schemes where the uname may be the only place to provide an indentity
being authenticated...
devmnt always uses up->user for Tauth/Tattach no matter what an auth
protocol would yield (/sys/src/9/port/devmnt.c:281). Stock 9P servers
tolerate this and check Tattach.uname to match Tauth.uname but use
t.cuid or t.suid as the true user identity (unless no auth required).
Anyway, simply trustin
al use,
howerver, is not that clear: cwfs for 9p2k uses t.suid; while fossil,
exportfs, cpu -R and cwfs for old9p check against t.cuid. Comments in
/sys/include/authsrv.h:58,76 appear somewhat opaque until authsrv(6)
and p9sk1 client/server code in factotum are carefully studied.
- Yaroslav
───
vcons.
>
> ...
>>
>> Also, why is this done here and not in fsattach() of devcons
>> (with a refcount)?
--
- Yaroslav
> rio doesn't have button 3 search. acme does.
been missing a search in rio few times...
Is the software which powers 9fans web archive publicly available?
do we really need screens? lets move everything into our imagination.
all we need is to get a draw(3) interface to it...
> I am pretty sure this has worked for several years but now it is broken:
Has mac-owner's key been expired in your auth keyfs?
>Are you all happy to sprinkle bootes key onto unix machines (hard to believe)?
negative: the credentials you put in /etc/u9fs.key represent the
service, not a client.
one might find http://www.glendix.org/ project interesting
2011/7/2 Robert Seaton :
> Hello, 9fans!
> ...
1 - 100 of 143 matches
Mail list logo