Re: [9fans] 9front sam in plan9port.

2016-05-23 Thread Dave MacFarlane
Speaking as the author of it, I wouldn't be offended by either. It's only,
like, a week old, and mostly written for myself.

But it's not going to work under Plan 9 until I finish the /dev/draw shiny
driver that I started and have been procrastinating on finishing. I should
probably try it and see how it works...

-- Dave

On Mon, May 23, 2016 at 5:28 PM, Skip Tavakkolian <
skip.tavakkol...@gmail.com> wrote:

> since it's a slow news day, i'm throwing this in. i'm neither condoning
> use of it nor disparaging it.
>
> https://github.com/driusan/de
>
>
> On Mon, May 23, 2016 at 1:27 PM Mart Zirnask 
> wrote:
>
>> looks like Rob King added ctrl-b (ctrl-k in his case) to deadpixi's
>> sam about a month ago. cool. :)
>>
>> https://github.com/deadpixi/sam/commit/cdbdf04093a76cd3634e59e127bfd8f7a5083b20#diff-22f470141ff9a8838525c57e45bcdb63
>>
>> On 23 May 2016 at 10:25, Mart Zirnask  wrote:
>> >> I wasn't able to get it working remotely because the additional 'rsam'
>> >> command doesn't seem to be built. I haven't looked at that yet though.
>> >
>> > I can't confirm for now if it was built for me on Tiny Core Linux. The
>> > source and makefile for 'rsam' are included and also documented,
>> > though.
>> > it also doesn't have the 'E' command.
>> >
>> > btw, is 9front's ctrl-b patch (for switching to the command window)
>> > available somewhere?
>> > I'm really interested in having that keyboard shortcut in this version
>> of sam.
>> >
>> > best,
>> > Mart
>>
>>


-- 
- Dave


Re: [9fans] 9front sam in plan9port.

2016-05-23 Thread Ryan Gonzalez
> It's kind of like a bastard child of vim and Plan 9's acme editor

I almost died laughing at this. :O

On Mon, May 23, 2016 at 4:28 PM, Skip Tavakkolian <
skip.tavakkol...@gmail.com> wrote:

> since it's a slow news day, i'm throwing this in. i'm neither condoning
> use of it nor disparaging it.
>
> https://github.com/driusan/de
>
>
> On Mon, May 23, 2016 at 1:27 PM Mart Zirnask 
> wrote:
>
>> looks like Rob King added ctrl-b (ctrl-k in his case) to deadpixi's
>> sam about a month ago. cool. :)
>>
>> https://github.com/deadpixi/sam/commit/cdbdf04093a76cd3634e59e127bfd8f7a5083b20#diff-22f470141ff9a8838525c57e45bcdb63
>>
>> On 23 May 2016 at 10:25, Mart Zirnask  wrote:
>> >> I wasn't able to get it working remotely because the additional 'rsam'
>> >> command doesn't seem to be built. I haven't looked at that yet though.
>> >
>> > I can't confirm for now if it was built for me on Tiny Core Linux. The
>> > source and makefile for 'rsam' are included and also documented,
>> > though.
>> > it also doesn't have the 'E' command.
>> >
>> > btw, is 9front's ctrl-b patch (for switching to the command window)
>> > available somewhere?
>> > I'm really interested in having that keyboard shortcut in this version
>> of sam.
>> >
>> > best,
>> > Mart
>>
>>


-- 
Ryan
[ERROR]: Your autotools build scripts are 200 lines longer than your
program. Something’s wrong.
http://kirbyfan64.github.io/


Re: [9fans] 9front sam in plan9port.

2016-05-23 Thread Skip Tavakkolian
since it's a slow news day, i'm throwing this in. i'm neither condoning use
of it nor disparaging it.

https://github.com/driusan/de


On Mon, May 23, 2016 at 1:27 PM Mart Zirnask  wrote:

> looks like Rob King added ctrl-b (ctrl-k in his case) to deadpixi's
> sam about a month ago. cool. :)
>
> https://github.com/deadpixi/sam/commit/cdbdf04093a76cd3634e59e127bfd8f7a5083b20#diff-22f470141ff9a8838525c57e45bcdb63
>
> On 23 May 2016 at 10:25, Mart Zirnask  wrote:
> >> I wasn't able to get it working remotely because the additional 'rsam'
> >> command doesn't seem to be built. I haven't looked at that yet though.
> >
> > I can't confirm for now if it was built for me on Tiny Core Linux. The
> > source and makefile for 'rsam' are included and also documented,
> > though.
> > it also doesn't have the 'E' command.
> >
> > btw, is 9front's ctrl-b patch (for switching to the command window)
> > available somewhere?
> > I'm really interested in having that keyboard shortcut in this version
> of sam.
> >
> > best,
> > Mart
>
>


Re: [9fans] 9front sam in plan9port.

2016-05-23 Thread Mart Zirnask
looks like Rob King added ctrl-b (ctrl-k in his case) to deadpixi's
sam about a month ago. cool. :)
https://github.com/deadpixi/sam/commit/cdbdf04093a76cd3634e59e127bfd8f7a5083b20#diff-22f470141ff9a8838525c57e45bcdb63

