OpenBSD 6.8 released !

Hi OpenBSD 6.7 users lets fire up our sysupgrade command !

Seamless upgrade experience once more time from OpenBSD.

Happy 25th Anniversary to OpenBSD.

Netbeans 12 on OpenBSD 6.7

I have some disappointment on netbeans 11, because plugin activation problems i face. Netbeans 12 i feel different, no errors on plugin activation. Beginning my trials for Netbeans 12 LTS (yes its a long term support version), i downloaded a platform independent zip file and extract it on my home folder. I saw on the website that older version no longer supported, including Netbeans 11 ???

This trials run on OpenBSD 6.7 laptop. Open terminal and cd to netbeans12/bin. Execute ./netbeans& [enter]. The Netbeans 12 run with JDK 8 just fine (oldest JDK version supported by Netbeans 12). First time first , activate all installed plugin to see if any errors happen. No errors, its good down the road. Right away Netbeans 12 do a task of downloading repository, hmmm. This downloading stuff is new and it takes long time to complete, i leave it over night, maybe just my slow old laptop cant handle it :). So far its a positive experience and i will say its a good job to the developers.

HP Ink Tank Wireless 410 Printer on OpenBSD 6.7

Recently i have successfully printing a test page from my HP printer on my OpenBSD 6.7 laptop after reading and practicing an article on website of mp-5 text editor (see it on my other post). I use following step.

1. add required packages using pkg_add cups gtk+3-cups hpcups hplip.

2. edit /etc/rc.conf.local as follow on pkg_scripts section.

3. restart openbsd. Continue reading “HP Ink Tank Wireless 410 Printer on OpenBSD 6.7”

Minimum Profit : A Programmer Text Editor

Minimum Profit is a text editor for programmer available to download from https://triptico.com/software/mp.html. I accidentally found this software from article related to OpenBSD and the author is the creator of this mp editor. The downloads are available in source and windows executable (Wow).

I managed to compile mp 5.38 on debian 10 using ncursesw driver which is already available on my laptop. Compilation step as follow.

Continue reading “Minimum Profit : A Programmer Text Editor”

Upgrade OpenBSD 6.6 to 6.7

This is my first time upgrading OpenBSD. Usually i do full reinstall but it just too time wasting, so i tried these step.

  1. sysupgrade
  2. pkg_add -u

sysupgrade will update your OpenBSD by rebooting and download installation package from internet (i think). Then pkg_add -u will update all of installed program (take a long time). Its a successful upgrade. Thanks to OpenBSD developer who make it so seamless and work beautifully. Great work.

Create text file with ed

Unix alike system have ed for editing text file which is i feel strange at first. I learned some time ago to create small text file out of curiosity.

Lets try by creating a text file containing 3 lines.

  1. type ed on terminal
  2. type a then enter (a is append command in ed)
  3. type your text file content.
  4. To end input mode type . then enter on a line.
  5. Type w filename.txt then enter to save to a file.
  6. Type q to quit from ed.

Here we will show in a terminal.

OpenBSD Virtualization in Action

BSD’s recently have progress for things called virtualization. FreeBSD have BHyve, NETBSD have NVMM and OpenBSD have VMM. OpenBSD VMM have been around for 1-2 years maybe and i decided to try it now. My laptop running OpenBSD 6.6 with 4GB of RAM which is having enough spare RAM to launch a VM. First thing i download OpenBSD 6.6 ISO image. My first VM will be OpenBSD guest to make things simple.

Next, we need to enable VMD through /etc/rc.conf.local by adding “vmd_flags=”. We can also start vmd immediatelly using “rcctl start vmd”.

Fossil version control

Recently bitbucket accounce that they will discontinue mercurial support on their hosting by 2020. This event make me move my existing mercurial repo on bitbucket to git which they also support.

Recently i also learning some about Tcl and come across that Tcl project use fossil as their version control. But fossil is more than version control !  Its also unique by using sqlite database as its repository storage. No wonder because fossil is created to support sqlite project by its creator D Richard Hipp.

So i came to study fossil SCM on its website and installing it on my linux, openbsd, and windows laptop. Installing on openbsd is done by pkg_add fossil. Fossil website also provide fossil as a precompiled binary file and all you do to install is by copying it to your path. Its simple and powerful.

Go to fossil website :

https://www.fossil-scm.org/home