<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>LinuxQuestions.org - Blogs - tw001_tw</title>
		<link>http://www.linuxquestions.org/questions/blog.php?u=27416</link>
		<description>LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.</description>
		<language>en</language>
		<lastBuildDate>Tue, 24 Nov 2009 18:40:00 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://e1h7.simplecdn.net/lqcdn/images/questions/images/misc/rss.jpg</url>
			<title>LinuxQuestions.org - Blogs - tw001_tw</title>
			<link>http://www.linuxquestions.org/questions/blog.php?u=27416</link>
		</image>
		<item>
			<title><![CDATA[My Bash prompt info & links]]></title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=145</link>
			<pubDate>Mon, 23 Jan 2006 05:20:07 GMT</pubDate>
			<description><![CDATA[I'm keeping this here for my own reference.   
Of course, you can use it to if you want. 
I might add more links later on. 
 
Below you will find a...]]></description>
			<content:encoded><![CDATA[<div>I'm keeping this here for my own reference.  <br />
Of course, you can use it to if you want.<br />
I might add more links later on.<br />
<br />
Below you will find a complete list of all special sequences, <br />
and color codes.<br />
<br />
Sequence	Description<br />
\a	The ASCII bell character (you can also type \007)<br />
\d	Date in &quot;Wed Sep 06&quot; format<br />
\e	ASCII escape character (you can also type \033)<br />
\h	First part of hostname (such as &quot;mybox&quot;)<br />
\H	Full hostname (such as &quot;mybox.mydomain.com&quot;)<br />
\j	The number of processes you've suspended in this shell by hitting ^Z<br />
\l	The name of the shell's terminal device (such as &quot;ttyp4&quot;)<br />
\n	Newline<br />
\r	Carriage return<br />
\s	The name of the shell executable (such as &quot;bash&quot;)<br />
\t	Time in 24-hour format (such as &quot;23:01:01&quot;)<br />
\T	Time in 12-hour format (such as &quot;11:01:01&quot;)<br />
\@	Time in 12-hour format with am/pm<br />
\u	Your username<br />
\v	Version of bash (such as 2.04)<br />
\V	Bash version, including patchlevel<br />
\w	Current working directory (such as &quot;/home/drobbins&quot;)<br />
\W	The &quot;basename&quot; of the current working directory (such as &quot;drobbins&quot;)<br />
\!	Current command's position in the history buffer<br />
\#	Command number (this will count up at each prompt, as long as you type something)<br />
\$	If you are not root, inserts a &quot;$&quot;; if you are root, you get a &quot;#&quot;<br />
\xxx	Inserts an ASCII character based on three-digit number xxx (replace unused digits with zeros, such as &quot;\007&quot;)<br />
\\	A backslash<br />
\[	This sequence should appear before a sequence of characters that don't move the cursor (like color escape sequences). This allows bash to calculate word wrapping correctly.<br />
\]	This sequence should appear after a sequence of non-printing characters.<br />
<br />
<br />
Black       0;30     Dark Gray     1;30<br />
Blue        0;34     Light Blue    1;34<br />
Green       0;32     Light Green   1;32<br />
Cyan        0;36     Light Cyan    1;36<br />
Red         0;31     Light Red     1;31<br />
Purple      0;35     Light Purple  1;35<br />
Brown       0;33     Yellow        1;33<br />
Light Gray  0;37     White         1;37<br />
<br />
<br />
Foreground colors:<br />
0;30 Black<br />
0;31 Red<br />
0;32 Green<br />
0;33 Yellow\Orange<br />
0;34 Blue<br />
0;35 Magenta<br />
0;36 Cyan<br />
0;37 Light Gray\Black<br />
0;39 Default<br />
NC='\e[0m'              # No Color <br />
<br />
Bright foreground colors:<br />
1;30 Dark Gray<br />
1;31 Red<br />
1;32 Green<br />
1;33 Yellow<br />
1;34 Blue<br />
1;35 Magenta<br />
1;36 Cyan<br />
1;37 White<br />
0;39 Default<br />
<br />
\e[m\]Background colors:<br />
\[\e[1;37m\e[40m40: Black\e[0;49m\n\<br />
\e[41m41: Red\e[0;49m\n\<br />
\e[42m42: Green\e[0;49m\n\<br />
\e[43m43: Yellow\Orange\e[0;49m\n\<br />
\e[44m44: Blue\e[0;49m\n\<br />
\e[45m45: Magenta\e[0;49m\n\<br />
\e[46m46: Cyan\e[0;49m\n\<br />
\e[47m47: Light Gray\Black\e[0;49m\n\<br />
\e[49m49: Default\e[m\]\n'<br />
<br />
<br />
Links:<br />
http://www-128.ibm.com/developerworks/linux/library/l-tip-prompt/<br />
<br />
http://sourceforge.net/projects/bashish<br />
<br />
<br />
<br />
If anyone read this far, and if your interested, heres mine:<br />
PS1=&quot;\[\033[31m\]\u\033[36m\]@\h\033[31m\] on \l\n\033[1;33m\](\w) #\[\033[0m\]&quot;</div>

]]></content:encoded>
			<dc:creator>tw001_tw</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=145</guid>
		</item>
		<item>
			<title>A quick step-by-step on installing MPlayer</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=139</link>
			<pubDate>Sat, 21 Jan 2006 18:17:59 GMT</pubDate>
			<description>This is FAR from an all enclusive how-to.  Its a simple, and direct 
step-by-step, with minimal options or optimizations.  Your distro 
may have...</description>
			<content:encoded><![CDATA[<div>This is FAR from an all enclusive how-to.  Its a simple, and direct<br />
step-by-step, with minimal options or optimizations.  Your distro<br />
may have anather way, this is the manual way (or atleast how I do it<br />
manually).<br />
<br />
All versions noted are current at the time of this writting. (1.21.06)<br />
<br />
&lt;strong&gt;1st step - software you need.&lt;/strong&gt;<br />
<br />
MPlayer v1.0pre7try2 source - The program.<br />
Download here: <br />
ftp://ftp5.mplayerhq.hu/mplayer/releases/MPlayer-1.0pre7try2.tar.bz2<br />
<br />
<br />
all-20050412.tar.bz2  - Codecs.<br />
Download here:<br />
ftp://ftp5.mplayerhq.hu/mplayer/releases/codecs/all-20050412.tar.bz2<br />
<br />
font-arial-iso-8859-1.tar.bz2  - Fonts.<br />
Download here:<br />
ftp://ftp5.mplayerhq.hu/mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2<br />
<br />
Corelian-1.1.tar.bz2  - Skins.<br />
Download here:<br />
ftp://ftp5.mplayerhq.hu/mplayer/Skin/Corelian-1.1.tar.bz2<br />
<br />
NOTE: The 4 above links are direct to mplayer server. <br />
These are the ones I use. If you want different skins, check <br />
for newer files, or just want to read the official docs, <br />
HERE IS THIER DOWNLOAD PAGE:<br />
http://www.mplayerhq.hu/homepage/design7/dload.html <br />
<br />
<br />
<br />
&lt;strong&gt;2nd step - Installation&lt;/strong&gt; divided in to 4 parts: installation of <br />
codecs, program, fonts, &amp; skin.<br />
<br />
codecs: Extract the file &quot;all-20050412.tar.bz2&quot; and copy its contents <br />
into the directory /usr/local/lib/codecs/ . Do this BEFORE compiling <br />
and installing MPlayer v1.0pre7try2.<br />
<br />
<br />
program: Extract the file &quot;MPlayer v1.0pre7try2&quot; and enter that new <br />
directory. Now type:<br />
./configure --enable-gui<br />
make<br />
make install (or 'checkinstall' would be better if your running Slack).<br />
<br />
 <br />
fonts: Extract the files in font-arial-iso-8859-1.tar.bz2. This gives <br />
you a few directories with fonts in them. Copy 1 set of fonts to the <br />
directory /usr/local/share/mplayer/font/ <br />
<br />
<br />
skins: Extract the files in Corelian-1.1.tar.bz2. Copy these files to <br />
the directory /usr/local/share/mplayer/Skin/default/ <br />
 <br />
<br />
<br />
&lt;strong&gt;3rd step - Starting the program&lt;/strong&gt;<br />
<br />
Start the console and type ' gmplayer'. If all went well, it should be up <br />
and running. If you use gmplayer frequently, you can make a link to the <br />
exacutable on your desktop. Make it point to /usr/local/bin/gmplayer<br />
<br />
<br />
4th step - Basic configuration<br />
<br />
I usually only have to change 2 things in the configuration for it to work.<br />
<br />
right click on the player (not the movie window), and click on 'preferences'. <br />
On the video tab, I elect to use the &quot; xv X11/Xv &quot; video driver.<br />
<br />
Also, under the Misc. tab, I have to tell it which drive my DVD player is. I <br />
change it to /dev/hdd - as that is my dvd reader.<br />
<br />
Byond this, the default configuration seems to work well for me.<br />
<br />
<br />
Good luck!!!!!!</div>

]]></content:encoded>
			<dc:creator>tw001_tw</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=139</guid>
		</item>
		<item>
			<title>Some notes I made regarding matrox frame buffer in Gentoo - kernel 2.6.11</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=108</link>
			<pubDate>Fri, 20 Jan 2006 04:26:19 GMT</pubDate>
			<description><![CDATA[#1 - Using the Matrox framebuffer 
TIP: Do NOT, and I repeat, DO NOT, compile into your kernel "vesafb', or "vesafb-tng" if you choose "Matrox...]]></description>
			<content:encoded><![CDATA[<div>#1 - Using the Matrox framebuffer<br />
TIP: Do NOT, and I repeat, DO NOT, compile into your kernel &quot;vesafb', or &quot;vesafb-tng&quot; if you choose &quot;Matrox Acceleration&quot;.<br />
<br />
cd /usr/src/linux<br />
make menuconfig<br />
<br />
This is what you need (how I did it):<br />
Under Device Drivers -&gt; Graphics support[*] Support for frame buffer devices[*] Enable Video Mode Handling Helpers[*] Matrox acceleration[*] G100/G200/G400/G450/G550 support[*] Multihead support<br />
<br />
Under Device Drivers -&gt; Graphics support -&gt; Console Display driver support<br />
--- VGA text console[*] Video mode selection support[*] Framebuffer Console support[*] Select compiled-in fonts[*] VGA 8x8 font[*] VGA 8x16 font<br />
<br />
Under Device Drivers -&gt; Graphics support -&gt; Logo Configuration[*] Bootup logo[*] Standard 224-color Linux logo<br />
<br />
Then in /etc/lilo.conf add the line : append = &quot;video=matroxfb:vesa:0x117&quot;.. like this:<br />
<br />
# Gentoo<br />
image = /boot/vmlinuz-2.6.11-gentoo-r6<br />
root = /dev/sdb1<br />
label = Gentoo<br />
read-only<br />
append = &quot;video=matroxfb:vesa:0x117&quot;<br />
# append = &quot;video=vesafb:mtrr,ywrap,1024x768-16@60&quot;<br />
# Gentoo<br />
<br />
Run /sbin/lilo, and reboot - all should be well<br />
<br />
#2 - Using the vesa framebuffer<br />
TIP: Do NOT, and I repeat, DO NOT, compile into your kernel &quot;matrox acceleration', if you choose to use the vesafs!<br />
<br />
cd /usr/src/linux<br />
make menuconfig<br />
<br />
This is what you need (how I did it):<br />
[*] VESA VGA graphics support<br />
VESA driver type (vesafb-tng) ---&gt;<br />
(1024x768@60) VESA default mode<br />
<br />
Then in /etc/lilo.conf add the line : append = &quot;video=vesafb:mtrr,ywrap,1024x768-16@60&quot;<br />
# Gentoo<br />
image = /boot/vmlinuz-2.6.11-gentoo-r6<br />
root = /dev/sdb1<br />
label = Gentoo<br />
read-only<br />
# append = &quot;video=matroxfb:vesa:0x117&quot;<br />
append = &quot;video=vesafb:mtrr,ywrap,1024x768-16@60&quot;<br />
# Gentoo<br />
<br />
Run /sbin/lilo, and reboot - all should be well</div>

]]></content:encoded>
			<dc:creator>tw001_tw</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=108</guid>
		</item>
		<item>
			<title><![CDATA[slow DNS resolution in mozilla & firefox]]></title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=129</link>
			<pubDate>Mon, 16 Jan 2006 16:20:11 GMT</pubDate>
			<description>After suffering for weeks on a clean install of slackware 10.2 - I had terriblly slow DNS resolution times. 
Ranging from 10 seconds, to what seemed...</description>
			<content:encoded><![CDATA[<div>After suffering for weeks on a clean install of slackware 10.2 - I had terriblly slow DNS resolution times.<br />
Ranging from 10 seconds, to what seemed forever.<br />
<br />
I found a nice solution here at LQ.<br />
<br />
Turn off IP6:<br />
Open up Mozilla or Firefox and type in 'about<b></b>:config' in the address bar <br />
Scroll down to &quot;network.dns.disableIPv6&quot;, it's defaulted to a value of false<br />
Double-click on that line and change it to &quot;true&quot;<br />
Close your browser, launch it again and it should work.<br />
<br />
(I take no credit for this solution<br />
I even copy/pasted the answer (I did clean it up and simplify it though).)<br />
Original solution was given by: chiquitomuir<br />
</div>

]]></content:encoded>
			<dc:creator>tw001_tw</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=129</guid>
		</item>
	</channel>
</rss>
