Re: [9fans] Plan9 on virtual machine in Mac os

2020-03-25 Thread Ethan Gardener
On Wed, Mar 25, 2020, at 9:30 PM, Nicolas S. Montanaro wrote:
> VMware works excellently with 9front on macOS. No quirks - just install 
> as usual.

9vx doesn't even require installation as such, which is nice but doesn't matter 
so much in the long term. (but i did have trouble getting vmware itself 
installed in windows 7 a couple of years ago.) how is network setup in vmware?

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-Mf5bf10388ae5dfe3d5920c0e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Plan9 on virtual machine in Mac os

2020-03-25 Thread Ethan Gardener
On Wed, Mar 25, 2020, at 8:11 PM, Brian L. Stuart wrote:
> On Wednesday, March 25, 2020, 02:02:40 PM EDT, Ethan Gardener 
>  wrote:
> > i still miss 9vx. it was so convenient when it
> > worked. fun too; i had it full-screened in a little
> > ...
> 
> Was? I still use it everyday. It's my primary
> terminal. I have it take the root from my file
> server when I'm on my home network, and
> off a little local mini root when I'm not.

it doesn't work on 64-bit only linux or freebsd, and it can't work at all on 
windows due to some page size issue, so i haven't had an os to run it on for 
many years. that might not be quite true, i probably had multilib linux at some 
points, but i didn't need it when i ran plan 9 native on my laptops. i have 
ergonomic issues which are getting worse with age, and so i stopped using 
laptops.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-M6f3c5567303ae6efd833d6d9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Plan9 on virtual machine in Mac os

2020-03-25 Thread Skip Tavakkolian
Harassing part costs extra :)

On Wed, Mar 25, 2020 at 2:36 PM Mark Everett  wrote:

> Thanks to all. I appreciate your support. And its nice to find a forum
> where everyone isn’t harassing…..
>
> — Mark
>
>
> On Mar 25, 2020, at 2:44 AM, Cyber Fonic  wrote:
>
> As for strings to pull, try:
>
> String 1 
>
> String 2 
>
> Hope that helps !  It's where I launched my research from.
>
>
> On Wed, 25 Mar 2020 at 12:33, Mark Everett  wrote:
>
>> Mostly a lurker so far, but wanted to try the actual system rather than
>> plan9port.  But sometimes getting actual hardware up an running is a steep
>> first step :-)
>> 
>> Does anyone know of a virtual machine running on current Mac OS that
>> hosts plan9?  Preferably one that isn’t too difficult to set up….
>> 
>> Also, I’m a little unclear on what the advantages/disadvantages of the
>> various forks of plan9 are best on, their audience, etc. And it seems
>> somewhat difficult to determine where to find the code for the different
>> forks. Most likely I’m just not paying attention….
>> 
>> I do have a pi 4 but probably not the one with the wall wart fix. Is Mr.
>> Miller’s code all in one place? Where is it publicly available?
>> 
>> Is there some repository for add-on file systems ala 9P2000 in one place.
>> If not the actual code, perhaps pointers to the actual repositories.
>> 
>> Sorry if it appears that I’m not digging in to find this information
>> myself, but I can’t seem to find the end of the string to pull…
>> 
>> Thanks in advance.
>> 
>> Lurker Mark
>> 
>
> *9fans * / 9fans / see discussions
>  + participants
>  + delivery options
>  Permalink
> 
>

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-M7135918291634b2a3a57313d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Plan9 on virtual machine in Mac os

2020-03-25 Thread Mark Everett
Thanks to all. I appreciate your support. And its nice to find a forum where 
everyone isn’t harassing…..

— Mark


