Pacman.conf file syntax highlighting for nano

Hi, here is pacman.conf file syntax highlighting for nano. It may be useful for those who edit their pacman.conf regularly.
Just put this lines in the end of your /etc/nanorc or ~/.nanorc file:
# syntax highlithing in pacman.conf
syntax "pacman.conf" "pacman\.conf$"
color brightwhite start="\[" end="\]"
color brightyellow ".*="
color brightred "=.*"
color white "="
color brightblue "\[|\]"
color brightcyan start="/|http|ftp" end=".*"
color green "#.*"
In this thread you can find rc.conf file syntax highlighting.

thank you! i always accidentally open up nano, find out text is practically unreadable with its default colours, close it and then wait the horrific 4 seconds it takes for emacs to spring to life.

Similar Messages

  • Rc.conf file syntax highlighting for nano

    Hey, here is rc.conf file syntax highlighting for nano. It may be useful for those who edit their rc.conf regularly.
    # syntax highlithing in rc.conf
    syntax "rc.conf" "rc\.conf$"
    color brightwhite ""(\\.|[^\"])*""
    color brightwhite "\((\\.|[^\"])*\)"
    color brightred "![^> ]+"
    color brightcyan "@[^> ]+"
    color brightyellow ".*="
    color white "="
    color brightblue ""|\(|\)"
    color green "#.*"
    Put this lines into /etc/nanorc or ~/.nanorc

    thank you! i always accidentally open up nano, find out text is practically unreadable with its default colours, close it and then wait the horrific 4 seconds it takes for emacs to spring to life.

  • Syntax Highlighting for custom file extensions

    Hi everyone.
    I am currently working on a PHP project, and we are using
    *.thtml files for templates. The file isn't supported by
    Dreamweaver, as it's a fictional file extension. First I couldn't
    even open it with Dreamweaver, but after I added it in
    settings/file types, it worked.
    Now my question - how can I activate syntax highlighting for
    this filetype? It contains HTML and PHP, so it should work with the
    same highlighter as all the other file types do..
    Can someone help me out?
    Thanks.
    - Chris

    Got it
    http://alexle.net/archives/119

  • How do I enable syntax highlighting for jspf files on Dreamweaver CS6 on Windows?

    I followed the instructions (which I modified for CS6) in this posting: http://blog.metameister.com/blog/2011/04/08/open-new-file-types-and-add-syntax-highlightin g-in-dreamweaver-cs5-on-window…
    but it did not work for CS6.
    How do I enable syntax highlighting for jspf files on Dreamweaver CS6 on Windows 7?
    cheers
    Marvin in Edmonton

    Ok, I figured it out after hunting for a few hours.
    Step 1. Add the File Type
    In Dreamweaver’s toolbar:
    Select Edit > Preferences; 
    under File Types / Editors, add .jspf to the line “Open in Code View:”.
    Step 2. Extensions.txt
    Add file type .jspf to the Extensions.txt files. There are two of these files:
    C:\Users\[username]\AppData\Roaming\Adobe\Dreamweaver CS6\en_US\Configuration
    C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS6\configuration
    Step 3. MMDocumentTypes.xml
    Add jspf to the MMDocumentTypes.xml files. Open this file in Notepad or Text Editor. Do not modify the Dreamweaver configuration files within Dreamweaver.
    There are three MMDocumentTypes.xml files to be modified: 
    C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS6\configuration\DocumentTypes
    C:\Users\mhaagsma\AppData\Roaming\Adobe\Dreamweaver CS6\en_US\Configuration
    C:\Users\mhaagsma\AppData\Roaming\Adobe\Dreamweaver CS6\en_US\Configuration\DocumentTypes\
    Step 4. Restart Dreamweaver
    Hopefully the file type will now be recognized and appear with syntax highlighting.

  • Syntax Highlighting for MATRIXx MathScript and TPL

    There have been some questions about text editors for MATRIXx, so I wanted to let everyone know about an application note that we just posted. It describes how to configure a syntax highlighter for use with MathScript and Template Programming Language (TPL). There is also an example of how Crimson Editor can be configured. I choose Crimson Editor because it was free, but the same thing can be done in other syntax highlighters. Using a syntax highlighter makes MATRIXx code a lot easier to read.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/C43375149CB01C3186256E530081EAA5
    While I am at it, I am going to point out some other resources. The application note is located on Developer Zone section of our website, where
    you can find other MATRIXx examples and tutorials:
    http://zone.ni.com/devzone/devzone.nsf/webcategories/A92DB8BA2DE149F486256CBC00655A0C?opendocument
    If you have code or examples that you want to share with other users you can submit the example to the Example Code Library:
    http://www.ni.com/devzone/dev_exchange/ex_search.htm
    Suggestions and feedback can be submitted from Product Feedback section of Contact NI:
    http://sine.ni.com/apps/we/nicc.call_me?p_action=country&p_lang_id=US
    And of course the main MATRIXx page is:
    http://www.ni.com/matrixx
    Carl L
    National Instruments

    I found another editor with syntax highlighting capabilities for MATRIXx. The editor is VIM which is based on the Unix VI editor, and is available on both Solaris and Windows.
    www.vim.org
    Carl L
    National Instruments
    www.ni.com/matrixx

  • How to enable syntax highlighting for jspf files on Dreamweaver CS5.5 on Mac

    I ran into an issue where I couldn't get the color coding (color coding style) for java server pages fragments (.jspf) files to show syntax highliting.
    I followed the adobe instructions on Changing and adding file extensions recognized by Dreamweaver without any luck.
    Here is the solution that worked for me:
    On a Mac:
    1. Edit the /Users/YOUR USER/Library/Application Support/Adobe/Dreamweaver CS5.5/en_US/Configuration/DocumentTypes/MMDocumetTypes.xml
    Note: the Adobe instructions tell you to edit /Applications/Adobe Dreamweaver CS5.5/Configuration/DocumentTypes/MMDocumetTypes.xml (Editing this file didn't do anything for me, so you need to change the file above instead)
    Find,
    <documenttype id="JSP" servermodel="JSP" internaltype="Dynamic" winfileextension="jsp,jst" macfileextension="jsp,jst" file="Default.jsp" writebyteordermark="false" mimetype="text/html">
    Replace with,
    <documenttype id="JSP" servermodel="JSP" internaltype="Dynamic" winfileextension="jsp,jst,jspf" macfileextension="jsp,jst,jspf" file="Default.jsp" writebyteordermark="false" mimetype="text/html">
    2. Edit the /Users/YOUR USER/Library/Application Support/Adobe/Dreamweaver CS5.5/en_US/Configuration/Extensions.txt
    In the All: section on top add the jspf extention right after jsp in my example it looked like this
    HTM,HTML,SHTM,SHTML,HTA,HTC,XHTML,STM,SSI,JS,JSON,AS,ASC,ASR,XML,XSL,XSD,DTD,XSLT,RSS,RDF, LBI,DWT,ASP,ASA,ASPX,ASCX,ASMX,CONFIG,CS,CSS,CFM,CFML,CFC,TLD,TXT,PHP,PHP3,PHP4,PHP5,PHP-D IST,PHTML,JSP,WML,TPL,LASSO,JSF,VB,VBS,VTM,VTML,INC,SQL,JAVA,EDML,MASTER,INFO,INSTALL,THEME,CONFIG,MODU LE,PROFILE,ENGINE,SVG:All
    and I added the jspf and it looks like this now,
    HTM,HTML,SHTM,SHTML,HTA,HTC,XHTML,STM,SSI,JS,JSON,AS,ASC,ASR,XML,XSL,XSD,DTD,XSLT,RSS,RDF, LBI,DWT,ASP,ASA,ASPX,ASCX,ASMX,CONFIG,CS,CSS,CFM,CFML,CFC,TLD,TXT,PHP,PHP3,PHP4,PHP5,PHP-D IST,PHTML,JSP,JSPF,WML,TPL,LASSO,JSF,VB,VBS,VTM,VTML,INC,SQL,JAVA,EDML,MASTER,INFO,INSTALL,THEME,CONFIG,MODU LE,PROFILE,ENGINE,SVG:All
    That's it, Quit Dreamweaver and open it up again. Open the .jspf file and see the color coding (syntax highlighting)
    Hope this helps you and seves you time figuring it out. If this helped, do a good thing, next time you figure something out, tell others about it to save their time too, like I did. Enjoy.

    TheGrandNabib wrote:
    I don't seem to have a user Library folder, my only Library folder is on the same level as my Users folder.
    From Locating your personal configuration folder in the Dreamweaver FAQ:
    In Mac OS X (Lion and Mountain Lion), open Finder and press Shift-Cmd-Go. Type ~/Library/Application Support in the dialog box, and click Go. You should then be able to find the configuration folder.

  • [SOLVED] VIM: different syntax highlighting for new vs existing file

    I've had this minor nagging issue for a while that I've been trying to figure out, but I just don't know where to look.
    It is most obvious with LaTeX files (*.tex).  When I create a new file with "vim file.tex" it is recognized as a latex file and I get syntax highlighting, but it seems odd, or off.  When I close then reopen the same file, it gets "propper" syntax highlighting.
    I gather that this must be because of the two different mechanisms for matching the syntax type: filename versus content.  When the file is new, vim only uses the extension.  Once there is a latex comand (e.g., "\documentclass{article}") it recognizes it as something else and the highlighting style is different.
    It turns out just by actually elaborating exactly what the problem was, I was able to find the solution.  I looked for how vim recognizes the files, and found two relevant lines in /usr/share/vim/vim73/filetype.vim on lines 2093 and 2094.  Apparently the .tex filetype is not the same as .latex and others.  I changed it so it was, and I got the desired behavior.
    I thought about just not posting this - but it may be useful for others.

    You're right about it being overridden.  This change should be able to be placed in ~/.vimrc though.
    Well  that was foolish - I should have read the comments right below in that file.  It says exactly how to set it in vimrc.  I've now added the following to my ~/.vimrc and this is completely solved without modifying the /usr/... file.
    let g:tex_flavor = "tex"
    Last edited by Trilby (2013-03-29 16:11:26)

  • Syntax Highlighting for LESS CSS in Dreamweaver CS5.5

    This article describes how to add the .less extension to Dreamweaver so that it views it as CSS and thus performs proper syntax highlighting.
    I'm using Dreamweaver CS5.5 and following those steps still doesn't work for me. It works perfectly fine in CS5 and earlier versions but not CS5.5.
    Do you have any ideas? I'm modifying the following file as the above link suggests:
    C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\configuration\DocumentTypes\MMDocumentTypes.xml

    Aegis Kleais wrote:
    Sorry, Al, but I couldn't disagree more.  Where I respect the fact that, as coders, we're rather ingrained with our workflow processes and, at times, hesitant to change, I've found LESS' benefits to be very worthwhile.
    No need to apologize. Preprocessing is a topic on which there are differing opinions. You have one. I have one. There are advocates:
    http://blog.urbaninsight.com/2012/04/12/ten-reasons-you-should-be-using-css-preprocessor
    There are those who are not sold:
    http://blog.millermedeiros.com/the-problem-with-css-pre-processors/
    http://www.skybondsor.com/blog/css-preprocessors
    There are those mostly sold:
    http://css-tricks.com/musings-on-preprocessing/
    There are even those who have been converted (but who might reverse at some later point):
    http://cognition.happycog.com/article/preprocess-this
    Heck, even I might be converted someday - or not
    Bottom line for me, right now? I know I can write CSS that is better than most, more efficient than most, and easier to follow than most, and a preprocessor would add unwanted complexity. But that's for me. For someone not able to be organized intutively, or for a large - but carefully coordinated - team, a preprocessor could be a positive.
    But not for me.
    There are evolving trends - popular aspects of the technology that may and should find themselves being adapted into CSS. But I've been around this business as long as CSS has. I've seen buzzwords and trends and I've historically been spot-on in predicting the one that will stick. I think preprocessing will stick - but only insofar as it will be a catalyst for features in future versions of CSS. As a separate technology it makes no sense - to me

  • Syntax Highlighting in nano?

    After seeing nano running on a Linux machine while editing a python file I realised that it was different from my mac version which lacked the beautful syntax highlighting. Anyway to get syntax highlighting? and update the nano version? -Cheers

    How to use syntax highlighting with the GNU nano text editor

  • Dreamweaver CC syntax highlight for  Less

    How to Make Dreamweaver CC syntax highlight , default  syntax highlight have some problem。Thanks。

    Thanks lnayal.
    I  edit Less Code Coloring .
    But Syntax highlight Like Before .
    I want to Make  Syntax highlight Like the left pic.
    Like This .
    http://www.dmxzone.com/go/21528/dmxzone-less-css-compiler

  • Converting video files to mp4 for nano 3rd gen

    I'm trying to find a quick, easy, hassle free way of converting video files such as mpg and avi to mp4 so that i can watch them on my new ipod nano.
    Anyone got any suggestions and ideas?

    Ricktoronto and others,
    Thanks for all the advice! I do have MPEG Streamclip and I'd thought about it, but have not really used it all that much. I didn't spend a whole lot of time looking at it but just did now and see that you convert to Quicktime and in there, you select Apple MPEG-4 and do all your adjustments. Now my version says that it will convert to H264. Does that function not work right?
    The bottom line though is I ended up returning the Video iPod. The biggest drawback is the fact that it does not have Firewire as all I have are Macs with USB 1.1. I could upgrade my Blue & White G3 and put a USB 2.0 card in it but that machine would be REAL slow to convert video. And my iMac of course, can't be upgraded. If I had USB 2.0 or the iPod had Firewire, I would have kept it....
    Still, I'll mess with the conversion programs and see what works best. I'll figure out how to do everything and then once I'm up to speed, maybe consider getting one.
    Jon

  • Has Pacman3 dropped support for the NoUpgrade Lines in pacman.conf?

    I just upgraded to Pacman 3.  When I upgraded I quickly saw some output on my sceen saying it was doing a one time "reset" and I believe it said I could delete the NoUpgrade lines in pacman.conf.
    I noticed that pacman.conf.pacnew does not have any NoUpgrade lines.
    Should I delete all the NoUpgrade lines from my pacman.conf file?
    Is the NoUpgrade line no longer supported in pacman3? 
    If so, how can I protect some of my config files from being overwritten during upgrades?
    Rob

    They're still supported, there just aren't any by default anymore. They were redundant.
    You can/should remove any that are listed in the "backup" list for the packages they come from (pacman -Qii package). Those are all handled as if they were in NoUpgrade anyway.

  • Pacman/Pacman.conf Scripts

    I've been working on these two pieces for a while. For the most part, they're complete to my standards, but obviously they can always looked to be improved upon. I use the first one daily with no real problems (though I could add a little more error handling) and the other one does work for me though I don't need to call upon it too much.
    My goal was really to provide an interface for pacman which was fast but still easy to use. I also realized that I can't write any GUI code, nor do I feel like it's nessisary to make something simple. It really only requires bash, a few coreutils, and pacman to be used, so if you're on a lower-end system and don't want to call upon a large GUI front end, this may be something good for you to try out.
    Any feedback is appreciated too
    Pacman Manager Script
    #!/bin/bash
    #Pacman Manager
    #Author: Doug Swain ([email protected])
    ###Defining Operations###
    function install {
    echo "Installing package now"
    echo
    sudo pacman -S $PACKAGE
    echo
    echo "The package ($PACKAGE) is now installed"
    echo "Press enter to contiue"
    read
    function uninstall {
    echo "Uninstalling package now"
    echo
    sudo pacman -R $PACKAGE
    echo
    echo "The package ($PACKAGE) has been removed."
    echo "Press enter to contiue"
    read
    function sync {
    echo "Syncing with servers"
    echo
    sudo pacman -Sy
    echo
    echo "Sync complete. Press enter to continue"
    read
    function update {
    echo " Updating your system now"
    echo
    sudo pacman -Syu --noconfirm
    sudo pacman -Scc
    echo
    echo "Your system has been updated"
    echo "Press enter to contiue"
    read
    function search {
    clear
    echo "What package would you like to search?"
    read PACKAGE
    sudo pacman -Ss $PACKAGE
    echo "Would you like to search again?"
    echo "[Y]es"
    echo "[N]o"
    read CHOICE
    if [[ "$CHOICE" = [Yy] ]]; then
    search
    elif [[ "$CHOICE" = [Nn] ]]; then
    echo "Search Finished. Press Enter to Continue"
    read
    fi
    function manage {
    clear
    if [ "$UID" != 0 ]; then
    echo "Error! Not running as the root user right now. Become a super user and try again"
    exit 1
    fi
    clear
    echo " Welcome to the Pacman Manager"
    echo
    echo " What would you like to do?"
    echo
    ###ENDDEFINE###
    ###MANAGER###
    manage
    OPTIONS="Install Uninstall Sync Update Search Exit"
    select opt in $OPTIONS; do
    if [ "$opt" = "Install" ]; then
    clear
    echo "What package would you like to install?"
    read PACKAGE
    install
    manage
    elif [ "$opt" = "Uninstall" ]; then
    clear
    echo "What package would you like to uninstall?"
    read PACKAGE
    uninstall
    manage
    elif [ "$opt" = "Sync" ]; then
    clear
    sync
    manage
    elif [ "$opt" = "Update" ]; then
    clear
    update
    manage
    elif [ "$opt" = "Search" ]; then
    clear
    search
    manage
    elif [ "$opt" = "Exit" ]; then
    clear
    exit
    fi
    done
    ###ENDMANAGER###
    pacman.conf Script
    #!/bin/bash
    #Pacman Configurator
    #Tool to configure and modify pacman and /etc/pacman.conf
    #Pretty Stable from my tests, but use with caution
    #Backup your /etc/pacman.conf file just in case.
    #Author: Doug Swain ([email protected])
    ###DEFINE FUNCTIONS####
    function srv_ctl {
    clear
    echo "Server Control"
    echo "Selections:"
    echo "[A]dd URL"
    echo "[R]emove URL"
    echo "[E]nable Resporitories"
    echo "[D]isable Resporitories"
    echo "[b]ack"
    read CHOICE
    if [ "$CHOICE" = "A" ]; then
    cat /etc/pacman.conf | grep "srv_ctl"
    if [ "$?" != "0" ]; then
    echo "[srv_ctl]" >> /etc/pacman.conf
    echo "Include = /etc/pacman.d/custom" >> /etc/pacman.conf
    fi
    clear
    echo "Enter URL"
    read URL
    echo "Adding"
    echo $URL >> /etc/pacman.d/custom
    cat /etc/pacman.d/custom | grep $URL
    echo "The server above has been added."
    elif [ "$CHOICE" = "R" ]; then
    clear
    echo "Current Custom Server List:"
    cat /etc/pacman.d/custom
    echo "Enter URL"
    read URL
    echo "Removing"
    URLTEST=$(cat /etc/pacman.d/custom | grep $URL)
    if [ "$URL" = "$URLTEST" ]; then
    cat /etc/pacman.d/custom | grep -v $URL >> /etc/pacman.d/custom1
    mv /etc/pacman.d/custom1 /etc/pacman.d/custom
    echo "Address removed. Press enter to continue."
    read
    srv_ctl
    elif [ "$URL" != "$URLTEST" ]; then
    echo "Error! Address not found. Press Enter to continue"
    read
    srv_ctl
    fi
    elif [ "$CHOICE" = "E" ]; then
    clear
    echo "Current Resporitiories available"
    ls /etc/pacman.d/
    echo "Enter Resporitory (example: current/custom/extra)"
    read RES
    echo "[$RES]" >> /etc/pacman.conf
    echo "Include = /etc/pacman.d/$RES" >> /etc/pacman.conf
    echo "Enabled. Press Enter to contiue"
    read
    srv_ctl
    elif [ "$CHOICE" = "D" ]; then
    clear
    echo "Current Resporitiories available"
    ls /etc/pacman.d/
    echo "Enter Resporitory (example: current/custom/extra)"
    read RES
    cat /etc/pacman.conf | grep -v "$RES" >> /etc/pacman1.conf
    mv /etc/pacman1.conf /etc/pacman.conf
    echo "Disabled. Press Enter to continue."
    read
    srv_ctl
    elif [ "$CHOICE" = "B" ]; then
    echo "Press enter to continue"
    read
    manage
    fi
    function pkg_ctl {
    clear
    echo "What would you like to do?"
    echo "[A]dd Package to Ignore List"
    echo "[R]emove Package from Ignore List"
    echo "[b]ack"
    read CHOICE
    if [ "$CHOICE" = "A" ]; then
    clear
    echo "Enter package name"
    read PKG
    echo "Adding"
    echo "IgnorePkg = $PKG" >> /etc/pacman.conf
    echo "HoldPkg = $PKG" >> /etc/pacman.conf
    echo "Package added. Press Enter to Continue"
    read
    pkg_ctl
    elif [ "$CHOICE" = "R" ]; then
    clear
    echo "Enter package name"
    read PKG
    echo "Removing"
    cat /etc/pacman.conf | grep -v "$PKG" >> /etc/pacman1.conf
    mv /etc/pacman1.conf /etc/pacman.conf
    echo "Package removed. Press Enter to Continue"
    read
    pkg_ctl
    elif [ "$CHOICE" = "B" ]; then
    echo "Press enter to continue"
    read
    manage
    fi
    function manage {
    clear
    if [ "$UID" != 0 ]; then
    echo "Error! Not running as the root user right now. Become a super user and try again"
    exit 1
    fi
    clear
    echo " Pacman Configuration"
    echo " What would you like to do?"
    ###END DEFINE####
    ###MANAGER####
    manage
    OPTIONS="Server_Control Package_Control Exit"
    select opt in $OPTIONS; do
    if [ "$opt" = "Server_Control" ]; then
    srv_ctl
    elif [ "$opt" = "Package_Control" ]; then
    pkg_ctl
    elif [ "$opt" = "Exit" ]; then
    clear
    exit 0
    fi
    done
    ###ENDMANAGER###
    Sadly my webserver is down as of now, so I can't post these scripts directly from my site, but this should work fine anyway. Enjoy!

    Oh no I understand. Hah I figured that'd be the case that somebody created something like this.
    Well my main point with these scripts was really just for self-teaching and such. Essentially though, my idea was to make a script which can help somebody who is newer and doesn't quite know all the helpful syntax of pacman or somebody who just doesn't want to be bothered with it have a quick and easy way to do it. Since there are already GUI front ends to do something like this, I figured a scripted version would be nicer for somebody who may need something less resource intense. That's the first script
    The second script was just to make it a little less painful to navigate the pacman.conf file without having to go through it and figure out the syntax for everything (if you don't already know it) because I figured it was easier to find just a URL than to know all the syntax of the config file, and this just fills in the voids for you.
    I use it for myself daily and it does make it a bit easier when you just want to install a package or update real quickly. Like I said though, I'm not surprised that there's something better implimented already. I figured I'd just toss it out there to see who could enjoy it. I appreciate the questioning though as you're right; I didn't make myself very clear-cut. At any rate, useful or not for people, they're here haha. Like I also said, I wrote these just as a learning experience for coding and other things. So, if somebody can find a use for them, all the better. If not, um, sorry to waste thread space haha.

  • [SOLVED] Pacman "config file could not be read" error during Arch ins

    I've been attempting to get Arch setup for a while now, and after having some trouble with partitions, my wireless connecting, and setting up repos and mirrors, which the Wiki helped me solve, I've hit a bigger bump.  While updating the system using pacman as the Beginners Guide says to do, I get errors when I try to continue the update process as follows :
    btw: I'm typing this on a laptop next to my computer
    [root@McArch~]# pacman -Syu
    error: config file /etc/pacman.d/core could not be read
    error: config file /etc/pacman.d/extra could not be read
    error: config file /etc/pacman.d/community could not be read
    :: Synchronizing package databases . . .
    error: failed to updated core (unexpected error)
    error: failed to updated extra (unexpected error)
    error: failed to updated community (unexpected error)
    error: failed to synchronize any databases
    Any tips as to whats going on?  I've tried to created said files, and even insert mirrors into the file, like in the /etc/pacman.d/mirrorlist file but this doesn't seem to help
    Last edited by Windfinder (2008-09-29 20:43:29)

    Glad you got it working.
    I'm not sure what happened in your install but I just finished using an old 2007.08 iso and pacman first starts out with /etc/pacman.d/core, etc/pacman.d/extra, /etc/pacman.d/community ... etc., but I never had your problem when I did the #pacman -Syu after initial install reboot.  The pacman update removes the above mentioned repos and replaces them with a single /etc/pacman.d/mirrorlist.  You must have messed up an initial config file somehow as I couldn't get the same errors you got.  It looks like you had your /etc/pacman.conf file messed up somehow and when you pointed it to the mirrorlist it could finally work properly.  I'll just include my /etc/pacman.conf file and /etc/pacman.d/mirrorlist so you can compare.  NB*  these are from my x86_64 so for 32 bit machines i686 would replace x86_64 in the files.
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl %u > %o
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #NoPassiveFtp
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # Testing is disabled by default. To enable, uncomment the following
    # two lines. You can add preferred servers immediately after the header,
    # and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    /etc/pacman.d/mirrorlist
    # Arch Linux repository mirrorlist
    # North America
    # - United States
    Server = http://mirror.neotuli.net/arch/$repo/os/x86_64
    Server = http://holmes.umflint.edu/archlinux/$repo/os/x86_64
    Server = http://archlinux.unixheads.org/$repo/os/x86_64
    Server = ftp://ftp.archlinux.org/$repo/os/x86_64
    Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
    Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
    Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
    Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
    Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
    Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64
    Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64
    # - Canada
    Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/@carch
    Well it was an interesting way to kill 30+ minutes.

  • [Solved]Add kernel26 to IgnorePkg in /etc/pacman.conf. Not ignored.

    Using kdemod4.3(32bit).  I re-installed kernel26-2.6.30.5-1-i686(earliest in pacman  pkg cache) and added kernel26 and kernel-headers to /etc/pacman.conf IgnorePkg but # "pacman -Syu" still asks to upgrade kernel to 2.30.6-1-i686. What do I add to that IgnorePkg to avoid kernel upgrade? Tried kernel, kernel26 and kernel26*. Adding nvidia,nvidia-utils and xorg-server to Ignorepkg give me that thee aren't upgraded(desirred result). Thanx.
    Last edited by lestoil (2009-10-08 18:08:14)

    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir     = /
    #DBPath      = /var/lib/pacman/
    #CacheDir    = /var/cache/pacman/pkg/
    #LogFile     = /var/log/pacman.log
    HoldPkg     = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst   = pacman
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl %u > %o
    #CleanMethod = KeepInstalled
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    IgnorePkg   = nvidia nvidia-utils xorg-server 
    #IgnoreGroup =
    #NoUpgrade   =
    #NoExtract   =
    # Misc options (all disabled by default)
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    # REPOSITORIES
    #   - can be defined here or included from another file
    #   - pacman will search repositories in the order defined here
    #   - local/custom mirrors can be added here or in separate files
    #   - repositories listed first will take precedence when packages
    #     have identical names, regardless of version number
    #   - URLs will have $repo replaced by the name of the current repo
    # Repository entries are of the format:
    #       [repo-name]
    #       Server = ServerName
    #       Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # Testing is disabled by default.  To enable, uncomment the following
    # two lines.  You can add preferred servers immediately after the header,
    # and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    #KDEmod4
    [kdemod-core]
    Server = http://mirror.rit.edu/kdemod/core/i686
    #KDEmod4
    [kdemod-extragear]
    Server = http://mirror.rit.edu/kdemod/extragear/i686
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    #Yaourt
    [archlinuxfr]
    Server = http://repo.archlinux.fr/i686
    # An example of a custom package repository.  See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
      Here is complete /etc/pacman.conf. file without the "kernel" or "kernel26" entry which doesn't work.

Maybe you are looking for

  • Just updated to the Latest Lion version, now Safari does not work. Please see attached and advise..? Thanks.

    Process:     Safari [806] Path:        /Applications/Safari.app/Contents/MacOS/Safari Identifier:  com.apple.Safari Version:     5.1.6 (7534.56.5) Build Info:  WebBrowser-7534056005000000~6 Code Type:   X86-64 (Native) Parent Process:  launchd [185]

  • Diversity and trying to conver two different areas

    So the whole purpose of diversity is to provide/improve coverage in a same area.  Basically two antennas placed with a reasonable distance from each other and the concept is that one antenna might receive a better signal than other and then both sign

  • Purchase order field optional for Movement type

    Hi SAP friends , Please let me know the config path to make the purchase order field as optional for particular mvt types that are used in MIGO transaction to receive the overage stock or reversal of overage stock Regards, JR.

  • Reg: Enhancements

    Hi , How to find the number of times the particular t-code has been accessed over a user defined period? If the user didn't access the T.code, the report would show a 0 or a 2 if the user had accessed the report twice. Do we have any standard table o

  • Want music to be organised in folder struct

    Is there no way I can browse tracks in a "normal" way on the player. I want to navigate the folder structure I load onto the player rather than having to go through the folder which are based on tag information. I like to use a nested tree structure