bash

From: Lajos Mester (l.mester_at_coming-it.de)
Date: 09/23/03

  • Next message: Jeronimo Pellegrini: "Re: SpamAssassin and false-negative spam"
    To: debian-user@lists.debian.org
    Date: Tue, 23 Sep 2003 13:58:41 +0200
    
    

    Hi,

     i'm having problem with the bash.

     As user I cannot enter the letter 'M', but as root works fine (tcsh as user
    also works...). Some ideas?

    THX
    Lajos

    The system:
    GNU bash, version 2.05b.0(1)-release-(i386-pc-linux-gnu)
    Debian testing/unstable kernel 2.4.20-3-k7

    The files:
    .bashrc:
    # ~/.bashrc: executed by bash(1) for non-login shells.
    # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
    # for examples

    # If running interactively, then:
    if [ "$PS1" ]; then

        # don't put duplicate lines in the history. See bash(1) for more options
        # export HISTCONTROL=ignoredups

        # check the window size after each command and, if necessary,
        # update the values of LINES and COLUMNS.
        #shopt -s checkwinsize

        # enable color support of ls and also add handy aliases
        if [ "$TERM" != "dumb" ]; then
            eval `dircolors -b`
            alias ls='ls --color=auto'
            #alias dir='ls --color=auto --format=vertical'
            #alias vdir='ls --color=auto --format=long'
        fi

        # some more ls aliases
        #alias ll='ls -l'
        #alias la='ls -A'
        #alias l='ls -CF'

        # set a fancy prompt
        PS1='\u@\h:\w\$ '

        # If this is an xterm set the title to user@host:dir
        #case $TERM in
        #xterm*)
        # PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
        # ;;
        #*)
        # ;;
        #esac

        # enable programmable completion features (you don't need to enable
        # this, if it's already enabled in /etc/bash.bashrc).
        #if [ -f /etc/bash_completion ]; then
        # . /etc/bash_completion
        #fi

        export EDITOR=/usr/bin/vi
    fi

    .bash_profile:
    # ~/.bash_profile: executed by bash(1) for login shells.
    # see /usr/share/doc/bash/examples/startup-files for examples.
    # the files are located in the bash-doc package.

    # the default umask is set in /etc/login.defs
    #umask 022

    # the rest of this file is commented out.

    # include .bashrc if it exists

    #if [ -f ~/.bashrc ]; then
    # source ~/.bashrc
    #fi

    # set PATH so it includes user's private bin if it exists
    #if [ -d ~/bin ] ; then
    # PATH=~/bin:"${PATH}"
    #fi

    # do the same with MANPATH
    #if [ -d ~/man ]; then
    # MANPATH=~/man:"${MANPATH}"
    # export MANPATH
    #fi

    .inputrc:

    ME/.inputrc

    # key bindings
    "\e[1~": beginning-of-line
    "\e[3~": delete-char
    "\e[4~": end-of-line
    # (F1 .. F5) are "\e[[A" ... "\e[[E"
    "\e[[A": "info \C-m"

    #set bell-style visible # please don't beep
    set meta-flag On # allow 8-bit input (i.e, accented letters)
    #set convert-meta Off # don't strip 8-bit characters
    #set output-meta On # display 8-bit characters correctly
    set horizontal-scroll-mode On # scroll long command lines
    set show-all-if-ambiguous On # after TAB is pressed

    /etc/bash.bashrc:
    # System-wide .bashrc file for interactive bash(1) shells.

    shopt -s checkwinsize

    # enable bash completion in interactive shells

    #if [ "$PS1" -a -f /etc/bash_completion ]; then
    # . /etc/bash_completion
    #fi

    /etc/inputrc:
    # /etc/inputrc - global inputrc for libreadline
    # See readline(3readline) and `info rluserman' for more information.

    # Be 8 bit clean.
    set input-meta on
    set output-meta on

    # To allow the use of 8bit-characters like the german umlauts, comment out
    # the line below. However this makes the meta key not work as a meta key,
    # which is annoying to those which don't need to type in 8-bit characters.

    # set convert-meta off

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Jeronimo Pellegrini: "Re: SpamAssassin and false-negative spam"

    Relevant Pages

    • Re: Add to $PATH how?
      ... the ``bash'' executes the commands listed ... in ``/etc/profile'' - if this file does not exist, bash does not mind its ... For all further shells, ... commands in the `.bashrc' file in the home directory of actual user. ...
      (Fedora)
    • Re: .bashrc not executed
      ... >>> On all my accounts, I have bash as my shell. ... > Okay, a local Unix guru assured me that .bashrc should be read, ... > Between login and non-login shells, ...
      (comp.security.ssh)
    • Re: .profile .bash_logout scripts never get called in FC6
      ... There are some other shells than bash around and their ... I guess it's sourced by some bashrc, or maybe by /etc/profile which than ... is sourced by some gdm script. ...
      (comp.os.linux.misc)
    • Re: [ Attn: Randy ] Ad-hoc Parsing?
      ... One of the biggest advantages of Unix-like shells ... > flexible as the Unix scripts using the more powerful ... about bash, which being a fully-capable shell, can launch programs ... > execute the com program itself). ...
      (alt.lang.asm)
    • Re: [ Attn: Randy ] Ad-hoc Parsing?
      ... > if people have been discussing the unix ... One of the biggest advantages of Unix-like shells ... better Unix-like shells (sh, csh, bash, ...) used in Unix/Linux ... that scripts in DOS/Windows (using the less ...
      (alt.lang.asm)