Re: [9fans] updating awk ...

2018-08-28 Thread Benjamin Purcell
Spew here. I only made minimal changes to 9front awk to convert it to
a native application (this allowed 9front to remove the regexp library
that was duplicated in APE). Arnold: thanks for the information on the
awk improvements. I will look at them and merge them into 9front when
I have time.
On Tue, Aug 28, 2018 at 3:31 AM  wrote:
>
> Thanks for the info.
>
> I may pull the iso to take a look.
>
> In any case, for those using BWK's awk, it's worth pulling in the
> latest set of changes, they're not huge.
>
> Thanks,
>
> Arnold
>
> hiro <23h...@gmail.com> wrote:
>
> > spew is a 9front user who wanted to improve awk.
> >
> > there is no separate hg location, branch, etc., awk is in the default
> > branch of 9front.
> >
> > i don't know if he wasted a thought on unix while he was doing that,
> > better ask him: he's on #cat-v on freenode regularly.
> >
> > the 9front distribution .iso contains the complete hg repo with all
> > the history, so if you can run our awk, you also have the source and
> > the history.
> > his efforts started with the regexp library that used to require ape!
> > the first related commits i found are:
> >
> > changeset:   5271:9bf761f83f7e
> > branch:  spew
> > user:ben@rana
> > date:Wed Apr 27 07:52:41 2016 -0500
> > summary: remove ape regexp library, add utility for awk native port
> >
> > changeset:   5269:cad63b966180
> > branch:  spew
> > parent:  5266:682b1efdef40
> > user:ben@rana
> > date:Tue Apr 26 22:23:44 2016 -0500
> > summary: New libregexp and APE ported to native
> >
> > replying to list in case others want to understand, too.
>



Re: [9fans] simple rc problem in p9p (on OpenBSD)

2018-04-26 Thread Benjamin Purcell
Since no one had any idea what you had in mind, here is stab in the
dark. Did you want

% for(i in `{echo $w}) {echo $i; echo XXX}

?

On Thu, Apr 26, 2018 at 11:29 AM, Alexander Kapshuk
 wrote:
> On Thu, Apr 26, 2018 at 6:08 PM, Rudolf Sykora  
> wrote:
>> On 26 April 2018 at 16:54, Lucio De Re  wrote:
>>> w=(A B C)
>>>
>>> ?
>>
>> 1) this is not an answer
>> 2) the use of it all was that I wanted to send to print
>> certain files, the list of which I got from ls followed
>> by manual deletion (in 9term) of some... Newline separation
>> is thus natural.
>>
>> Thanks anyway
>> Ruda
>>
>
> You could initialise $w to hold a list of files output by ls like so:
> % w=`{ls}
> % echo $#w
> 40
>
> Is this what you had in mind?
>



Re: [9fans] 9Front in Virtualbox with Internet and Host Drawterm Access

2017-07-11 Thread Benjamin Purcell
I don't currently have the option to use anything besides vbox at
work. So this information is helpful to me.

On Tue, Jul 11, 2017 at 7:33 AM, hiro <23h...@gmail.com> wrote:
> everybody please stop promoting vbox. it will confuse everybody.
>



Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Benjamin Purcell
even simpler:

tojpg < /mnt/wsys/window > window.jpg

On Wed, Nov 23, 2016 at 2:07 PM, Skip Tavakkolian <9...@9netics.com> wrote:
>> it's one of the reasons I'm liking plan 9.
>
> ingenious glenda.