> On Mar 25, 2020, at 2:44 AM, Cyber Fonic  wrote:
> 
> As for strings to pull, try:
> 
> String 1 
> 
> String 2 
> 
> Hope that helps !  It's where I launched my research from.
> 
> 
> On Wed, 25 Mar 2020 at 12:33, Mark Everett  > wrote:
> Mostly a lurker so far, but wanted to try the actual system rather than 
> plan9port.  But sometimes getting actual hardware up an running is a steep 
> first step :-)
> 
> Does anyone know of a virtual machine running on current Mac OS that hosts 
> plan9?  Preferably one that isn’t too difficult to set up….
> 
> Also, I’m a little unclear on what the advantages/disadvantages of the 
> various forks of plan9 are best on, their audience, etc. And it seems 
> somewhat difficult to determine where to find the code for the different 
> forks. Most likely I’m just not paying attention….
> 
> I do have a pi 4 but probably not the one with the wall wart fix. Is Mr. 
> Miller’s code all in one place? Where is it publicly available?
> 
> Is there some repository for add-on file systems ala 9P2000 in one place. If 
> not the actual code, perhaps pointers to the actual repositories.
> 
> Sorry if it appears that I’m not digging in to find this information myself, 
> but I can’t seem to find the end of the string to pull…
> 
> Thanks in advance.
> 
> Lurker Mark
> 
> 
> 
> --
> 9fans: 9fans
> Permalink: 
> https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-M36019cd786241baabf231844
>  
> 
> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription 
> 
> 9fans  / 9fans / see discussions 
>  + participants 
>  + delivery options 
> Permalink 
> 

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-M81832ab35c0dd15a716a1f72
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Plan9 on virtual machine in Mac os

2020-03-25 Thread Nicolas S. Montanaro
VMware works excellently with 9front on macOS. No quirks - just install as 
usual.
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-Meef6e446c0fd7f069463db66
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Plan9 on virtual machine in Mac os

2020-03-25 Thread Skip Tavakkolian
9legacy.org has readymade images to run on qemu and GCE.

http://9legacy.org/download.html

On Tue, Mar 24, 2020 at 6:34 PM Mark Everett  wrote:

> Mostly a lurker so far, but wanted to try the actual system rather than
> plan9port.  But sometimes getting actual hardware up an running is a steep
> first step :-)
> 
> Does anyone know of a virtual machine running on current Mac OS that hosts
> plan9?  Preferably one that isn’t too difficult to set up….
> 
> Also, I’m a little unclear on what the advantages/disadvantages of the
> various forks of plan9 are best on, their audience, etc. And it seems
> somewhat difficult to determine where to find the code for the different
> forks. Most likely I’m just not paying attention….
> 
> I do have a pi 4 but probably not the one with the wall wart fix. Is Mr.
> Miller’s code all in one place? Where is it publicly available?
> 
> Is there some repository for add-on file systems ala 9P2000 in one place.
> If not the actual code, perhaps pointers to the actual repositories.
> 
> Sorry if it appears that I’m not digging in to find this information
> myself, but I can’t seem to find the end of the string to pull…
> 
> Thanks in advance.
> 
> Lurker Mark
> 

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-M1409bf9d82b10bc3f8ccf98e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Plan9 on virtual machine in Mac os

2020-03-25 Thread Brian L. Stuart
 On Wednesday, March 25, 2020, 02:02:40 PM EDT, Ethan Gardener 
 wrote:
> i still miss 9vx. it was so convenient when it
> worked. fun too; i had it full-screened in a little
> ...

Was? I still use it everyday. It's my primary
terminal. I have it take the root from my file
server when I'm on my home network, and
off a little local mini root when I'm not.

BLS

  
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-M0e5d29d3ab8739b0823f305b
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Plan9 on virtual machine in Mac os

2020-03-25 Thread Ethan Gardener
On Wed, Mar 25, 2020, at 6:39 AM, Cyber Fonic wrote:
> I have been using Russ Cox's 9vx  on OS/X Mavericks 
> with considerable success. The only issue being that I need to connect a 
> Logitech 3 button mouse via a Unifying RF dongle (BlueTooth mice don't work 
> for me).

i still miss 9vx. it was so convenient when it worked. fun too; i had it 
full-screened in a little laptop & it felt like it was native. i've tried to 
use inferno in the same way, but i found it rougher than plan 9 and it lacks 
awk.

> Personally I find the 9vx environment more to my liking as I can edit code 
> with vim, use Finder, etc using OS/X concurrently with Plan9 -- yes, I know 
> that is heretical to die-hard Plan9 folks, but I'm a *nix guy foremost and a 
> Plan9 newbie.

this was exactly how i used it until i got used to acme, but i also got used to 
eagle mode and badly missed that when i switched to native plan 9. i still miss 
it. if i could code half as well as i'd like to, we'd have a zui file manager & 
notes organizer by now.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-Mca78898a5a2ca126c758ffce
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] iOS drawterm

2020-03-25 Thread Skip Tavakkolian
rummaging around /mnt/term when using drawterm might be enlightening.

