<?xml version="1.0" encoding="utf-8"?> 
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <generator uri="https://gohugo.io/" version="0.78.2">Hugo</generator><title type="html"><![CDATA[gaming on Roy's Blog]]></title>
    
        <subtitle type="html"><![CDATA[Mainly about tech stuff I have a hand in]]></subtitle>
    
    
    
            <link href="https://roy.marples.name/blog/tags/gaming/" rel="alternate" type="text/html" title="HTML" />
            <link href="https://roy.marples.name/blog/tags/gaming/atom.xml" rel="self" type="application/atom+xml" title="Atom" />
            <link href="https://roy.marples.name/blog/tags/gaming/feed.json" rel="alternate" type="application/json" title="Json" />
    <updated>2021-03-12T11:08:32+00:00</updated>
    
    <id>https://roy.marples.name/blog/tags/gaming/</id>
        
        <entry>
            <title type="html"><![CDATA[NetBSD curses ripoffline improvements]]></title>
            <link href="https://roy.marples.name/blog/posts/netbsd_curses_ripoffline_improvements/?utm_source=atom_feed" rel="alternate" type="text/html"  hreflang="en" />
            <id>https://roy.marples.name/blog/posts/netbsd_curses_ripoffline_improvements/</id>
            
            <published>2018-10-03T17:30:00+00:00</published>
            <updated>2018-10-03T17:30:00+00:00</updated>
            
            
            <content type="html"><![CDATA[<p>I implemented <a href="http://pubs.opengroup.org/onlinepubs/7908799/xcurses/ripoffline.html">ripoffline(3)</a> in NetBSD and it shipped in-8.
It now transpires there were a few problems with the implementation, mainly in regards to screen resizing, which is an extension to POSIX, but supported by <a href="https://invisible-island.net/ncurses/man/resizeterm.3x.html">ncurses</a> and <a href="https://github.com/wmcbrine/PDCurses">PDCurses</a>.</p>
<p>Many improvements have been made with regards to compability with NetBSD and the others, but there are the following caveats:</p>
<ul>
<li>NetBSD will only resize stdscr, curscr and virtscr windows (like PDCurses)</li>
<li>NetBSD clears the window when resized</li>
<li>NetBSD will re-size and re-position the ripped off lines (like ncurses)</li>
<li>NetBSD will not change LINES when ripoffline is called and may offset stdscr to it&rsquo;s relative position on the screen. This means that portable application should check <a href="http://pubs.opengroup.org/onlinepubs/7908799/xcurses/getbegyx.html">getbegyx and getmaxyx</a> for the size and location of stdscr.</li>
</ul>
<p>The expectation is that the client will re-draw all windows, including ripped off windows on a KEY_RESIZE event.
It&rsquo;s also expected that the client will re-size any other windows as it has a clearer idea of where things should be on the screen to it&rsquo;s proportion rather than curses guesstimating.</p>
<p>Now, the very colourful <a href="https://en.wikipedia.org/wiki/Roguelike">Roguelike</a> game <a href="https://github.com/jaldhar/AitDoB">Ascent into the Depths of Beyond</a> now works on NetBSD <a href="https://github.com/jaldhar/AitDoB/pull/1">with a minor patch</a></p>
]]></content>
            
                 
                    
                         
                        
                            
                             
                                <category scheme="https://roy.marples.name/blog/tags/netbsd" term="netbsd" label="NetBSD" />
                             
                                <category scheme="https://roy.marples.name/blog/tags/curses" term="curses" label="curses" />
                             
                                <category scheme="https://roy.marples.name/blog/tags/gaming" term="gaming" label="gaming" />
                            
                        
                    
                
            
        </entry>
    
        
        <entry>
            <title type="html"><![CDATA[dhcpcd gains DHCPv6 INFORM support and other things]]></title>
            <link href="https://roy.marples.name/blog/posts/dhcpcd_gains_dhcpv6_inform_support_and_other_things/?utm_source=atom_feed" rel="alternate" type="text/html"  hreflang="en" />
            <id>https://roy.marples.name/blog/posts/dhcpcd_gains_dhcpv6_inform_support_and_other_things/</id>
            
            <published>2012-10-13T11:16:00+00:00</published>
            <updated>2012-10-13T11:16:00+00:00</updated>
            
            
            <content type="html"><![CDATA[<p>It&rsquo;s been an eventful two years of not blogging. Mainly as I got heavily involved in playing <a href="http://eu.battle.net/wow/en/character/aszune/Twisteddeath/advanced">World of Warcrat</a>, <a href="http://www.swtor.com/">Star Wars: The Old Republic</a> and now <a href="https://www.guildwars2.com/en/">Guild Wars 2</a> and this is a technical blog not a gaming one.</p>
<p>Anyhoo, since GW2 is a lot more casual than the others the idea is that I have more time for working on open source stuff, like say dhcpcd. Well, I finally found some time over the past few months and put <a href="http://roy.marples.name/cgi-bin/gitweb.cgi?p=dhcpcd.git;a=commit;h=57cd5affbff05d41497b8295986e46360f6464db">DHCPv6 INFORM support into dhcpcd</a>. This is only triggered when dhcpcd recieves an IPv6 RA with the O flag set. Luckily, I put <a href="http://roy.marples.name/cgi-bin/gitweb.cgi?p=dhcpcd.git;a=commit;h=17f851e8344b1eb60954dd439b97917ec19734fa">IPv6 RS support</a> into dhcpcd a few months ago but didn&rsquo;t feel the urge to blog about it. Well, I do now!</p>
<p>Before the end of the year, I aim to have DHCPv6 IA support triggered via IPv6 RA with the M flag set as well. Do I have any other goals? Well, all my other projects are pretty much complete. One of the reasons why I starting gaming so much is that I&rsquo;m pretty happy with the current state of affairs and anything else is just a bonus. That being said, there are a lot more DHCPv6 things to do besides IA support such as better separation between IPv4 and IPv6, moving to TAILQ lists intsead of our hand rolled and other misc stuff such as improving dhcpcd-dbus and dhcpcd-gtk.</p>
]]></content>
            
                 
                    
                         
                        
                            
                             
                                <category scheme="https://roy.marples.name/blog/tags/dhcpcd" term="dhcpcd" label="dhcpcd" />
                             
                                <category scheme="https://roy.marples.name/blog/tags/gaming" term="gaming" label="gaming" />
                            
                        
                    
                
            
        </entry>
    
</feed>
