From nobody Thu Feb 29 12:54:16 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tlrlf5bkTz5C7jL for ; Thu, 29 Feb 2024 12:54:38 +0000 (UTC) (envelope-from simon.n.connah@protonmail.com) Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tlrlf2KPVz4T49 for ; Thu, 29 Feb 2024 12:54:38 +0000 (UTC) (envelope-from simon.n.connah@protonmail.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1709211275; x=1709470475; bh=t7eomEpCaGTpQKveG2XauLAk9rSPUD6J35TWrxov2Z0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=iPGlV6hdw+wgAIyKo2LXq0vLmsfE2/yyh5hu2UOO6zk68X9K9303F62k/0trWIyhw bxhAbEbP4HSACL3o6Al4/J4j2RkngwC3exgybbB8qUktE+yKY4yVA+hsRO0BwGbip9 /h80sSEguvP2XS3cArvczprfKSaAx3tPnH+6N8P3MWNOO2E6/wd48A2TUatvxugaok smVrPHA6kWfElZqnnIPfxNp2XmukxF1i2/IlFHCjpDUnnQIuSkeArDhQQgq5YBFGkL YMO+5xPUP/eelbJqJIbGIb2a8Yyh0LR11KgB9ai56kizQ8V/Kpzz8g3qqpY5Yv1J8w gqQOQkoksrKRw== Date: Thu, 29 Feb 2024 12:54:16 +0000 To: Pete Wright From: Simon Connah Cc: freebsd-questions Subject: Re: Remote development with neovim, tmux and SSH from macOS? Message-ID: In-Reply-To: References: <6-vIFoipZvllLfrAwkIMmQ72B1mFYwcw7IRtdlG0JxM_2y5iN2WPWwMF1PVY8YWHw4jrx270Rg3PlA2qaVeJIPyudjoOhd-kdGd1Bt0M7m4=@protonmail.com> Feedback-ID: 24074989:user:proton List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------b5ff9e7ed4eda299d9f4ff8094a023caf0329c4038963b0e1c9648e8172f7c86"; charset=utf-8 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH] X-Rspamd-Queue-Id: 4Tlrlf2KPVz4T49 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------b5ff9e7ed4eda299d9f4ff8094a023caf0329c4038963b0e1c9648e8172f7c86 Content-Type: multipart/mixed;boundary=---------------------8fd02b87f9c1c2d3aa0e5ff8881fce22 -----------------------8fd02b87f9c1c2d3aa0e5ff8881fce22 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 On Wednesday, 28 February 2024 at 22:22, Pete Wright = wrote: > = > = > On Wed, Feb 28, 2024 at 04:30:22PM +0000, Simon Connah wrote: > = > > I've just set up a FreeBSD server and was curious about the best pract= ices for when it comes to developing on FreeBSD? I have a Mac Studio but I= 'm not used to neovim or tmux at all and I get the feeling that learning t= hem is going to take some time. > > = > > What do you use for developing on FreeBSD servers? Unfortunately I can= 't install FreeBSD on my machine (well I can but it would be in VMware Fus= ion Pro). > = > you might want to take a look at UTM which is a pretty slick virtualizat= ion framwork for recent macOS. it uses the native macOS hypervisor, and li= ke KVM under linux uses Qemu to drive things. I've found it to be pretty p= erformant and have actively researched using it to aid with local applicat= ion development environments. > = > https://mac.getutm.app/ > = > i think there may be some gaps on running graphics under FreeBSD, but it= should give you a usable FreeBSD to hack on. You can snapshot the VMs too= which may be helpful. > = > as far as development best practicies and workflows i think it boils dow= n to what you are trying to work on. but generally speaking i see no reaso= n why you couldn't use your favorite IDE on your mac, commit changes to gi= t, then pull in the changes and build/test on your FreeBSD system. there i= s even support for CI workflows using Cirrus CI (https://cirrus-ci.org/) i= f that is of interest for you. > = > hope this helps, > -pete Thank you. That was interesting as well. I do have UTM I haven't really us= ed it but maube I wll now. My primary usage for UTM was to emulate x86_64 = and run Windows apps. But it didn't go well. I'll try it in virtualisation= mode. Simon. -----------------------8fd02b87f9c1c2d3aa0e5ff8881fce22-- --------b5ff9e7ed4eda299d9f4ff8094a023caf0329c4038963b0e1c9648e8172f7c86 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKACcFgmXgfmwJkFrvKC74ta6lFiEEXOYF9uqFRn4815bYWu8oLvi1 rqUAAKYtAQCy5xUfvIfC8+8wjQtReI49jyx5+9aUviEVnCgnTSqwpAD+IDE9 C93Skn9zBu7OL6yVjmRZYuT/Q/ZE1lym25qBgww= =1fqo -----END PGP SIGNATURE----- --------b5ff9e7ed4eda299d9f4ff8094a023caf0329c4038963b0e1c9648e8172f7c86--