Ignore:
Timestamp:
01/24/2016 02:04:18 AM (8 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
systemd-13485
Children:
83f6c770
Parents:
295ca00
Message:

Update to LVM-2.02.420 (merged from trunk r16816).
Update to fuse-2.9.5 (merged from trunk r16814).
Update to gptfdisk-1.0.1 (merged from trunk r16553).
Update to xfsprogs-4.3.0 (merged from trunk r16376).
Update to JOE-4.1 (merged from trunk r16385).
Update to nano-2.5.1 (merged from trunk r16799).
Update to tcsh-6.19.00 (merged from trunk r16332).
Update to zsh-5.2 (merged from trunk r16706).
Update to qemu-2.5.0 (merged from trunk r16773).

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16834 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/shells/tcsh.xml

    r295ca00 r54789f3  
    55  %general-entities;
    66
    7   <!ENTITY tcsh-download-http "http://www.sfr-fresh.com/unix/misc/tcsh-&tcsh-version;.tar.gz">
     7  <!ENTITY tcsh-download-http "http://fossies.org/linux/misc/tcsh-&tcsh-version;.tar.gz">
    88  <!ENTITY tcsh-download-ftp  "ftp://ftp.astron.com/pub/tcsh/tcsh-&tcsh-version;.tar.gz">
    9   <!ENTITY tcsh-md5sum        "6eed09dbd4223ab5b6955378450d228a">
    10   <!ENTITY tcsh-size          "912 KB">
    11   <!ENTITY tcsh-buildsize     "12.6 MB">
    12   <!ENTITY tcsh-time          "0.2 SBU">
     9  <!ENTITY tcsh-md5sum        "f5f854833578647795bc906dd4bcb5d5">
     10  <!ENTITY tcsh-size          "928 KB">
     11  <!ENTITY tcsh-buildsize     "15 MB (with tests)">
     12  <!ENTITY tcsh-time          "0.2 SBU (with tests)">
    1313]>
    1414
     
    6868  <sect2 role="installation">
    6969    <title>Installation of Tcsh</title>
     70   
     71    <para>
     72      First, fix the package for gcc5 optimizations:
     73    </para>
     74
     75<screen><userinput>sed -e 's/ i)/ k)/' \
     76     -e '/ k)/ i \   k = i;' \
     77     -e '/\*cp/ a \  volatile size_t k;' \
     78     -i tc.alloc.c</userinput></screen>
    7079
    7180    <para>Install <application>Tcsh</application> by running the following
    7281    commands:</para>
    7382
    74 <screen><userinput>sed -i -e 's|\$\*|#&amp;|' -e 's|fR/g|&amp;m|' tcsh.man2html &amp;&amp;
     83<screen><userinput>sed -i 's|fR/g|&amp;m|' tcsh.man2html &amp;&amp;
    7584
    7685./configure --prefix=/usr --bindir=/bin &amp;&amp;
     
    94103    <title>Command Explanations</title>
    95104
    96     <para><command>sed -i -e 's|\$\*|#&amp;|' -e 's|fR/g|&amp;m|' tcsh.man2html</command>:
     105    <para><command>sed -i 's|fR/g|&amp;m|' tcsh.man2html</command>:
    97106    This updates some deprecated Perl code.</para>
    98107
     
    175184<literal>/bin/tcsh
    176185/bin/csh</literal>
     186EOF</userinput></screen>
     187
     188      <para>
     189        The following <filename>~/.cshrc</filename> provides two alternative
     190        colour prompts and coloured <command>ls</command> output. If you prefer
     191        a global modification, issue the command as the
     192        <systemitem class="username">root</systemitem> user, replacing
     193        <filename>~/.cshrc</filename> by <filename>/etc/csh.cshrc</filename>.
     194      </para>
     195
     196<screen><userinput>cat &gt; ~/.cshrc &lt;&lt; "EOF"
     197<literal># Original at:
     198# https://www.cs.umd.edu/~srhuang/teaching/code_snippets/prompt_color.tcsh.html
     199
     200# Modified by the BLFS Development Team.
     201
     202# Add these lines to your ~/.cshrc (or to /etc/csh.cshrc).
     203
     204# Colors!
     205set      red="%{\033[1;31m%}"
     206set    green="%{\033[0;32m%}"
     207set   yellow="%{\033[1;33m%}"
     208set     blue="%{\033[1;34m%}"
     209set  magenta="%{\033[1;35m%}"
     210set     cyan="%{\033[1;36m%}"
     211set    white="%{\033[0;37m%}"
     212set      end="%{\033[0m%}" # This is needed at the end...
     213
     214# Setting the actual prompt. Two separate versions are available for you to try. Pick
     215# whichever one you like better, and change the colors as you want.
     216# Just don't mess with the ${end} guy in either line... Comment out or
     217# delete the prompt that you don't use.
     218
     219set prompt="${green}%n${blue}@%m ${white}%~ ${green}%%${end} "
     220set prompt="[${green}%n${blue}@%m ${white}%~ ]${end} "
     221
     222# This was not in the original URL above.
     223# Provides coloured ls
     224alias ls ls --color=always
     225
     226# Clean up after ourselves...
     227unset red green yellow blue magenta cyan yellow white end</literal>
    177228EOF</userinput></screen>
    178229
Note: See TracChangeset for help on using the changeset viewer.