On Wed, Mar 25, 2020 at 4:20 AM Kim Lassila  wrote:

>
>
> On Mar 25, 2020, at 8:19 AM, Anthony Sorace  wrote:
>
> With iOS getting first-class mouse pointer support, I’m looking at the iOS
> drawterm port again. Has anyone touched this since the old GSoC project bit
> rotted out?
>
>
> Drawterm is quite slow at reading and writing pixels on the screen. I
> learned this when I started recording screen in Plan 9 (
> https://github.com/9d0/screencast).
>
> Instead of porting drawterm to different platforms I would like to see
> vncs improved to support the latest version of the Remote Framebuffer
> Protocol (RFC 6143). This would allow a standard VNC client to connect to a
> Plan 9 terminal, support screen resizing, local mouse cursor, and deliver
> all key strokes and mouse chords accurately. VNC is optimized to work over
> a large variety of different networks including high latency links and it
> will therefore offer a better user experience than drawterm, especially
> over wireless.
>
> Kim
>
> *9fans * / 9fans / see discussions
>  + participants
>  + delivery options
>  Permalink
> 
>

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T69dec3540d033863-Mdc94bf632689311b6b093bf6
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] iOS drawterm

2020-03-25 Thread Ethan Gardener
how about vnc + drawterm -G; 2 connections? just a wild suggestion. -G (no 
graphics) is a feature of 9front's drawterm, but i think it should connect to 
labs.

red cursor is a little 9front hack; it's transparent to red only. i'm sure it 
could be reverted fairly easily, but the cursor is too small when the dpi is 
very high. client-side cursor would be much larger on my windows machines, 
presumably others too.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T69dec3540d033863-Mc5715f2b5175f52871d76357
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] iOS drawterm

2020-03-25 Thread ori
> Yes, I have tested vncs and vncv in 9front. They were written for the old 
> protocol version 3.3 which does not support local mouse cursor or resizing 
> the screen. It would improve the usability quite a bit if support for the 
> latest protocol was added to these programs. Mouse cursor drawn by vncs is 
> red, choppy and lags the real hardware cursor. It would be a lot better if 
> vncs supported the local mouse cursor extension available in the newer 
> protocol version.

When did you test? Support for resizing landed in the client, at least, in
2018, and works fine for me. 

changeset:   6677:5b0b9082b2c3
user:cinap_len...@felloff.net
date:Mon Aug 20 19:23:42 2018 +0200
summary: vncs: support for desktop resize extension, update devdraw

I use it regularly when I need to view web pages -- I VNC into a Vultr VPS
running Chrome.

I can't speak to the server side support, though, since I usually just use
rcpu when speaking to plan 9 systems, or drawterm when on Unix. Especially
over fast networks, I find it much more responsive, and exposing local
devices through /mnt/term makes using it much nicer.


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T69dec3540d033863-M1f8ffb5afb206ab493754d43
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] iOS drawterm

2020-03-25 Thread Anthony Sorace
VNC is great for what it is, and I certainly wouldn’t object to seeing vncs 
upgraded, but it is not a replacement for drawterm. It does not expose local 
devices in a plan 9 friendly way. In addition to just using drawterm as a 
straightforward terminal, an iOS version would be a very good platform for 
playing around with exposing other capabilities that the device has to plan 9. 
I played around with this a little bit with the original port. VNC buys us none 
of this.

> On Mar 25, 2020, at 04:21, Kim Lassila  wrote:
> 
> 
> 
>> On Mar 25, 2020, at 8:19 AM, Anthony Sorace  wrote:
>> 
>> With iOS getting first-class mouse pointer support, I’m looking at the iOS 
>> drawterm port again. Has anyone touched this since the old GSoC project bit 
>> rotted out?
> 
> Drawterm is quite slow at reading and writing pixels on the screen. I learned 
> this when I started recording screen in Plan 9 
> (https://github.com/9d0/screencast). 
> 
> Instead of porting drawterm to different platforms I would like to see vncs 
> improved to support the latest version of the Remote Framebuffer Protocol 
> (RFC 6143). This would allow a standard VNC client to connect to a Plan 9 
> terminal, support screen resizing, local mouse cursor, and deliver all key 
> strokes and mouse chords accurately. VNC is optimized to work over a large 
> variety of different networks including high latency links and it will 
> therefore offer a better user experience than drawterm, especially over 
> wireless. 
> 
> Kim
> 
> 9fans / 9fans / see discussions + participants + delivery options Permalink

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T69dec3540d033863-M9f0ca03599a57293298a1e8c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] iOS drawterm

