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!

  • htop-2.0.0.tar.gz
  • MD5 06f76c7d644ce8ae611c9feb10439a30
  • SHA-256 d15ca2a0abd6d91d6d17fd685043929cfe7aa91199a9f4b3ebbb370a2c2424b5

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:

  • If you’re using NCurses 6, htop will also support your mouse wheel for scrolling.
  • Moving meters and columns around in the setup screen is a lot more comfortable now.
  • You can now press “e” to see the set of environment variables for a process.
  • The “graph” mode for meters was revamped, inspired by James Hall’s vtop.

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

Changelog

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!

  • Platform abstraction layer
  • Initial FreeBSD support
  • Initial Mac OS X support
    (thanks to David Hunt)
  • Swap meter for Mac OSX
    (thanks to Ștefan Rusu)
  • OpenBSD port
    (thanks to Michael McConville)
  • FreeBSD support improvements
    (thanks to Martin Misuth)
  • Support for NCurses 6 ABI, including mouse wheel support
  • Much improved mouse responsiveness
  • Process environment variables screen
    (thanks to Michael Klein)
  • Higher-resolution UTF-8 based Graph mode
    (Thanks to James Hall from vtop for the idea!)
  • Show program path settings
    (thanks to Tobias Geerinckx-Rice)
  • BUGFIX: Fix crash when scrolling an empty filtered list.
  • Use dynamic units for text display, and several fixes
    (thanks to Christian Hesse)
  • BUGFIX: fix error caused by overflow in usertime calculation.
    (thanks to Patrick Marlier)
  • Catch all memory allocation errors
    (thanks to Michael McConville for the push)
  • Several tweaks and bugfixes
    (See the Git log for details and contributors!)

🔗 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.


Follow

🐘 MastodonRSS (English), RSS (português), RSS (todos / all)


Last 10 entries


Search


Admin