<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Projects on semicomplete</title>
		<link>https://semicomplete.com/categories/projects/</link>
		<description>Recent content in Projects on semicomplete</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
			<copyright>&amp;copy; Copyright 2006-2022 Jordan Sissel - Content licensed as &lt;a href=&#39;https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode&#39;&gt;CC BY-NC-SA&lt;/a&gt;</copyright>
		
		
			<lastBuildDate>Fri, 24 Apr 2015 21:46:35 -0700</lastBuildDate>
		
			<atom:link href="https://semicomplete.com/categories/projects/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title> xdotool  -  fake keyboard/mouse input, window management, and more 
</title>
				<link>https://semicomplete.com/projects/xdotool/</link>
				<pubDate>Fri, 24 Apr 2015 21:46:35 -0700</pubDate>
				<guid>https://semicomplete.com/projects/xdotool/</guid>
				<description>&lt;h1 id=&#34;what-is-xdotool&#34;&gt;What is xdotool?&lt;/h1&gt;&#xA;&lt;p&gt;This tool lets you simulate keyboard input and mouse activity, move and&#xA;resize windows, etc. It does this using X11&amp;rsquo;s XTEST extension and other&#xA;Xlib functions.&lt;/p&gt;&#xA;&lt;p&gt;Additionally, you can search for windows and move, resize, hide, and modify&#xA;window properties like the title. If your window manager supports it, you&#xA;can use xdotool to switch desktops, move windows between desktops, and&#xA;change the number of&#xA;desktops.&lt;/p&gt;&#xA;&lt;h1 id=&#34;mailing-list&#34;&gt;Mailing List&lt;/h1&gt;&#xA;&lt;p&gt;The xdotool users mailing list is: &lt;a href=&#34;mailto:xdotool-users@googlegroups.com&#34;&gt;&lt;a href=&#34;mailto:xdotool-users@googlegroups.com&#34;&gt;xdotool-users@googlegroups.com&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title> keynav  -  retire your mouse. 
</title>
				<link>https://semicomplete.com/projects/keynav/</link>
				<pubDate>Thu, 14 Oct 2010 23:49:21 -0700</pubDate>
				<guid>https://semicomplete.com/projects/keynav/</guid>
				<description>&lt;p&gt;Keynav is a piece of an on-going experiment to&#xA;make pointer-driven interfaces easier and faster for users to operate. It&#xA;lets you move the pointer quickly to most points on the screen with only a&#xA;few key strokes.&lt;/p&gt;&#xA;&lt;p&gt;Note that I said pointer, not mouse. The mouse simply drives the pointer.&#xA;We can drive the pointer with other devices too. keynav turns your keyboard&#xA;into an fast pointer mover.&lt;/p&gt;&#xA;&lt;h1 id=&#34;what-does-it-do&#34;&gt;What does it do?&lt;/h1&gt;&#xA;&lt;p&gt;You select a piece of the screen. The screen is initially wholely selected.&#xA;One move will cut that region by half. A move is a direction: up, down,&#xA;left, and right.&lt;/p&gt;</description>
			</item>
			<item>
				<title> fex  -  flexible token-field extraction 
</title>
				<link>https://semicomplete.com/projects/fex/</link>
				<pubDate>Wed, 19 May 2010 00:13:15 -0700</pubDate>
				<guid>https://semicomplete.com/projects/fex/</guid>
				<description>&lt;h1 id=&#34;what-is-fex&#34;&gt;What is fex?&lt;/h1&gt;&#xA;&lt;p&gt;Fex is a powerful field extraction tool. Fex provides a very concise&#xA;language for tokenizeing strings and extracting fields.&lt;/p&gt;&#xA;&lt;p&gt;The basic usage model is that you provide a series of delimiter and field&#xA;selection pairs. Tokens can be any character, while field selections have a&#xA;specific syntax.&lt;/p&gt;&#xA;&lt;h1 id=&#34;download&#34;&gt;Download&lt;/h1&gt;&#xA;&lt;p&gt;Releases are available on &lt;a href=&#34;https://github.com/jordansissel/fex/releases&#34;&gt;GitHub&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h1 id=&#34;sometimes-simpler-than-cut-and-awk&#34;&gt;Sometimes simpler than cut and awk&lt;/h1&gt;&#xA;&lt;p&gt;cut(1) from GNU coreutils (on Linux) does not support negative offsets, so&#xA;you cannot ask cut to only show you the Nth field from the end.&#xA;Additionally, to cut by multiple fields, you end up having to write&#xA;&lt;code&gt;cut ... | cut ... | cut  ...&lt;/code&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>newpsm framework - A new mouse driver framework for FreeBSD 7.x
