<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>ilikelinux</title>
	<atom:link href="http://www.ilikelinux.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ilikelinux.com</link>
	<description>Computing and F/OSS Adventures</description>
	<pubDate>Mon, 16 Jun 2008 01:30:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>MySQL CLI pager tweaks</title>
		<link>http://www.ilikelinux.com/2007/07/30/mysql-cli-pager-tweaks</link>
		<comments>http://www.ilikelinux.com/2007/07/30/mysql-cli-pager-tweaks#comments</comments>
		<pubDate>Mon, 30 Jul 2007 23:33:40 +0000</pubDate>
		<dc:creator>Jesse</dc:creator>
		
		<category><![CDATA[Configuration]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.ilikelinux.com/2007/07/30/mysql-cli-pager-tweaks/</guid>
		<description><![CDATA[The default settings for the MySQL command line client are a bit annoying. There&#8217;s no output paging; columns with more than 80 characters are wrapped making matching field name to field data difficult. Here&#8217;s a way to make life easier.

Reference:  http://dev.mysql.com/doc/refman/5.0/en/mysql-commands.html (and from the comments therein)
You can set the PAGER variable several ways. In [...]]]></description>
			<content:encoded><![CDATA[<p>The default settings for the MySQL command line client are a bit annoying. There&#8217;s no output paging; columns with more than 80 characters are wrapped making matching field name to field data difficult. Here&#8217;s a way to make life easier.</p>
<p><span id="more-12"></span></p>
<p><strong>Reference:</strong>  <a href="http://dev.mysql.com/doc/refman/5.0/en/mysql-commands.html" title="MySQL 5.0 Manual excerpt" target="_blank">http://dev.mysql.com/doc/refman/5.0/en/mysql-commands.html</a> (and from the comments therein)</p>
<p>You can set the PAGER variable several ways. In the following examples, I&#8217;m setting it to &#8220;less -niSFX&#8221;. Note that you must have &#8220;less&#8221; installed for this to work, and, according to the reference above, this doesn&#8217;t work on Win32, but you shouldn&#8217;t be running mysql on Win32 anyway ;).</p>
<p>In my.cnf (either in your home directory, or the system-wide file, whose location depends on your distribution):</p>
<p><code>[mysql]<br />
pager=less -niSFX</code></p>
<p>From the shell:</p>
<p><code><strong>$</strong> mysql --pager="less -niSFX"</code></p>
<p>From within the mysql command line client:</p>
<p><code><strong>mysql&gt;</strong> pager less -niSFX</code></p>
<p>I haven&#8217;t yet found a way to set the pager behavior back to the default (i.e. no output paging) from the CLI prompt, so you&#8217;ll have to exit the CLI,  remove these my.cnf changes or options from the command line and re-execute the client. I&#8217;ll edit this to reflect any new info.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ilikelinux.com/2007/07/30/mysql-cli-pager-tweaks/feed</wfw:commentRss>
		</item>
		<item>
		<title>P7120D xorg.conf</title>
		<link>http://www.ilikelinux.com/2007/07/27/p7120d-xorgconf</link>
		<comments>http://www.ilikelinux.com/2007/07/27/p7120d-xorgconf#comments</comments>
		<pubDate>Fri, 27 Jul 2007 23:39:42 +0000</pubDate>
		<dc:creator>Jesse</dc:creator>
		
		<category><![CDATA[Configuration]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[P7120D]]></category>

		<category><![CDATA[Xorg]]></category>

		<guid isPermaLink="false">http://www.ilikelinux.com/2007/07/27/p7120d-xorgconf/</guid>
		<description><![CDATA[Yeah, it&#8217;s ugly, but I thought others might make use of the xorg.conf from my groovy little fanless laptop, the Fujitsu Lifebook P7120D, running Gentoo Linux and xorg-server 1.2.0. I based this off of an xorg.conf I found on the web last year, and has been edited (a lot) as I found new information. This [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah, it&#8217;s ugly, but I thought others might make use of the xorg.conf from my groovy little fanless laptop, the <a href="http://www.notebookreview.com/default.asp?newsID=2695" title="Review of P-7120 on notebookreview.com" target="_blank">Fujitsu Lifebook P7120D</a>, running Gentoo Linux and xorg-server 1.2.0. I based this off of an xorg.conf I found on the web last year, and has been edited (a lot) as I found new information. This also requires use of <a href="http://packages.gentoo.org/search/?sstring=915resolution" title="915resolution in Portage" target="_blank">915resoultion</a>, at least with xorg-server 1.2.0 (I&#8217;ve heard rumors that 1.3.0 will eliminate this dependency), to handle the non-standard resolution of the laptop&#8217;s LCD (1280&#215;768). Switching between dual screens and single screen still requires editing of this file and uncommenting the desired configuration in &#8220;ServerFlags&#8221; and commenting the other section lines before restarting X.<br />
<span id="more-11"></span></p>
<pre>#
# xorg config
#

# configuration to use
Section "ServerFlags"
	#Option		"DefaultServerLayout" "Single Local Layout"
	Option		"DefaultServerLayout" "Single External Layout"
	#Option		"DefaultServerLayout" "Double Share Desktop Layout"
	#Option		"DefaultServerLayout" "Double Separate Desktop Layout"
EndSection

# two screens sharing a desktop, external 1280x1024
Section "ServerLayout"
	Identifier	"Double Share Desktop Layout"
	Screen		0 "Dual Local Screen" Below "Dual External Screen"
	Screen		1 "Dual External Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
	Option		"Xinerama" "true"
EndSection

# two screens with two desktop, external 1280x1024
Section "ServerLayout"
	Identifier	"Double Separate Desktop 1280 Layout"
	Screen		0 "Dual Local Screen" Below "Dual External Screen"
	Screen		1 "Dual External Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

# one screen one desktop on local lcd
Section "ServerLayout"
	Identifier	"Single Local Layout"
	Screen		"Single Local Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

# one screen one desktop on external 1280 display
Section "ServerLayout"
	Identifier	"Single External Layout"
	Screen		"Single External Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

# font files
Section "Files"
	RgbPath		"/usr/share/x11/rgb"
	ModulePath	"/usr/lib/xorg/modules"
	FontPath	"unix/:-1"			# local font server
EndSection

# test what this does
Section "Extensions"
	# required for shadows, transparent windows etc.
	Option "Composite" "true"
EndSection

# modules to use
Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"evdev"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
EndSection

# keyboard
Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
#	Option		"XkbRules"	"xorg"
#	Option		"XkbModel"	"inspiron"

	# required for non-us keyboard layouts
	# Option		"XkbLayout"	"de"
	# Option		"XkbOptions"	"nodeadkeys"
EndSection

# an external mouse, e.g. USB or bluetooth
Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

# apple mighty mouse
Section "InputDevice"
	Identifier	"EV Mouse"
	Driver		"evdev"
	Option		"Protocol"		"auto"
	Option		"Device"		"/dev/input/event2"
EndSection

# touchpad
Section "InputDevice"
	Identifier      "Synaptics Touchpad"
	Driver          "synaptics"
	Option		"CorePointer"
	Option          "SendCoreEvents"        "true"
	Option          "Device"                "/dev/psaux"
	Option          "Protocol"              "auto-dev"
	#Option        "SHMConfig"       "off"
	Option		"SHMConfig"	"on"
	# User customied stuff
	#Option        "Protocol"        "auto-dev"
	#Option        "LeftEdge"        "1700"
	#Option        "RightEdge"       "5300"
	#Option        "TopEdge"         "1700"
	#Option        "BottomEdge"      "4200"
	#Option        "FingerLow"       "50"
	#Option        "FingerHigh"      "60"
#	Option        "MaxTapTime"      "180"
	#Option        "MaxTapTime"      "0"
	#Option        "MaxTapMove"      "220"
	#Option        "VertScrollDelta" "100"
	#Option        "MinSpeed"        "0.06"
	Option        "MaxSpeed"        "0.5"
	#Option        "AccelFactor"     "0.002"
	#Option        "TapButton1"      "1"
	#Option        "TapButton2"      "1"
	#Option        "TapButton3"      "1"
	#Option        "LTCornerButton"  "2"
	Option        "PalmDetect"	"true"
	#Option        "TouchpadOff"	"1"
EndSection

# laptop lcd device section
Section "Device"
	Identifier	"Single LocalLCD Device"
	Driver		"i810" # change to vesa if it doesn't work
	BusID		"PCI:0:2:0"
        VideoRam	131072
	Screen		0

        #Option		"PageFlip"		"true"
        #Option		"VBERestore"		"true"
        Option		"DRI"			"true"
        #Option		"DisplayInfo"		"true"
	Option          "DevicePresence"        "true"

	# ddc might complain about a wrong refreshrate
	Option		"DDC"		"true"
EndSection

# duplicated laptop lcd and external device section
Section "Device"
	Identifier	"Double Duplicated Device"
	Driver		"i810" # change to vesa if it doesn't work
	BusID		"PCI:0:2:0"

	##### test this one
	#Option		"AGPFastWrite" "true"

	Screen		0

	# options for the i810 module only!
	# external monitor and local flat panel
	Option		"MonitorLayout"	"CRT,LFP"
	# ddc might complain about a wrong refreshrate
	Option		"DDC"		"true"
	Option          "DevicePresence"        "true"

	# use the next two lines to enable a cloned display for the external monitor
	# this might be used instead of dual head / xinerama (e.g. for presentations / beamer)
	Option "Clone" "On"
	# refreshrate for the external monitor
	Option "CloneRefresh" "60"
EndSection

# laptop lcd device section
Section "Device"
	Identifier	"Dual LocalLCD Device"
	Driver		"i810" # change to vesa if it doesn't work
	BusID		"PCI:0:2:0"
	VideoRam              131072

	##### test this one
	#Option		"AGPFastWrite" "true"

	Screen		0

	# options for the i810 module only!
	# external monitor and local flat panel
	Option		"MonitorLayout"	"CRT,LFP"
	# ddc might complain about a wrong refreshrate
	Option		"DDC"		"true"
	#Option		"PageFlip"		"true"
        #Option		"VBERestore"		"true"
        #Option		"DRI"			"true"
        #Option		"DisplayInfo"		"true"

	Option		"DevicePresence"	"true"

	# use the next two lines to enable a cloned display for the external monitor
	# this might be used instead of dual head / xinerama (e.g. for presentations / beamer)
#	Option "Clone" "On"
	# refreshrate for the external monitor
#	Option "CloneRefresh" "60"
EndSection

# external vga device as dual display section
Section "Device"
	Identifier	"Dual VGAOUT Device"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Screen		1
	Option		"MonitorLayout"	"CRT,LFP"

 	##### test this one
	#Option		"AGPFastWrite" "true"
	#Option		"PageFlip"		"true"
        #Option		"VBERestore"		"true"
        #Option		"DRI"			"true"

	Option		"DDC"		"true"
	Option          "DisplayInfo"           "true"
	Option          "DevicePresence"        "true"
EndSection

# external vga device as only display section
Section "Device"
	Identifier	"Single VGAOUT Device"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Screen		0
	Option		"MonitorLayout"	"CRT"
	Option          "DevicePresence"        "true"
	Option		"DRI"	"true"
	Option		"DDC"	"true"

 	##### test this one
	#Option		"AGPFastWrite" "true"
EndSection

# laptop lcd monitor section
Section "Monitor"
	Identifier	"Fujitsu P7120 LCD Monitor"
	VendorName	"Fujitsu"
	ModelName	"P7120"
	Option		"DPMS"
	DisplaySize	230 139
	#DisplaySize	115 70
EndSection

# external generic vga monitor section
Section "Monitor"
	Identifier	"Generic VGA Monitor"
	Option "DPMS"
	DisplaySize	200 150
EndSection

# laptop 1280x768 lcd screen section
Section "Screen"
	Identifier	"Single Local Screen"
	Device		"Single LocalLCD Device"
	Monitor		"Fujitsu P7120 LCD Monitor"
	DefaultDepth	24
	SubSection "Display"
		# test this
		Viewport	0 0

		Depth		24
		Modes		"1280x768"
	EndSubSection
EndSection

# laptop 1280x768 lcd screen section
Section "Screen"
	Identifier	"Dual Local Screen"
	Device		"Dual LocalLCD Device"
	Monitor		"Fujitsu P7120 LCD Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x768"
	EndSubSection
EndSection

# dual display with external VGA
Section "Screen"
	Identifier	"Dual External Screen"
	Device		"Dual VGAOUT Device"
	Monitor		"Generic VGA Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1600x1200"
	EndSubSection
EndSection

# single display with generic VGA output screen section
Section "Screen"
	Identifier	"Single External Screen"
	Device		"Single VGAOUT Device"
	Monitor		"Generic VGA Monitor"
	DefaultDepth	24
	SubSection "Display"

		##### test this
		Viewport	0 0

		Depth		24
		Modes		"1600x1200" "1280x1024" "1024x768"
	EndSubSection
EndSection

# dri options
Section "DRI"
	Mode	0666
EndSection</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ilikelinux.com/2007/07/27/p7120d-xorgconf/feed</wfw:commentRss>
		</item>
		<item>
		<title>Asterisk, the incredible convergence machine</title>
		<link>http://www.ilikelinux.com/2007/07/26/asterisk-the-incredible-convergence-machine</link>
		<comments>http://www.ilikelinux.com/2007/07/26/asterisk-the-incredible-convergence-machine#comments</comments>
		<pubDate>Fri, 27 Jul 2007 06:06:53 +0000</pubDate>
		<dc:creator>Jesse</dc:creator>
		
		<category><![CDATA[Asterisk]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[VoIP]]></category>

		<guid isPermaLink="false">http://www.ilikelinux.com/2007/07/26/asterisk-the-incredible-convergence-machine/</guid>
		<description><![CDATA[So, I finished my first run-through of getting an Asterisk PBX set up in my home. With the awesome community resource http://voip-info.org/, the book Asterisk: The Future of Telephony, and, of course, Asterisk&#8217;s own documentation and configuration file comments, I built myself a much more well-featured answering machine.   Initially, I purchased two pieces [...]]]></description>
			<content:encoded><![CDATA[<p>So, I finished my first run-through of getting an <a href="http://www.asterisk.org/" target="_blank">Asterisk</a> PBX set up in my home. With the awesome community resource <a href="http://voip-info.org/" target="_blank">http://voip-info.org/</a>, the book <a href="http://safari.oreilly.com/0596009623" class="tenpxBold" title="Asterisk: The Future of Telephony">Asterisk: The Future of Telephony</a><span class="tenpxBold">, and, of course, Asterisk&#8217;s own documentation and configuration file comments, I built myself a much more well-featured answering machine. <img src='http://www.ilikelinux.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Initially, I purchased two pieces of hardware - the <a href="http://www.voip-info.org/wiki/view/Grandstream+Budgetone+200" target="_blank">Grandstream BudgeTone 200</a> IP Phone and the <a href="http://www.voip-info.org/wiki/view/Grandstream+Handytone-488" target="_blank">Grandstream HandyTone 488</a> FXS/FXO device. However, the 488 didn&#8217;t work well for my purposes, as it didn&#8217;t support passing caller-id information from the PSTN to Asterisk, and it was annoying that you couldn&#8217;t use the FXS when the FXO was active on the PSTN line. I e-mailed Grandstream tech support, and they said that they were never going to offer a firmware update to the 488 to add this function, so, I broke down and bought a Cisco/Linksys/Sipura SPA-3102. For around $30 more, the SPA-3102 offered much, much more, including a better web interface, caller ID from the PSTN, and, to my ears, a bit better sound quality both in the FXS and the PSTN connection.</span></p>
<p>So what do I get with this effort?</p>
<ul>
<li>Message storage limited only by the size of my hard drive.</li>
<li>VoiceMail via e-mail to main e-mail account and cell phone as a short text message, complete with caller ID info, time length, and the message attached as a WAV audio file.</li>
<li>Internal extensions over 802.11g wireless network (no cable lays), with uLaw (PSTN-level quality audio codec).</li>
<li>Using <a href="http://www.twinklephone.org/" title="Twinkle Homepage">Twinkle</a> (or any softphone), make calls in my home area  from anywhere there&#8217;s an Internet connection.</li>
<li>So many possibilities!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ilikelinux.com/2007/07/26/asterisk-the-incredible-convergence-machine/feed</wfw:commentRss>
		</item>
		<item>
		<title>Liftoff!</title>
		<link>http://www.ilikelinux.com/2007/07/26/liftoff</link>
		<comments>http://www.ilikelinux.com/2007/07/26/liftoff#comments</comments>
		<pubDate>Fri, 27 Jul 2007 04:06:13 +0000</pubDate>
		<dc:creator>Jesse</dc:creator>
		
		<category><![CDATA[ilikelinux]]></category>

		<guid isPermaLink="false">http://www.ilikelinux.com/2007/07/26/liftoff/</guid>
		<description><![CDATA[OK, well, here it is. I moved over the howtos and tips from Plone, and made nice little mod_rewrite rules to make that happen without losing their Googleness.  I might post to announce them a bit later.
]]></description>
			<content:encoded><![CDATA[<p>OK, well, here it is. I moved over the howtos and tips from Plone, and made nice little mod_rewrite rules to make that happen without losing their Googleness. <img src='http://www.ilikelinux.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> I might post to announce them a bit later.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ilikelinux.com/2007/07/26/liftoff/feed</wfw:commentRss>
		</item>
		<item>
		<title>Linux-y stuff</title>
		<link>http://www.ilikelinux.com/2007/07/24/linux-y-stuff</link>
		<comments>http://www.ilikelinux.com/2007/07/24/linux-y-stuff#comments</comments>
		<pubDate>Wed, 25 Jul 2007 02:52:23 +0000</pubDate>
		<dc:creator>Jesse</dc:creator>
		
		<category><![CDATA[Plone]]></category>

		<guid isPermaLink="false">http://new.ilikelinux.com/?p=3</guid>
		<description><![CDATA[Howdy!
Well, I figured I might as well capture my computing adventures somewhere, and why not a blog? Yes, this site used to be managed by Plone. While I like Plone&#8217;s interface, the mono-purposed and complex framework (Zope) and its inability to use a common SQL database engine as its internal DB are too much overhead [...]]]></description>
			<content:encoded><![CDATA[<p>Howdy!</p>
<p>Well, I figured I might as well capture my computing adventures somewhere, and why not a blog? Yes, this site used to be managed by Plone. While I like Plone&#8217;s interface, the mono-purposed and complex framework (Zope) and its inability to use a common SQL database engine as its internal DB are too much overhead for my purposes.  If I was to go with another CMS-y thing for my personal stuff, well, that solution would be Drupal, which I will also recommend for most of my for-hire work.</p>
<p>Now I  have to move over data from Plone and then get this site looking gooooood. <img src='http://www.ilikelinux.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ilikelinux.com/2007/07/24/linux-y-stuff/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
