Valeu a todos, mas Bruno era realmente isso que eu pesquisava!!! vou
aplicar o patch e ver se funciona!!
Falow.
On 10/26/05, Bruno de Oliveira Schneider [EMAIL PROTECTED] wrote:
On 10/26/05, João Salvatti wrote:
já pesquisei na internet e em alguns tutoriais sobre o bash mas não
consegui
On Wed, 2005-10-26 at 10:23 -0300, João Salvatti wrote:
Olá pessoal da lista,
já pesquisei na internet e em alguns tutoriais sobre o bash mas não
consegui nada que realmente me ajudasse. Gostaria de saber se tem como
alterar o indicado de posição (na verdade não sei o nome daquele
negócio
Uma curiosidade..
Qual a vantagem disto? :)
é k o negocim que fika piskandu imbaixo da tela é taum bunitim oOOo
Ainda bem que o brasil é um estado de direito senão gente como eu
estaria apodrecendo em alguma cadeia.
--
Paulo Marcondes
http://rj.debianbrasil.org
procura por set prompt
prompt é uma variavel de ambiente... que faz exatamente isso...
vc vai achar um monte de coisa!!
ae vc achando coloca ele no teu ~/.bashrc
ae posta aqui o resultado...
t+
- Original Message -
From: João Salvatti [EMAIL PROTECTED]
To:
No dia 26/10/2005 às 10:23,
João Salvatti [EMAIL PROTECTED] escreveu:
já pesquisei na internet e em alguns tutoriais sobre o bash mas não
consegui nada que realmente me ajudasse. Gostaria de saber se tem como
alterar o indicado de posição (na verdade não sei o nome daquele
negócio direito),
On 10/26/05, João Salvatti wrote:
já pesquisei na internet e em alguns tutoriais sobre o bash mas não
consegui nada que realmente me ajudasse. Gostaria de saber se tem como
alterar o indicado de posição (na verdade não sei o nome daquele
negócio direito), mas vou exemplificar:
[EMAIL
Will Lowe [EMAIL PROTECTED] writes:
Yup, kill the eval and life is good. Thanks, Mr. Browning.
You're welcome, but sheesh, call me Rob :
One final word for those who were following this thread.
This
if [ ${PS1:-UNSET} = UNSET ]
should have been
if [ ${PS1:-UNSET} = UNSET ]
Without
If I do this:
On 5 Sep 1997, Rob Browning wrote:
set_titlebar () { echo -n ]2;$*; }
export -f set_titlebar
And then someplace call set_titlebar, I just get ^[]2;$*^G
echoed to my terminal. It doesn't ever set the titlebar. I'm using rxvt.
Suggestions?
Will Lowe [EMAIL PROTECTED] writes:
If I do this:
On 5 Sep 1997, Rob Browning wrote:
set_titlebar () { echo -n ]2;$*; }
export -f set_titlebar
And then someplace call set_titlebar, I just get ^[]2;$*^G
echoed to my terminal. It doesn't ever set the titlebar. I'm
Jens B. Jorgensen [EMAIL PROTECTED] writes:
Gonzalo A. Diethelm wrote:
A while ago, somebody in this forum posted how to make the current
working directory appear on the title bar in an xterm. I lost that
article somehow; could the author repost it? Thanks in advance...
Well, you
Since you're providing enlightenment ... I ran into a problem when I
tried to modify your script for my own preferences. Specifically, when
I tried to change the value of PS1 to give a colorized prompt. The
string I began with was
On 5 Sep 1997, Rob Browning wrote:
Will Lowe [EMAIL PROTECTED] writes:
set_titlebar () { echo -n ]2;$*; }
Here ^[ and ^G actually have to be real control characters not a ^
Ok, now I get a
[EMAIL PROTECTED]:~: command not found
[EMAIL PROTECTED]:~ is what should end up in the
Michael Harnois [EMAIL PROTECTED] writes:
Since you're providing enlightenment ...
Don't know if I'd go that far :
This string works find in a straight .bashrc. However, when I use it
in your file, it works fine on a login shell. When I start a subshell,
though, I get
I'd have to see the
Will Lowe [EMAIL PROTECTED] writes:
Ok, now I get a
[EMAIL PROTECTED]:~: command not found
[EMAIL PROTECTED]:~ is what should end up in the titlebar, but it's instead
somehow being evaluated. Any other clues?
Email me a snippet that causes the problem, and I'll check it out. If
a
Rob, thanks a lot for your script. I think there is a small glitch,
though:
if [ ${PS1:-UNSET} = UNSET ]
then
INTERACTIVE_SHELL=F
else
INTERACTIVE_SHELL=T
if [ $TERM = xterm -o $TERM = rxvt ]
then
set_titlebar () { echo -n ]2;$*; }
export -f
Gonzalo A. Diethelm [EMAIL PROTECTED] writes:
Rob, thanks a lot for your script. I think there is a small glitch,
though:
Not surprised :
export PS1='\n\!\$ '
export PROMPT_COMMAND='eval set_titlebar [EMAIL
PROTECTED]:`my_dirname`'
When I did this, the title bar showed the
On 6 Sep 1997, Rob Browning wrote:
Gonzalo A. Diethelm [EMAIL PROTECTED] writes:
Rob, thanks a lot for your script. I think there is a small glitch,
though:
export PROMPT_COMMAND='eval set_titlebar [EMAIL PROTECTED]:`my_dirname`'
Yup, kill the eval and life is good. Thanks, Mr.
A while ago, somebody in this forum posted how to make the current
working directory appear on the title bar in an xterm. I lost that
article somehow; could the author repost it? Thanks in advance...
On Aug 22, 1997, at 22:44, Dave Cinege wrote:
On Fri, 22 Aug 1997 12:32:35 -0300 (EST), Daniel
Ask and ye shall receive : This is a cut-down version of my bashrc.
It also shows a trick to get around the problem with some shells
actually being login shells, but not calling .bash_login (i.e. X login
shells). I just symlink my .bash_login to my .bashrc, and let .bashrc
handle figuring out
Gonzalo A. Diethelm wrote:
A while ago, somebody in this forum posted how to make the current
working directory appear on the title bar in an xterm. I lost that
article somehow; could the author repost it? Thanks in advance...
Well, you should have RTFMpage, but here's the excerpt you
Is it possible to do it in tcsh?
Rob Browning wrote:
Ask and ye shall receive : This is a cut-down version of my bashrc.
It also shows a trick to get around the problem with some shells
actually being login shells, but not calling .bash_login (i.e. X login
shells). I just symlink my
Jens B. Jorgensen [EMAIL PROTECTED] writes:
Well, you should have RTFMpage, but here's the excerpt you want:
That seems a little over-harsh.
a command. Bash allows these prompt strings to be cus
tomized by inserting a number of backslash-escaped special
characters
Lawrence [EMAIL PROTECTED] writes:
Is it possible to do it in tcsh?
Good question. I've never used tcsh, but I would guess so. The key
thing to note is this escape sequence which changes the titlebar:
echo -n ]2;$*
or with a fixed string for illustration:
echo -n ]2;My new
On Sat, 6 Sep 1997, Lawrence wrote:
Is it possible to do it in tcsh?
Yes, this is from the O'Reilly book Using csh tcsh. I use this at
work on SunOS 4.1.4 running tcsh. There are two files involved, your
.cshrc (or .tchsrc) and another little file ~/.settitle.
= .cshrc ==
On Fri, 22 Aug 1997 12:32:35 -0300 (EST), Daniel Doro Ferrante wrote:
Hi All !
Does anybody know how do I change colors in a bash prompt. I can
do it in tcsh, but no succes with bash... (even after reading the man).
#b/w prompt
#PS1=\\h\\$ \\u [\\w]
#Pretty color prompt.
25 matches
Mail list logo