<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Unix &amp;mdash; Paul Sutton</title>
    <link>https://personaljournal.ca/paulsutton/tag:Unix</link>
    <description>Personal Blog</description>
    <pubDate>Tue, 05 May 2026 14:55:42 +0000</pubDate>
    <item>
      <title>Advanced Programming in the #UNIX Environment</title>
      <link>https://personaljournal.ca/paulsutton/advanced-programming-in-the-unix-environment</link>
      <description>&lt;![CDATA[Advanced Programming in the #UNIX Environment&#xA;&#xA;This was posted to the Fediverse by Jan Schaumann, @jschauma@mstdn.social&#xA;&#xA;Course website with all sample code and exercises here:&#xA;Course videos&#xA;&#xA;Tags&#xA;&#xA;#Education,#Learning,#Unix,#Advanced,#Programming&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Advanced Programming in the <a href="/paulsutton/tag:UNIX" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">UNIX</span></a> Environment</p>

<p>This was posted to the <a href="https://axbom.medium.com/the-many-branches-of-the-fediverse-156dfb71f82f" rel="nofollow">Fediverse</a> by Jan Schaumann, <a href="https://personaljournal.ca/@/jschauma@mstdn.social" class="u-url mention" rel="nofollow">@<span>jschauma@mstdn.social</span></a></p>
<ul><li><a href="https://stevens.netmeister.org/631/" rel="nofollow">Course website</a> with all sample code and exercises here:</li>
<li><a href="https://www.youtube.com/c/cs631apue" rel="nofollow">Course videos</a></li></ul>

<p><strong>Tags</strong></p>

<p><a href="/paulsutton/tag:Education" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Education</span></a>,<a href="/paulsutton/tag:Learning" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Learning</span></a>,<a href="/paulsutton/tag:Unix" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Unix</span></a>,<a href="/paulsutton/tag:Advanced" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Advanced</span></a>,<a href="/paulsutton/tag:Programming" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Programming</span></a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/advanced-programming-in-the-unix-environment</guid>
      <pubDate>Thu, 16 Nov 2023 18:00:01 +0000</pubDate>
    </item>
    <item>
      <title>Nethack vultures-eye 1</title>
      <link>https://personaljournal.ca/paulsutton/nethack-vultures-eye-1</link>
      <description>&lt;![CDATA[Nethack vultures-eye 1&#xA;&#xA;Nethack is a very popular game amongst some techy groups.  Normal Nethack is a text based game.  However vultures-eye, adds some basic 3d isometric graphics to the game, making it more accessible to people.  &#xA;&#xA;As you explore, you come across, monsters and other residents in the dungeon, some are friendly others not so, you need to discover all this as you explore the many rooms, corridors in the game. &#xA;&#xA;nethack&#xA;&#xA;Depending on your character type you get a companion with you.  Here the player is a knight accompanied by a horse. &#xA;&#xA;I have the game working on FreeBSD, so these notes / screenshots are copied over from my FreeBSD install. &#xA;&#xA;nethack&#xA;&#xA;nethack&#xA;&#xA;Gold (zorkomids) are the main currency, you need this to buy new goods, and receive this if you sell something. &#xA;&#xA;nethack&#xA;&#xA;Shops are a place to buy or sell goods.&#xA; &#xA;nethack&#xA;&#xA;You can see your full inventory,  detailing what you are carrying, wearing or how much currency you have.&#xA;&#xA;nethack&#xA;&#xA;While the game maps help you keep track of where you are. &#xA;&#xA;nethack&#xA;&#xA;nethack&#xA;&#xA;nethack&#xA;&#xA;nethack&#xA;&#xA;When you die, you can view all the stats on how you performed during the game.  &#xA;&#xA;nethack&#xA;&#xA;nethack&#xA;&#xA;One of the many stairways down to the next level of the dungeon,  you can go up and down these as you wish.  The upper most level (1) has a stairway to the outside world,  choose this, your game ends.  Onwards and downwards, it has to be. &#xA;&#xA;CONFIGURATION&#xA;&#xA;Under FreeBSD the main configuration file can be found at ./vulture/vulture.conf&#xA;&#xA;However other options can be found in /usr/local/lib/vulture-nethackdir/config&#xA;&#xA;vulture.conf.&#xA;&#xA;So taking a look at the local configuration file, you can set up screensize, sound, sound effects etc.  This is pretty much self explanatory. &#xA;&#xA;screenxsize=800&#xA;screenysize=600&#xA;fullscreen=0&#xA;playmusic=1&#xA;playeffects=1&#xA;wallstyle=full&#xA;wallopacity=0.8&#xA;recenteraftermovement=1&#xA;showhelpbar=1&#xA;showactionbar=1&#xA;showminimap=1&#xA;usestandardinventory=0&#xA;usestandardobjmenus=0&#xA;messagelines=5&#xA;nokeytranslation=0&#xA;highlightcursorsquare=1&#xA;debug=0&#xA;macro1=n100.&#xA;macro2=n20s&#xA;&#xA;Resources&#xA;&#xA;Nethack Website&#xA;Nethack Wiki&#xA;&#xA;irc - #nethack on freenode&#xA;usenet - rec.games.roguelike.nethack &#xA;&#xA;#games, #rogue, #roguelike, #nethack, #vultureseye, #unix,#freebsd, #dungeon, #crawler, #VultureNethack&#xA;&#xA;---&#xA;&#xA;cc-by logo&#xA;&#xA;Licenced under Attribution 4.0 International (CC BY 4.0)&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Nethack vultures-eye 1</p>

<p>Nethack is a very popular game amongst some techy groups.  Normal Nethack is a text based game.  However vultures-eye, adds some basic 3d isometric graphics to the game, making it more accessible to people.</p>

<p>As you explore, you come across, monsters and other residents in the dungeon, some are friendly others not so, you need to discover all this as you explore the many rooms, corridors in the game.</p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack1.png" alt="nethack"></p>

<p>Depending on your character type you get a companion with you.  Here the player is a knight accompanied by a horse.</p>

<p>I have the game working on FreeBSD, so these notes / screenshots are copied over from my FreeBSD install.</p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack3.png" alt="nethack"></p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack6.png" alt="nethack"></p>

<p>Gold (zorkomids) are the main currency, you need this to buy new goods, and receive this if you sell something.</p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack10.png" alt="nethack"></p>

<p>Shops are a place to buy or sell goods.</p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack11.png" alt="nethack"></p>

<p>You can see your full inventory,  detailing what you are carrying, wearing or how much currency you have.</p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack17.png" alt="nethack"></p>

<p>While the game maps help you keep track of where you are.</p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack7.png" alt="nethack"></p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack8.png" alt="nethack"></p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack9.png" alt="nethack"></p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack12.png" alt="nethack"></p>

<p>When you die, you can view all the stats on how you performed during the game.</p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack13.png" alt="nethack"></p>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/nethack/nethack14.png" alt="nethack"></p>

<p>One of the many stairways down to the next level of the dungeon,  you can go up and down these as you wish.  The upper most level (1) has a stairway to the outside world,  choose this, your game ends.  Onwards and downwards, it has to be.</p>

<p><strong>CONFIGURATION</strong></p>

<p>Under FreeBSD the main configuration file can be found at ./vulture/vulture.conf</p>

<p>However other options can be found in /usr/local/lib/vulture-nethackdir/config</p>

<p>vulture.conf.</p>

<p>So taking a look at the local configuration file, you can set up screensize, sound, sound effects etc.  This is pretty much self explanatory.</p>

<pre><code>screen_xsize=800
screen_ysize=600
fullscreen=0
play_music=1
play_effects=1
wall_style=full
wall_opacity=0.8
recenter_after_movement=1
show_helpbar=1
show_actionbar=1
show_minimap=1
use_standard_inventory=0
use_standard_objmenus=0
messagelines=5
no_key_translation=0
highlight_cursor_square=1
debug=0
macro1=n100.
macro2=n20s

</code></pre>

<p><strong>Resources</strong></p>
<ul><li><a href="http://nethack.org/" rel="nofollow">Nethack Website</a></li>

<li><p><a href="https://nethackwiki.com/wiki/Main_Page" rel="nofollow">Nethack Wiki</a></p></li>

<li><p>irc – <a href="/paulsutton/tag:nethack" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">nethack</span></a> on <a href="https://www.freenode.net" rel="nofollow">freenode</a></p></li>

<li><p>usenet – rec.games.roguelike.nethack</p></li></ul>

<p><a href="/paulsutton/tag:games" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">games</span></a>, <a href="/paulsutton/tag:rogue" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">rogue</span></a>, <a href="/paulsutton/tag:roguelike" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">roguelike</span></a>, <a href="/paulsutton/tag:nethack" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">nethack</span></a>, <a href="/paulsutton/tag:vultureseye" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">vultureseye</span></a>, <a href="/paulsutton/tag:unix" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">unix</span></a>,<a href="/paulsutton/tag:freebsd" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">freebsd</span></a>, <a href="/paulsutton/tag:dungeon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">dungeon</span></a>, <a href="/paulsutton/tag:crawler" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">crawler</span></a>, <a href="/paulsutton/tag:VultureNethack" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">VultureNethack</span></a></p>

<hr>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/88x31.png" alt="cc-by logo"></p>

<p><a href="https://creativecommons.org/licenses/by/4.0/" rel="nofollow">Licenced under Attribution 4.0 International (CC BY 4.0)</a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/nethack-vultures-eye-1</guid>
      <pubDate>Sat, 01 May 2021 11:04:14 +0000</pubDate>
    </item>
    <item>
      <title>MidnightBSD</title>
      <link>https://personaljournal.ca/paulsutton/midnightbsd</link>
      <description>&lt;![CDATA[MidnightBSD&#xA;&#xA;I decided to have a go at installing MidnightBSD so I can start playing Nethack Vulture, the game isn&#39;t available, however it does, help you install as part of the install process which is really nice.&#xA;&#xA;REFERENCES&#xA;&#xA;MidnightBSD&#xA;&#xA;TAGS&#xA;&#xA;#Unix,#FreeBSD,#MidNightBSD&#xA;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xA;&#xA;img src=&#34;https://socialhub.activitypub.rocks/uploads/default/original/1X/6aac842b7ff5c58385a02f3a131c259281be88c8.png&#34; target=&#34;_blank&#34; &#xA;&#xA;a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-sa/4.0/&#34;img alt=&#34;Creative Commons Licence&#34; style=&#34;border-width:0&#34; src=&#34;https://i.creativecommons.org/l/by-sa/4.0/88x31.png&#34; //abr /This work is licensed under a a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-sa/4.0/&#34;Creative Commons Attribution-ShareAlike 4.0 International License/a&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>MidnightBSD</p>

<p>I decided to have a go at installing MidnightBSD so I can start playing Nethack Vulture, the game isn&#39;t available, however it does, help you install as part of the install process which is really nice.</p>

<p><strong>REFERENCES</strong></p>
<ul><li><a href="http://www.midnightbsd.org/" rel="nofollow">MidnightBSD</a></li></ul>

<p><strong>TAGS</strong></p>

<p><a href="/paulsutton/tag:Unix" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Unix</span></a>,<a href="/paulsutton/tag:FreeBSD" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">FreeBSD</span></a>,<a href="/paulsutton/tag:MidNightBSD" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">MidNightBSD</span></a></p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>

<p><a href="https://torresjrjr.com/archive/2020-07-19-guide-to-the-fediverse" rel="nofollow"><img src="https://socialhub.activitypub.rocks/uploads/default/original/1X/6aac842b7ff5c58385a02f3a131c259281be88c8.png"></a></p>

<p><a href="http://creativecommons.org/licenses/by-sa/4.0/" rel="nofollow"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"/></a><br/>This work is licensed under a <a href="http://creativecommons.org/licenses/by-sa/4.0/" rel="nofollow">Creative Commons Attribution-ShareAlike 4.0 International License</a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/midnightbsd</guid>
      <pubDate>Fri, 19 Mar 2021 21:37:28 +0000</pubDate>
    </item>
    <item>
      <title>APG password generator</title>
      <link>https://personaljournal.ca/paulsutton/apg-password-generator</link>
      <description>&lt;![CDATA[APG password generator&#xA;&#xA;Debian comes with a useful command line utility called apg for generating passwords, based on criteria set when it is run.&#xA;&#xA;You may need to install with apt install apg&#xA;&#xA;Running just apg produces&#xA;&#xA;ag&#34;OnAub3 (ag-QUOTATIONMARK-On-Aub-THREE)&#xA;yissheav-Flas6 (yis-sheav-HYPHEN-Flas-SIX)&#xA;rekOfDot6ly (rek-UNDERSCORE-Of-Dot-SIX-ly)&#xA;yorthIs0Ot; (yorth-Is-ZERO-Ot-SEMICOLON)&#xA;NapOl{aj6 (Nap-Ol-LEFT_BRACE-aj-SIX)&#xA;9Knyhik. (NINE-Kny-hik-PERIOD)&#xA;&#xA;Where as using -m 16 produces a min length of 16 characters&#xA;&#xA;apg -m 16&#xA;&#xA;cryhejIryoatEpBi&#xA;DuVospewjopOtsye&#xA;veldIc@Ogguckeys&#xA;IalNexBeckOdjav1&#xA;drureroarAkucEdd&#xA;WinquivadLitsUk4&#xA;&#xA;As a good password should be made up of&#xA;Letters (upper and lower case)&#xA;Numbers (0-9)&#xA;Other characters ( !&#34;£$()%^&amp;* )&#xA;&#xA;Then you need to run something like&#xA;&#xA;apg  -M sncl -m 16 -n 5&#xA;&#xA;apg  -M sncl -m 16 -n 5 &#xA;EgUrr1slaibzydAr&#xA;IrgiOcyibgauvKan&#xA;jemUndafMinvieHo&#xA;Fliadweuldyeebup&#xA;enyaighKuedoobr3&#xA;&#xA;The program man page also gives more info and an example shell script to help with the process.&#xA;&#xA;man apg&#xA;&#xA;shell script&#xA;&#xA;[begin]----  pwgen.sh&#xA;       #!/bin/sh&#xA;       /usr/local/bin/apg -m 8 -x 12 -s&#xA;       [ end ]----  pwgen.sh&#xA;&#xA;#linux,#debian,#shell,#password,#generation,#security,#help,#scripts,#secure,#unix,#gpl,#fsf,#freesoftware,#manpage,&#xA;#manual,#web,#internet,#links,#letters,#numbers,&#xA;#alphanumeric,#specialcharacters&#xA;&#xA;a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-sa/4.0/&#34;img alt=&#34;Creative Commons Licence&#34; style=&#34;border-width:0&#34; src=&#34;https://i.creativecommons.org/l/by-sa/4.0/88x31.png&#34; //abr /This work is licensed under a a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-sa/4.0/&#34;Creative Commons Attribution-ShareAlike 4.0 International License/a&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>APG password generator</p>

<p>Debian comes with a useful command line utility called apg for generating passwords, based on criteria set when it is run.</p>

<p>You may need to install with <strong>apt install apg</strong></p>

<p>Running just <strong>apg</strong> produces</p>

<pre><code>
ag&#34;OnAub3 (ag-QUOTATION_MARK-On-Aub-THREE)
yissheav-Flas6 (yis-sheav-HYPHEN-Flas-SIX)
rek_OfDot6ly (rek-UNDERSCORE-Of-Dot-SIX-ly)
yorthIs0Ot; (yorth-Is-ZERO-Ot-SEMICOLON)
NapOl{aj6 (Nap-Ol-LEFT_BRACE-aj-SIX)
9Knyhik. (NINE-Kny-hik-PERIOD)

</code></pre>

<p>Where as using -m 16 produces a min length of 16 characters</p>

<p><strong>apg -m 16</strong></p>

<pre><code>
cryhejIryoatEpBi
DuVospewjopOtsye
veldIc@Ogguckeys
IalNexBeckOdjav1
drureroarAkucEdd
WinquivadLitsUk4

</code></pre>

<p>As a good password should be made up of
Letters (upper and lower case)
Numbers (0-9)
Other characters ( !“£$()%^&amp;* )</p>

<p>Then you need to run something like</p>

<p><strong>apg  -M sncl -m 16 -n 5</strong></p>

<pre><code>apg  -M sncl -m 16 -n 5 
EgUrr1slaibzydAr
IrgiOcyibgauvKan
jemUndafMinvieHo
Fliadweuldyeebup
enyaighKuedoobr3

</code></pre>

<p>The program man page also gives more info and an example shell script to help with the process.</p>

<p><strong>man apg</strong></p>

<p>shell script</p>

<pre><code>[begin]----&gt; pwgen.sh
       #!/bin/sh
       /usr/local/bin/apg -m 8 -x 12 -s
       [ end ]----&gt; pwgen.sh
</code></pre>

<p><a href="/paulsutton/tag:linux" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">linux</span></a>,<a href="/paulsutton/tag:debian" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">debian</span></a>,<a href="/paulsutton/tag:shell" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">shell</span></a>,<a href="/paulsutton/tag:password" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">password</span></a>,<a href="/paulsutton/tag:generation" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">generation</span></a>,<a href="/paulsutton/tag:security" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">security</span></a>,<a href="/paulsutton/tag:help" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">help</span></a>,<a href="/paulsutton/tag:scripts" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">scripts</span></a>,<a href="/paulsutton/tag:secure" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">secure</span></a>,<a href="/paulsutton/tag:unix" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">unix</span></a>,<a href="/paulsutton/tag:gpl" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">gpl</span></a>,<a href="/paulsutton/tag:fsf" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">fsf</span></a>,<a href="/paulsutton/tag:freesoftware" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">freesoftware</span></a>,<a href="/paulsutton/tag:manpage" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">manpage</span></a>,
<a href="/paulsutton/tag:manual" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">manual</span></a>,<a href="/paulsutton/tag:web" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">web</span></a>,<a href="/paulsutton/tag:internet" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">internet</span></a>,<a href="/paulsutton/tag:links" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">links</span></a>,<a href="/paulsutton/tag:letters" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">letters</span></a>,<a href="/paulsutton/tag:numbers" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">numbers</span></a>,
<a href="/paulsutton/tag:alphanumeric" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">alphanumeric</span></a>,<a href="/paulsutton/tag:specialcharacters" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">specialcharacters</span></a></p>

<p><a href="http://creativecommons.org/licenses/by-sa/4.0/" rel="nofollow"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"/></a><br/>This work is licensed under a <a href="http://creativecommons.org/licenses/by-sa/4.0/" rel="nofollow">Creative Commons Attribution-ShareAlike 4.0 International License</a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/apg-password-generator</guid>
      <pubDate>Fri, 11 Dec 2020 07:30:00 +0000</pubDate>
    </item>
    <item>
      <title>FreeBSD 1</title>
      <link>https://personaljournal.ca/paulsutton/free-bsd-1</link>
      <description>&lt;![CDATA[FreeBSD 1&#xA;&#xA;Further to my post on Vultures-eye earlier .  I spent some time last night installing [FreeBSD](&#xA;https://www.freebsd.org/) with the view to getting the game working.   The page on freshports.&#xA;&#xA;I also joined #freebsd on irc.freenode.net to ask for any help.&#xA;&#xA;Once I had downloaded the ISO file and created an install DVD.  I set about installing it.  Text based installer is easy to use.  Very similar to Slackware.&#xA;&#xA;Once installed,  I set about installing nethack with the package manager.  (pkg  install &lt;packagename ) Once installed  I realised that I probably need to run this through X.  &#xA;&#xA;I then set about installing X11 on the target netbook.  This was painless, once installed started X11 with startx then ran the vulture-nethack game&#xA;&#xA;Worth noting the config file can be found in /usr/home/user/.vulture&#xA;as:&#xA;vulture.conf&#xA;&#xA;You may want to:&#xA;Change the game window size &#xA;Turn off music if you want to play the game and :-&#xA;&#xA;watch a video&#xA;listen to other music.&#xA;&#xA;The game worked fine, so I can get back to playing again.&#xA;&#xA;The only issue I did seem to have was setting up a normal user account, this failed during the install process, not quite sure why, but I just added a new  user with adduser from the root prompt.   One thing to note about BSD is the user home director is in a different place. But that much different to under Linux. &#xA;&#xA;I also installed prboom which is a free Doom game.&#xA;&#xA;Given that I have never actually touched BSD at all.   The ease of use is down to the great work of the developer team(s). &#xA;&#xA;FreeBSD Handbook&#xA;&#xA;#freebsd, #unix, #nethack, #technology, #computing, #irc, #freenode, #support, #install, #configure, #x11, #setup, #netbook&#xA;&#xA;You can find me on Friendica at zleap@social.isurf.ca&#xA;&#xA;---&#xA;&#xA;cc-by logo&#xA;&#xA;Licenced under Attribution 4.0 International (CC BY 4.0)&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>FreeBSD 1</p>

<p>Further to my post on <a href="https://personaljournal.ca/paulsutton/nethack-vultures-eye" rel="nofollow">Vultures-eye</a> earlier .  I spent some time last night installing <a href="https://www.freebsd.org/" rel="nofollow">FreeBSD</a> with the view to getting the game working.   The page on <a href="https://www.freshports.org/" rel="nofollow">freshports</a>.</p>

<p>I also joined <a href="/paulsutton/tag:freebsd" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">freebsd</span></a> on irc.freenode.net to ask for any help.</p>

<p>Once I had downloaded the ISO file and created an install DVD.  I set about installing it.  Text based installer is easy to use.  Very similar to Slackware.</p>

<p>Once installed,  I set about installing nethack with the package manager.  (<em>pkg  install &lt;packagename</em> ) Once installed  I realised that I probably need to run this through X.</p>

<p>I then set about installing X11 on the target netbook.  This was painless, once installed started X11 with <em>startx</em> then ran the <em>vulture-nethack</em> game</p>

<p>Worth noting the config file can be found in <strong>/usr/home/user/.vulture</strong>
as:
<strong>vulture.conf</strong></p>

<p>You may want to:
Change the game window size
Turn off music if you want to play the game and :-</p>
<ul><li>watch a video</li>
<li>listen to other music.</li></ul>

<p>The game worked fine, so I can get back to playing again.</p>

<p>The only issue I did seem to have was setting up a normal user account, this failed during the install process, not quite sure why, but I just added a new  user with <em>adduser</em> from the root prompt.   One thing to note about BSD is the user home director is in a different place. But that much different to under Linux.</p>

<p>I also installed prboom which is a free Doom game.</p>

<p>Given that I have never actually touched BSD at all.   The ease of use is down to the great work of the developer team(s).</p>

<p><a href="https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/" rel="nofollow">FreeBSD Handbook</a></p>

<p><a href="/paulsutton/tag:freebsd" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">freebsd</span></a>, <a href="/paulsutton/tag:unix" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">unix</span></a>, <a href="/paulsutton/tag:nethack" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">nethack</span></a>, <a href="/paulsutton/tag:technology" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">technology</span></a>, <a href="/paulsutton/tag:computing" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">computing</span></a>, <a href="/paulsutton/tag:irc" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">irc</span></a>, <a href="/paulsutton/tag:freenode" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">freenode</span></a>, <a href="/paulsutton/tag:support" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">support</span></a>, <a href="/paulsutton/tag:install" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">install</span></a>, <a href="/paulsutton/tag:configure" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">configure</span></a>, <a href="/paulsutton/tag:x11" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">x11</span></a>, <a href="/paulsutton/tag:setup" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">setup</span></a>, <a href="/paulsutton/tag:netbook" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">netbook</span></a></p>

<p><a href="https://social.isurf.ca/profile/zleap" rel="nofollow">You can find me on Friendica at zleap@social.isurf.ca</a></p>

<hr>

<p><img src="https://raw.githubusercontent.com/zleap/blogmedia/master/88x31.png" alt="cc-by logo"></p>

<p><a href="https://creativecommons.org/licenses/by/4.0/" rel="nofollow">Licenced under Attribution 4.0 International (CC BY 4.0)</a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/free-bsd-1</guid>
      <pubDate>Fri, 21 Feb 2020 11:55:08 +0000</pubDate>
    </item>
  </channel>
</rss>