Categories
DragonflyBSD editor linux OpenBSD

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.

Categories
DragonflyBSD Java

Bleeding edge Netbeans 11.3 on DragonflyBSD 5.8

To install netbeans 11.3 do “pkg install netbeans” on your root terminal. It will take time to download 292MB netbeans + 60MB openjdk8 packages. After done installing dont forget to set PATH and JAVA_HOME environment variables. Edit your .profile file on home directory and add /usr/local/openjdk8 to “PATH=xxx:/usr/local/openjdk8; export PATH” statement. Also create JAVA_HOME=/usr/local/openjdk8; export JAVA_HOME.

Categories
DragonflyBSD

LXDE running on DragonflyBSD 5.8

After installing dragonflybsd 5.8 on your laptop, you can install LXDE desktop using pkg command while connected to internet.

pkg install xorg

pkg install lxde-meta

edit your .xinitrc and put exec startlxde.

startx

Done !

Categories
DragonflyBSD

Why DragonflyBSD article by Siju George

A long ago article about dragonflybsd hammer file system working …

Categories
DragonflyBSD Java

OpenJDK 11 on DragonflyBSD 5.8

Categories
DragonflyBSD

Getting XFCE4 on DragonflyBSD 5.8

Trying this on my VirtualBox, after installing the new released dflybsd 5.8

login as root

pkg install xorg

pkg install xfce

edit .xinitrc on your home directory and fill it with “exec startxfce4”

startx

 

voila !

Categories
DragonflyBSD

DragonflyBSD 5.0 released !

Good news from BSD land, DragonflyBSD 5.0 has been released 16 oct 2017. HAMMER2 file system available to user to try !

 

Categories
DragonflyBSD editor html css javasript jruby OpenBSD ruby

Bluefish editor for programming

If you a programmer you can use vi or vim or nano to code. Sometimes it just not enough feature or give comfort. I use an editor called bluefish. Install it from package like this :

For openbsd do pkg_add bluefish

If installing for openbsd dont forget to set your PKG_PATH env variable.

For Dragonfly BSD do pkg install bluefish

Bluefish have a good support for html tags and ruby language. See bluefish screenshot below.

Happy coding all !