On 23 May 2016 at 10:25, Mart Zirnask  wrote:
>> I wasn't able to get it working remotely because the additional 'rsam'
>> command doesn't seem to be built. I haven't looked at that yet though.
>
> I can't confirm for now if it was built for me on Tiny Core Linux. The
> source and makefile for 'rsam' are included and also documented,
> though.
> it also doesn't have the 'E' command.
>
> btw, is 9front's ctrl-b patch (for switching to the command window)
> available somewhere?
> I'm really interested in having that keyboard shortcut in this version of sam.
>
> best,
> Mart



Re: [9fans] 9front sam in plan9port.

2016-05-23 Thread Mart Zirnask
> I wasn't able to get it working remotely because the additional 'rsam'
> command doesn't seem to be built. I haven't looked at that yet though.

I can't confirm for now if it was built for me on Tiny Core Linux. The
source and makefile for 'rsam' are included and also documented,
though.
it also doesn't have the 'E' command.

btw, is 9front's ctrl-b patch (for switching to the command window)
available somewhere?
I'm really interested in having that keyboard shortcut in this version of sam.

best,
Mart




Re: [9fans] 9front sam in plan9port.

2016-05-22 Thread trebol55555
https://bitbucket.org/iru/sam9f-unix

--- /tmp/iru-sam9f-unix-4d050a28ac71/samterm/main.c 2014-09-02 
17:13:07.0 +0100
+++ samterm/main.c  2016-05-22 18:26:00.855472411 +0100
@@ -476,14 +476,14 @@
Ksoh=   0x01,
Kstx=   0x02,
Ketx=   0x03,
-   Keof=   0x04,
+// Keof=   0x04,
Kenq=   0x05,
Kack=   0x06,
-   Kbs=0x08,
+// Kbs=0x08,
Knack=  0x15,
Ketb=   0x17,
-   Kdel=   0x7f,
-   Kesc=   0x1b,
+// Kdel=   0x7f,
+// Kesc=   0x1b,
 };
 




Re: [9fans] 9front sam in plan9port.

2016-05-22 Thread Mark Lee Smith
I'd be interested in this. I just backported _ and ^, but I don't have the
time to backport anything else for the moment. It would save me (probably
others) a lot of time if we could get this into the "official" Plan9Port :).

On Sun, 22 May 2016 at 07:31 Iruatã Souza  wrote:

> This is just a port of the 9front version of sam to p9p. As you can see,
> it hasn't been updated in a while. But I can do that if anybody wants it.
> Em 21/05/2016 4:50 PM,  escreveu:
>
> #define chording 0  /* code here for reference but it causes deadlocks
> */
>
> I suppose the bug is still messing around.
> I'll give it a try to the 9front version.
>
> Thanks for the info!
>
>
>


Re: [9fans] 9front sam in plan9port.

2016-05-22 Thread Mark Lee Smith
This is very cool. I just got it built/running on OpenBSD 5.9. The only
problem seems to be that the code is quite old? (It's very different from
that in Plan9Port's and 9front's version.)

I wasn't able to get it working remotely because the additional 'rsam'
command doesn't seem to be built. I haven't looked at that yet though.

This still uses the named pipe for communicating with sam from the outside,
which is quite useful. I may try to port that to my copy.

This might be obvious, but that you can use this samterm with sam from
Plan9Ports (and presumably 9front). And It will work remotely then.

All the best,

Mark

On Sun, 22 May 2016 at 13:10 Mart Zirnask  wrote:

> There is also a standalone Unix port of sam that includes chording,
> xft, custom colors and a few other hacks. It's a pleasure to work
> with; I've even come to prefer the initial, black and white UI.
>
> http://www.deadpixi.com/an-updated-version-of-sam
>
> On 22 May 2016 at 08:29, Iruatã Souza  wrote:
> > This is just a port of the 9front version of sam to p9p. As you can see,
> it
> > hasn't been updated in a while. But I can do that if anybody wants it.
> >
> > Em 21/05/2016 4:50 PM,  escreveu:
> >
> > #define chording 0  /* code here for reference but it causes
> deadlocks
> > */
> >
> > I suppose the bug is still messing around.
> > I'll give it a try to the 9front version.
> >
> > Thanks for the info!
> >
> >
>
>


Re: [9fans] 9front sam in plan9port.

2016-05-22 Thread trebol55555
> There is also a standalone Unix port of sam that includes chording,
> xft, custom colors and a few other hacks. It's a pleasure to work
> with; I've even come to prefer the initial, black and white UI.
> 
> http://www.deadpixi.com/an-updated-version-of-sam

It looks grate.




Re: [9fans] 9front sam in plan9port.

2016-05-22 Thread Mart Zirnask
There is also a standalone Unix port of sam that includes chording,
xft, custom colors and a few other hacks. It's a pleasure to work
with; I've even come to prefer the initial, black and white UI.

http://www.deadpixi.com/an-updated-version-of-sam

