[FUGSPBR] UNIX TIP!!

Ricardo A. Reis n.i.b em terra.com.br
Ter Jul 2 00:35:12 BRT 2002


      E' sempre bom postar dicas e porque naum alguns segredos que
talvez so' aqueles usuarios de muitos anos descobriram, estou passando
pra lista uma pagina muito interessante sobre Unix em geral, naum so'
FreeBSD mais todos os outros sabores  www.ugu.com muitos devem
conhecer mais acredito que muitos ainda naum, a mensagem original
desse email e' uma dica, todos podem receber um diariamente e' so se
cadastrar nesse no site!! 
      Sempre que for possivel e tiver um tempo pra olhar meu Bookmarks
, vou  postar um link sobre Unix vou procurar filtrar sobre FreeBSD!! 
    
     Ate' +++




> ---------- Mensagem original -----------
> 
> De      : Unix Guru Universe <listserv em ugu.com>
> Para    : n.i.b em terra.com.br
> Cc      : 
> Data    : Mon, 1 Jul 2002 13:17:54 -0700
> Assunto : UNIX TIP: PROGRESS STATUS IN XTERM TITLEBAR
> 
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> 
		      UNIX GURU UNIVERSE 
> 
		         UNIX HOT TIP
> 
> 
		Unix Tip 2008 - July  1, 2002
> 
> 
	    http://www.ugu.com/sui/ugu/show?tip.today
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> 
> PROGRESS STATUS IN XTERM TITLEBAR
> 
> Sometimes it is handy to be able 
> to show some information in the 
> xterms title bar, for example
> if you download a set of large 
> files (thereby producing lots 
> of meaningless information on 
> the terminal) and you want to 
> know which file is actually 
> beeing downloaded.
> 
> For this purpose, I hacked a few 
> lines of shell code that would 
> put any information into the 
> xterms title bar. I called the 
> script ttshow.
> 
> #!/bin/sh
> if [ -z $DISPLAY ]; then
>         echo "ESC]0; $* ^G"
> fi
> 
> In this little script, the 
> string ESC has to be replaced 
> by one real escape character 
> (ascii 0x1b), the string "^G" 
> has to be replaced by a bel 
> character (ascii 0x07).
> 
> Now I can make my scripts like 
> this:
> 
> for file in in `cat filenames`; do
>         ttshow "downloading $file"
>         wget $file
> done
> 
> ..and it will tell me on the 
> first glance what it's doing.
> 
> For more information about 
> this, unpack the X distribution 
> and search for the file 
> ctlseqs.ms - this file belongs 
> to the xterm distribution and 
> contains all the escape 
> sequences xterm knows about.
> 
> 
> This tip generously supported 
> by: ulinzen+ugu em sendmail.com
> 
> 
> --------------------------------------------------------------------------
> To Subscribe:    http://www.ugu.com/sui/ugu/show?tip.subscribe
> To Unsubscribe:  http://www.ugu.com/sui/ugu/show?tip.unsubscribe
> To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today
> 
> ==========================================================================
> DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
> NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX 
> GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU  ADVISES THAT 
> ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.
> 
> Unix Guru Universe - www.ugu.com - tips em ugu.com - Copyright 1994-2001
> ==========================================================================
> 
> 
> 

N.I.B > Ricardo e' um!

Viciado="Informatica"
Aluno="Cisco Network Academy" 
Usario="FreeBSD,BeOS,Linux"
Maniaco="Rock-Jazz-MPB"
Amante="das Mulheres"
Desempregado="isso e'o pior"

______________________________________________
http://www2.fugspbr.org/mailman/listinfo/fugspbr



Mais detalhes sobre a lista de discussão freebsd