help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xterm and Readline (was: select large text with mouse)


From: pturing
Subject: Re: Xterm and Readline (was: select large text with mouse)
Date: Sat, 14 Jun 2008 11:29:55 -0700 (PDT)
User-agent: G2/1.0

> i put the line "source ~/.profile" in my .bashrc;
> when i loaded xterm i got a blank screen with no login prompt;
>
> here's the .profile file; notice that it also includes the "export..."
> lines for
> .inputrc:
>
> ~/.profile:
> --------------snip----------------
> # the default umask is set in /etc/profile
> #umask 022
>
> # if running bash
> if [ -n "$BASH_VERSION" ]; then
>     # include .bashrc if it exists
>     if [ -f ~/.bashrc ]; then
>         . ~/.bashrc
>     fi
> fi
>

Your .profile already has a line that loads .bashrc. A period at the
beginning of a line is the same as source. So you have your .profile
calling .bashrc and your .bashrc calling .profile, which means its in
an infinite loop, so that's why you got a blank screen.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]