From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 3 Oct 2008 19:11:14 +0200 From: "Rudolf Sykora" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: <14ec7b180810030952x232d9cd3p1d5d1e969ab28a8a@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15262_3063450.1223053874663" References: <14ec7b180810030952x232d9cd3p1d5d1e969ab28a8a@mail.gmail.com> Subject: Re: [9fans] control-F completion question Topicbox-Message-UUID: 16bdf040-ead4-11e9-9d60-3106f5b1d025 ------=_Part_15262_3063450.1223053874663 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2008/10/3 andrey mirtchovski > i sometimes wonder whether the ^F completion stuff wasn't left this > way on purpose, as if to illustrate the futility of (essentially) a > single-node solution in the presence of distributed environments. > > to solve what you perceive to be a problem you must ask yourself: what > is the one thing that is fully aware of the current namespace? it's > obviously not rio: it simply juggles windows with shells in them. is > it the shell? putting the completion in the shell itself would work > for plain terminals, but wouldn't work for rio. is it the kernel? > would you bother adding to the kernel something as silly as command > completion? how about completing across a network? > > all difficult questions for a silly problem ;) > I might again be wrong, but I thought the reason why the completion is not in the rc is partially thanks to the fact, that rc doesn't know anything you type until you press 'enter'. Only rio knows. (But all this is based only on my possibly broken opinion...) But yes, the best would be (for me and I guess for everybody, since we usually speak to rc when we need the completion) to be as close to the rc's namespace as possible. Correct me, please, if I am completely off the road... :) Ruda ------=_Part_15262_3063450.1223053874663 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline


2008/10/3 andrey mirtchovski <mirtchovski@gmail.com>
i sometimes wonder whether the ^F completion stuff wasn't left this
way on purpose, as if to illustrate the futility of (essentially) a
single-node solution in the presence of distributed environments.

to solve what you perceive to be a problem you must ask yourself: what
is the one thing that is fully aware of the current namespace? it's
obviously not rio: it simply juggles windows with shells in them. is
it the shell? putting the completion in the shell itself would work
for plain terminals, but wouldn't work for rio. is it the kernel?
would you bother adding to the kernel something as silly as command
completion? how about completing across a network?

all difficult questions for a silly problem ;)

I might again be wrong, but I thought the reason why the completion is not in the rc is partially thanks to the fact, that rc doesn't know anything you type until you press 'enter'. Only rio knows. (But all this is based only on my possibly broken opinion...)
But yes, the best would be (for me and I guess for everybody, since we usually speak to rc when we need the completion) to be as close to the rc's namespace as possible.
Correct me, please, if I am completely off the road... :)

Ruda
 
------=_Part_15262_3063450.1223053874663--