Hello everyone, any experience with this? https://bitbucket.org/iru/sam9f-unix trebol.
[-- Attachment #1: Type: text/plain, Size: 470 bytes --] 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 <trebol55555@yandex.ru> wrote: > Hello everyone, > any experience with this? > > https://bitbucket.org/iru/sam9f-unix > > trebol. > > > [-- Attachment #2: Type: text/html, Size: 958 bytes --]
> 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.
[-- Attachment #1: Type: text/plain, Size: 568 bytes --] On Sat, May 21, 2016 at 9:33 AM <trebol55555@yandex.ru> 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 [-- Attachment #2: Type: text/html, Size: 1275 bytes --]
On Sat, May 21, 2016 at 6:31 PM, <trebol55555@yandex.ru> 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.
> 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
> 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
On Sat May 21 11:32:04 PDT 2016, sl@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
>> > 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
On Sat, May 21, 2016 at 8:30 PM, <sl@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 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.
#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!
[-- Attachment #1: Type: text/plain, Size: 402 bytes --] 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, <trebol55555@yandex.ru> 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! [-- Attachment #2: Type: text/html, Size: 675 bytes --]
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 <iru.muzgo@gmail.com> 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, <trebol55555@yandex.ru> 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! > >
> 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.
[-- Attachment #1: Type: text/plain, Size: 1529 bytes --] 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 <martzirnask@gmail.com> 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 <iru.muzgo@gmail.com> 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, <trebol55555@yandex.ru> 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! > > > > > > [-- Attachment #2: Type: text/html, Size: 2244 bytes --]
[-- Attachment #1: Type: text/plain, Size: 736 bytes --] 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 <iru.muzgo@gmail.com> 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, <trebol55555@yandex.ru> 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! > > > [-- Attachment #2: Type: text/html, Size: 1258 bytes --]
https://bitbucket.org/iru/sam9f-unix --- /tmp/iru-sam9f-unix-4d050a28ac71/samterm/main.c 2014-09-02 17:13:07.000000000 +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, };
> 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
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 <martzirnask@gmail.com> 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
[-- Attachment #1: Type: text/plain, Size: 1109 bytes --] 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 <martzirnask@gmail.com> 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 <martzirnask@gmail.com> 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 > > [-- Attachment #2: Type: text/html, Size: 1805 bytes --]
[-- Attachment #1: Type: text/plain, Size: 1493 bytes --] > 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.tavakkolian@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 <martzirnask@gmail.com> > 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 <martzirnask@gmail.com> 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/ [-- Attachment #2: Type: text/html, Size: 2895 bytes --]
[-- Attachment #1: Type: text/plain, Size: 1588 bytes --] 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.tavakkolian@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 <martzirnask@gmail.com> > 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 <martzirnask@gmail.com> 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 [-- Attachment #2: Type: text/html, Size: 2754 bytes --]
kremlin and I have been working on and off to get the 9front changes working in p9p. It has 9front sam in it: https://bitbucket.org/kremlin_/front9port