hisham hm

🔗 First time playing with OpenBSD

A list of notes on my first experience with OpenBSD:

* It wasn’t obvious at first which file to download, navigating their FTP site. I ended up with cd58.iso, which was the right choice. A tiny 7.8MB ISO!
* As soon as I typed “OpenBSD” as the VM name in VirtualBox, it gave me OpenBSD defaults. It defaulted to 64MB of RAM (only!), but I chose 256M, and the default 2G disk image.
* The first boot gave me a few options, including “Install” and “Autoinstall”. I chose “Autoinstall” since I thought that would install with the defaults, but it looked for an installation script in the local network (and obviously didn’t find it). Reboot, “Install” and off we go.
* No Dvorak options in the list of keyboards in the installer.
* I went with the default options and installed all offered packages (it offered me a list of coarse-grained bundles). It asked me about creating users, partitions, configuring network and if I wanted to run sshd by default.
* To enable Dvorak, the internet told me to do kbd us.dvorak nice.
* To make it permanent, I just grepped /etc for kbd and found out that cat us.dvorak > /etc/kbdtype would suffice.
* To install things, become root and then use pkg_add. For example: pkg_add wget
* By default it includes df but not free.
* To get color in the terminal, set TERM=wsvt25. htop showed in its usual colors!
* The default PATH includes the current (.) directory! Take that, Linux status quo!
* iconv is installed under /usr/local, and its library exports symbols with names such as libiconv_open instead of the usual iconv_open, which fools the typical AC_CHECK_LIB test in Autoconf. (In the source code, iconv_open works, so I guess iconv.h uses #define to translate the name. Added a hack to Dit to make it build cleanly out-of-the-box.

🔗 htop 2.0 released!

This week I finally released htop 2.0.0!

What’s new in htop 2.0

Since version 2.0, htop is now cross-platform!
Check out the video and slides of my presentation at FOSDEM 2016
about how this came to be. This release includes code supporting Linux, FreeBSD, OpenBSD and Mac OS X.

There are also, of course, some new features:

…And of course, lots of other tweaks and fixes!


The changelog with the main new changes follows below. Special thanks
to everyone who contributed for this release, through bug reports, bug
fixes, new features and financial support for the platform abstraction
layer project!

🔗 Sexta-feira, 12 de fevereiro

Metrô do Rio, tarde de sexta-feira pós-carnaval. (Pós? O fim de semana está aí pra quem ainda tiver energia.)

Um grupo de quatro rapazes daquele estilo “carioca sarado”, bronzeados, camisetas regatas, óculos escuros, latinha de cerveja na mão, entram no carro. Batendo papo, dando risadas. Mas sem fazer muito escarcéu, como se cientes de que, para muita gente não tão sortuda quanto eles, o carnaval já acabou.

O trem chega na minha parada. Levanto para sair. Enquanto eu chegava na porta, um dos rapazes lê a estampa nas costas da minha camiseta e grita:

— Software livre!

Eu nem me viro, apenas ergo o braço direito com o punho cerrado, aquele antigo gesto de irmandade de tantos grupos de resistência.

Os rapazes não resistem e fazem um pequeno escarcéu soltando gritos de aprovação enquanto eu saio do trem.

Latest posts


Admin area