</title>
				<link>https://semicomplete.com/projects/newpsm/</link>
				<pubDate>Sun, 31 Dec 2006 21:35:41 -0800</pubDate>
				<guid>https://semicomplete.com/projects/newpsm/</guid>
				<description>Download this patch: &lt;a href=&#34;http://www.semicomplete.com/projects/newpsm/patch-CURRENT-Apr.13.06.newmoused+newpsm&#34;&gt;patch-CURRENT-Apr.13.06.newpsm+newpsm&lt;/a&gt;&lt;p&gt;&lt;/p&gt;&#xA;&#x9;&#x9;&#x9;Apply the patch (You need /usr/src checked out already):&#xA;&#x9;&#x9;&#x9;&lt;pre&gt;patch -p0 &amp;lt; patch-CURRENT-Apr.13.06.newmoused+newpsm&lt;/pre&gt;&#xA;&#xA;&#x9;&#x9;&#x9;Rebuild world with &#39;-DNEWMOUSE&#39; and recompile your kernel with &#39;device&#xA;&#x9;&#x9;&#x9;newpsm&#39; and &lt;b&gt;NOT&lt;/b&gt; &#39;device psm&#39;&#xA;&#xA;&#x9;&#x9;&#x9;&lt;pre&gt;make buildworld -DNEWMOUSE&lt;/pre&gt;&#xA;&lt;pre&gt;make installworld -DNEWMOUSE&lt;/pre&gt;&#xA;&#xA;&#x9;&#x9;&#x9;Reboot, and you should be good to go. If you have a ps/2 mouse plugged in, you should see:&#xA;&#xA;&#x9;&#x9;&#x9;&lt;pre&gt;psm0: &amp;lt;(new) PS/2 Mouse&amp;gt; irq 12 on atkbdc0&lt;/pre&gt;&#xA;&#xA;&#x9;&#x9;&#x9;The keyword there is &lt;b&gt;(new)&lt;/b&gt;.&#xA;&#xA;&#x9;&#x9;&#x9;&lt;p&gt;&lt;/p&gt;&#xA;&#xA;&#x9;&#x9;&#x9;Assuming everything is OK, you can now try the newmoused. The default&#xA;&#x9;&#x9;&#x9;device is /dev/psm0. The default driver option is to try all modules&#xA;&#x9;&#x9;&#x9;and pick the first one that succeeds.&#xA;&#xA;&#x9;&#x9;&#x9;&lt;dl&gt;&#xA;&lt;dt&gt;For non-synaptics ps/2 mice: &lt;/dt&gt;&#xA;&lt;dd&gt;Run: &#34;moused&#34;&lt;br&gt; The default mouse device is /dev/psm0&lt;/dd&gt;&#xA;&lt;dt&gt;For synaptics ps/2 mice: &lt;/dt&gt;&#xA;&lt;dd&gt;Run: &#34;moused -m synaptics&#34; &lt;br&gt; This will force moused to try the synaptics module&lt;/dd&gt;&#xA;&lt;dt&gt;For USB mice: &lt;/dt&gt;&#xA;&lt;dd&gt;Run: &#34;moused -d /dev/ums0&#34;&lt;/dd&gt;&#xA;&lt;dt&gt;For mse(4) mice: &lt;/dt&gt;&#xA;&lt;dd&gt;Run: &#34;moused -d /dev/mse0&#34;&lt;/dd&gt;&#xA;&lt;/dl&gt;&#xA;&lt;h4&gt;&lt;a name=&#34;id2244955&#34;&gt;Usage&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt; -f : run in foreground &lt;/li&gt;&#xA;&lt;li&gt; -3 :  Emulate 3 button &lt;/li&gt;&#xA;&lt;li&gt; -E XXX : emulate 3 button timeout &lt;/li&gt;&#xA;&lt;li&gt; -V :  Virtual scrolling &lt;/li&gt;&#xA;&lt;li&gt; -U XXX : virtual scrolling threshold &lt;/li&gt;&#xA;&lt;li&gt; -a X[,Y] : acceleration with x and y (optional) multiplier &lt;/li&gt;&#xA;&lt;li&gt; -d dev : specify mouse device &lt;/li&gt;&#xA;&lt;li&gt; -m module : specify module name &lt;/li&gt;&#xA;&lt;li&gt; -v : increase verbosity (default 0, -ddd means 3) &lt;/li&gt;&#xA;&lt;li&gt; -h : usage &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4&gt;&lt;a name=&#34;id2245001&#34;&gt;Configuration File&lt;/a&gt;&lt;/h4&gt;&#xA;&#x9;&#x9;&#x9;&#x9;You can now configure mice via a config file. Format is the same as&#xA;&#x9;&#x9;&#x9;&#x9;a termcap file.  Read &lt;a href=&#34;http://www.semicomplete.com/projects/newpsm/framework.html&#34;&gt;&#xA;&#x9;&#x9;&#x9;&#x9;this page &lt;/a&gt; for specific information about the configuration&#xA;&#x9;&#x9;&#x9;&#x9;file. The config file location is &#34;/etc/moused.conf&#34;&#xA;&#x9;&#x9;&#x9;&lt;h4&gt;&lt;a name=&#34;id2245016&#34;&gt;Progress&lt;/a&gt;&lt;/h4&gt;&#xA;&#x9;&#x9;&#x9;You can check on what I&#39;ve done through p4web:&#xA;&#x9;&#x9;&#x9;&lt;a href=&#34;http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/user/jls/newmoused&amp;amp;HIDEDEL=NO&#34;&gt;&#xA;&#x9;&#x9;&#x9;View my p4 depot on perforce.freebsd.org&#xA;&#x9;&#x9;&#x9;&lt;/a&gt;&lt;ul&gt;&#xA;&lt;li&gt;newpsm driver stubbed out and written. (may be scrapped)&lt;/li&gt;&#xA;&lt;li&gt;&lt;strike&gt;the old psm driver needs to be split. It has a part called psmcpnp that needs to become it&#39;s own separate driver.&lt;/strike&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strike&gt; Add per-driver configuration &lt;/strike&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4&gt;&lt;a name=&#34;id2245115&#34;&gt;Roadmap&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt; new moused module-happy framework &lt;/li&gt;&#xA;&lt;li&gt; strip psm(4) of protocol knowledge &lt;/li&gt;&#xA;&lt;li&gt; 3 basic drivers: synaptics, geneirc ps/2, and sysmouse &lt;/li&gt;&#xA;&lt;li&gt; Have progress committed to -CURRENT and co-exist with existing moused and psm &lt;/li&gt;&#xA;&lt;li&gt; Profit &lt;/li&gt;&#xA;&lt;li&gt; Kill existing moused and psm &lt;/li&gt;&#xA;&lt;li&gt; Kill ums in favor of uhid-userland driver&lt;/li&gt;&#xA;&lt;li&gt; Naptime &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4&gt;&lt;a name=&#34;id2245154&#34;&gt;Uncompleted Tasks (Todo)&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt; Deal with ums(4) - kill it and move it to userland? &lt;/li&gt;&#xA;&lt;li&gt; start newpsm(4) - include extremely basic functionality: probing, attaching, detaching, open, read, etc (might be scrapped) &lt;/li&gt;&#xA;&lt;li&gt; Provide module(s?) for mice handled by old psm(4) &lt;/li&gt;&#xA;&lt;li&gt; Add uhid joystick module? &lt;/li&gt;&#xA;&lt;li&gt; Remove Giant from psm(4) &lt;/li&gt;&#xA;&lt;li&gt; Conform to style(9) &lt;/li&gt;&#xA;&lt;li&gt; Port up lots of serial mice drivers from the old moused(8) &lt;/li&gt;&#xA;&lt;li&gt; Nap time &lt;/li&gt;&#xA;&lt;li&gt; PS/2 and usb test/probe application &lt;/li&gt;&#xA;&lt;li&gt; Bluetooth support &lt;/li&gt;&#xA;&lt;li&gt; Driver example code &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4&gt;&lt;a name=&#34;id2245202&#34;&gt;Completed Tasks (To... done?!)&lt;/a&gt;&lt;/h4&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt; Driver-writing documentation &lt;/li&gt;&#xA;&lt;li&gt; start moused(8) manpage - basic commandline options (-p, etc) and reading from newpsm.&lt;/li&gt;&#xA;&lt;li&gt;moused - configuration via config files &lt;/li&gt;&#xA;&lt;li&gt;moused - write a synaptics module &lt;/li&gt;&#xA;&lt;li&gt;moused - write a ps/2 generic pass-through plugin&lt;/li&gt;&#xA;&lt;li&gt;moused - write some basic filters (emulate 3 button, etc) &lt;/li&gt;&#xA;&lt;li&gt;moused - write a ums (sysymouse?) module &lt;/li&gt;&#xA;&lt;li&gt;moused - write a plugin interface for loadable userland mouse drivers.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h4&gt;&lt;a name=&#34;id2245241&#34;&gt;Ideas?&lt;/a&gt;&lt;/h4&gt;&#xA;&#x9;&#x9;&#x9;newpsm(4) will only provide a more-or-less raw interface with a&#xA;&#x9;&#x9;&#x9;connected ps/2 mouse. I don&#39;t know right now whether or not the X ps/2&#xA;&#x9;&#x9;&#x9;mouse driver will still work, but we&#39;ll see. If it doesn&#39;t, I&#39;ll look&#xA;&#x9;&#x9;&#x9;into having newpsm provide a generic ps/2 interface X will understand&#xA;&#x9;&#x9;&#x9;with an ioctl that lets you switch between generic ps/2 and raw.&#xA;&#x9;&#x9;&#x9;&lt;p&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