On 22 May 2016 at 08:29, Iruatã Souza  wrote:
> This is just a port of the 9front version of sam to p9p. As you can see, it
> hasn't been updated in a while. But I can do that if anybody wants it.
>
> Em 21/05/2016 4:50 PM,  escreveu:
>
> #define chording 0  /* code here for reference but it causes deadlocks
> */
>
> I suppose the bug is still messing around.
> I'll give it a try to the 9front version.
>
> Thanks for the info!
>
>



Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread Iruatã Souza
This is just a port of the 9front version of sam to p9p. As you can see, it
hasn't been updated in a while. But I can do that if anybody wants it.
Em 21/05/2016 4:50 PM,  escreveu:

#define chording 0  /* code here for reference but it causes deadlocks
*/

I suppose the bug is still messing around.
I'll give it a try to the 9front version.

Thanks for the info!


Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread trebol55555
#define chording 0  /* code here for reference but it causes deadlocks */

I suppose the bug is still messing around.
I'll give it a try to the 9front version.

Thanks for the info!




Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread Mark van Atten
On Sat, May 21, 2016 at 8:30 PM,   wrote:
>> The plan9port version also has chording if in its samterm/main.c you
>> change #define chording 0 to #define chording 1.
>
> It was also marked as being buggy, which is why it remains disabled by 
> default.

I noticed the comment in the source, but also that on my systems
(FreeBSD, Debian) I have never run into trouble with it. This may be
different in other setups. Any experiences?

Mark.



Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread sl
>> > The plan9port version also has chording if in its samterm/main.c you
>> > change #define chording 0 to #define chording 1.
>> 
>> It was also marked as being buggy, which is why it remains disabled by 
>> default.
> 
> i believe rsc found the reason for this later.  the bug was that it caused 
> protocol lock.
> i don't recall what the details of the bug or the fix were.

Ah, I wasn't aware of that.

The chording in 9front sam is a different implementation.

There haven't been many changes; as far as I can remember, only the addition
of chording and Ctrl-b to switch focus to the command window. And some minor
bugfixes.

sl



Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread erik quanstrom
On Sat May 21 11:32:04 PDT 2016, s...@9front.org wrote:
> > The plan9port version also has chording if in its samterm/main.c you
> > change #define chording 0 to #define chording 1.
> 
> It was also marked as being buggy, which is why it remains disabled by 
> default.

i believe rsc found the reason for this later.  the bug was that it caused 
protocol lock.
i don't recall what the details of the bug or the fix were.

- erik



Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread sl
> The plan9port version also has chording if in its samterm/main.c you
> change #define chording 0 to #define chording 1.

It was also marked as being buggy, which is why it remains disabled by default.

sl



Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread sl
> Ok, the wording on that site is a bit odd to me.  The name plan9port is a
> project Russ Cox wrote, so the wording
> 
> A port of 9front's version of sam(1) to unix (plan9port)
> 
> seemed to imply porting 9front's sam(1) to plan9port. That didn't make
> sense to me since Russ's plan9port sam goes back many many years earlier
> than the 2014 timestamp in that repo you pointed at.

Yes, and 9front's sam has some additional features (like chording) that are
not found in p9p's sam.

If I understand correctly, the author wanted to use those features, which is
why he set out to replace the same that was already in p9p with this newer
modification.

sl



Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread Mark van Atten
On Sat, May 21, 2016 at 6:31 PM,   wrote:
>> If you mean Russ's project, as referred to on that link, yes.
>
> Hello James.
>
> No, it appears to be the 9front version (2014, with mouse chords in 
> samterm/main.c ), ported to plan9port.

The plan9port version also has chording if in its samterm/main.c you
change #define chording 0 to #define chording 1.

Mark.



Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread James A. Robinson
On Sat, May 21, 2016 at 9:33 AM  wrote:

> No, it appears to be the 9front version (2014, with mouse chords in
> samterm/main.c ), ported to plan9port.
>

Ok, the wording on that site is a bit odd to me.  The name plan9port is a
project Russ Cox wrote, so the wording

A port of 9front's version of sam(1) to unix (plan9port)

seemed to imply porting 9front's sam(1) to plan9port. That didn't make
sense to me since Russ's plan9port sam goes back many many years earlier
than the 2014 timestamp in that repo you pointed at.

Jim


Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread trebol55555
> If you mean Russ's project, as referred to on that link, yes.

Hello James.

No, it appears to be the 9front version (2014, with mouse chords in 
samterm/main.c ), ported to plan9port.




Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread James A. Robinson
If you mean Russ's project, as referred to on that link, yes.

https://swtch.com/plan9port/

I am using it under Mac OS X now, mainly for acme and sam.  I've tried it
under Linux years ago and it seemed just as solid (I am guessing Russ
initially developed it under Linux).

Jim

On Sat, May 21, 2016 at 8:37 AM  wrote:

> Hello everyone,
> any experience with this?
>
> https://bitbucket.org/iru/sam9f-unix
>
> trebol.
>
>
>


[9fans] 9front sam in plan9port.

2016-05-21 Thread trebol55555
Hello everyone,
any experience with this?

https://bitbucket.org/iru/sam9f-unix

trebol.