2020-03-25 Thread Kim Lassila
On Mar 25, 2020, at 14:42, Jeremy O'Brien  wrote:
> 
> http://man.9front.org/1/vnc ?
> 
> Unless you're talking about legacy Plan 9?

Yes, I have tested vncs and vncv in 9front. They were written for the old 
protocol version 3.3 which does not support local mouse cursor or resizing the 
screen. It would improve the usability quite a bit if support for the latest 
protocol was added to these programs. Mouse cursor drawn by vncs is red, choppy 
and lags the real hardware cursor. It would be a lot better if vncs supported 
the local mouse cursor extension available in the newer protocol version.

Kim
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T69dec3540d033863-M391c5a31be730b57831a38b9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] iOS drawterm

2020-03-25 Thread Jeremy O'Brien
On Wed, Mar 25, 2020, at 07:19, Kim Lassila wrote:
> 
> 
>> On Mar 25, 2020, at 8:19 AM, Anthony Sorace  wrote:
>> 
>> With iOS getting first-class mouse pointer support, I’m looking at the iOS 
>> drawterm port again. Has anyone touched this since the old GSoC project bit 
>> rotted out?
> 
> Drawterm is quite slow at reading and writing pixels on the screen. I learned 
> this when I started recording screen in Plan 9 
> (https://github.com/9d0/screencast). 
> 
> Instead of porting drawterm to different platforms I would like to see vncs 
> improved to support the latest version of the Remote Framebuffer Protocol 
> (RFC 6143). This would allow a standard VNC client to connect to a Plan 9 
> terminal, support screen resizing, local mouse cursor, and deliver all key 
> strokes and mouse chords accurately. VNC is optimized to work over a large 
> variety of different networks including high latency links and it will 
> therefore offer a better user experience than drawterm, especially over 
> wireless. 
> 
> Kim

http://man.9front.org/1/vnc ?

Unless you're talking about legacy Plan 9?

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T69dec3540d033863-M393f67e39d014a280db69389
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] iOS drawterm

2020-03-25 Thread Kim Lassila


> On Mar 25, 2020, at 8:19 AM, Anthony Sorace  wrote:
> 
> With iOS getting first-class mouse pointer support, I’m looking at the iOS 
> drawterm port again. Has anyone touched this since the old GSoC project bit 
> rotted out?

Drawterm is quite slow at reading and writing pixels on the screen. I learned 
this when I started recording screen in Plan 9 
(https://github.com/9d0/screencast ). 

Instead of porting drawterm to different platforms I would like to see vncs 
improved to support the latest version of the Remote Framebuffer Protocol (RFC 
6143). This would allow a standard VNC client to connect to a Plan 9 terminal, 
support screen resizing, local mouse cursor, and deliver all key strokes and 
mouse chords accurately. VNC is optimized to work over a large variety of 
different networks including high latency links and it will therefore offer a 
better user experience than drawterm, especially over wireless. 

Kim


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T69dec3540d033863-M0322b1152190d9107a821115
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Plan9 on virtual machine in Mac os

2020-03-25 Thread Kim Lassila
On Mar 25, 2020, at 3:32 AM, Mark Everett  wrote:
> 
> Does anyone know of a virtual machine running on current Mac OS that hosts 
> plan9?  Preferably one that isn’t too difficult to set up….

Hi Mark,

I run both 9front and 9legacy on macOS with Qemu. The installation of qemu 
4.2.0 was a breeze via Homebrew:

Mac % brew install qemu

The Plan 9 file server VM boots off a virtual disk image that has 9fat, nvram, 
and fossil. I launch it with the following command:

Mac % cd $HOME/plan9/fs &&
qemu-system-x86_64 -m 512 -name 'file server' \
-nographic \
-no-reboot \
-drive 'if=none,id=hd,file=fossil.raw,format=raw' \
-device 'virtio-scsi-pci,id=scsi' -device 'scsi-hd,drive=hd' \
-device virtio-net-pci,netdev=n0,mac=52:54:00:09:09:02 \
-netdev user,id=n0,hostfwd=tcp::564-:564

The Plan 9 terminal boots directly off a 9front kernel supplied on the command 
line. I launch the VM with this command:

Mac % cd $HOME/plan9/terminal &&
qemu-system-x86_64 -m 1024 -kernel 9pc64 -initrd plan9.ini \
-name terminal \
-no-reboot \
-device virtio-net-pci,netdev=n0,mac=52:54:00:09:09:09 \
-netdev user,id=n0,hostfwd=tcp::8080-:80 2>&1 | grep -v 'multiboot knows VBE'

I was testing a simple web server written in Go on the terminal and that’s why 
I am forwarding tcp port 8080 into it. 

It took quite a lot of iterations to get these commands right. Hope this helps.

Kim


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-M8bab0704a25927fd5adeee93
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Plan9 on virtual machine in Mac os

2020-03-25 Thread Cyber Fonic
As for strings to pull, try:

String 1 

String 2 

Hope that helps !  It's where I launched my research from.


On Wed, 25 Mar 2020 at 12:33, Mark Everett  wrote:

> Mostly a lurker so far, but wanted to try the actual system rather than
> plan9port.  But sometimes getting actual hardware up an running is a steep
> first step :-)
> 
> Does anyone know of a virtual machine running on current Mac OS that hosts
> plan9?  Preferably one that isn’t too difficult to set up….
> 
> Also, I’m a little unclear on what the advantages/disadvantages of the
> various forks of plan9 are best on, their audience, etc. And it seems
> somewhat difficult to determine where to find the code for the different
> forks. Most likely I’m just not paying attention….
> 
> I do have a pi 4 but probably not the one with the wall wart fix. Is Mr.
> Miller’s code all in one place? Where is it publicly available?
> 
> Is there some repository for add-on file systems ala 9P2000 in one place.
> If not the actual code, perhaps pointers to the actual repositories.
> 
> Sorry if it appears that I’m not digging in to find this information
> myself, but I can’t seem to find the end of the string to pull…
> 
> Thanks in advance.
> 
> Lurker Mark
> 

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-M00e6883a15db75bb72a0102e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Plan9 on virtual machine in Mac os

2020-03-25 Thread Cyber Fonic
I have been using Russ Cox's 9vx  on OS/X Mavericks
with considerable success.  The only issue being that I need to connect a
Logitech 3 button mouse via a Unifying RF dongle (BlueTooth mice don't work
for me).

Although 9vx is somewhat minimal, I download sources as I require them
from 9p.io
website .

Richard Millers Plan9 port 
works fine for me on an older RPi - B (?)  using the same mouse that I use
with MBP.

Personally I find the 9vx environment more to my liking as I can edit code
with vim, use Finder, etc using OS/X concurrently with Plan9 -- yes, I know
that is heretical to die-hard Plan9 folks, but I'm a *nix guy foremost and
a Plan9 newbie.

Pardon the confusion over which model RPi I am using. I have several from
different releases and I get confused as to which one I am using at any
given time. Swapping SDHC cards, etc



On Wed, 25 Mar 2020 at 12:33, Mark Everett  wrote:

> Mostly a lurker so far, but wanted to try the actual system rather than
> plan9port.  But sometimes getting actual hardware up an running is a steep
> first step :-)
> 
> Does anyone know of a virtual machine running on current Mac OS that hosts
> plan9?  Preferably one that isn’t too difficult to set up….
> 
> Also, I’m a little unclear on what the advantages/disadvantages of the
> various forks of plan9 are best on, their audience, etc. And it seems
> somewhat difficult to determine where to find the code for the different
> forks. Most likely I’m just not paying attention….
> 
> I do have a pi 4 but probably not the one with the wall wart fix. Is Mr.
> Miller’s code all in one place? Where is it publicly available?
> 
> Is there some repository for add-on file systems ala 9P2000 in one place.
> If not the actual code, perhaps pointers to the actual repositories.
> 
> Sorry if it appears that I’m not digging in to find this information
> myself, but I can’t seem to find the end of the string to pull…
> 
> Thanks in advance.
> 
> Lurker Mark
> 

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Ta7f245368d4d10b8-M2bcd288679c957023fb5db14
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] iOS drawterm

2020-03-25 Thread Anthony Sorace
With iOS getting first-class mouse pointer support, I’m looking at the iOS 
drawterm port again. Has anyone touched this since the old GSoC project bit 
rotted out?

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T69dec3540d033863-Mf82d1ab5066a3371d2afa304
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription