Re: [gentoo-user] tmux vs. screen

2010-11-18 Thread Florian CROUZAT

On 18 nov. 2010, at 20:52, Paul Hartman wrote:

 On Thu, Nov 18, 2010 at 8:27 AM, Stroller
 strol...@stellar.eclipse.co.uk wrote:
 I think what really won my heart, and did so quite quickly, is that tmux has 
 a
 status bar configured by default. I'm pretty sure you can do that with 
 screen,
 too, but I've never bothered, because it seemed too much effort to learn and 
 it
 just seemed flashy and pointless. I realised how mistaken I was within a 
 couple
 of hours of using tmux. It has absolutely changed the way I use terminal
 multiplexers, and so I spent several hours the next day configuring mine and
 getting the colours and stuff perfect.
 
 I have not used tmux but I agree completely, I hate to use screen
 without the status bar. I'm using one I copied from here or the forums
 or the gentoo wiki or someplace out there in WWW land. (Thanks to the
 person who made it, whoever you are)
 
 Add this to your .screenrc:
 caption always %{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c

Also, amongst other things, =tmux-1.3 has mouse support.
You can scroll using your mouse in copy mode and use your mouse to select one 
of the splitted panes of your active window.
You can also break/join panes in and out the active window and it has awesome 
predefined layouts.
I'll add that tmux has a readable and even understandable man page and the 
dev(s) is really reactive on the ml/irc.

ps : in case anyone needs a customized tmux.conf, here's mine 
http://sprunge.us/WHNU

-
Florian.
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




Re: [gentoo-user] Re: oder of files opened by a process

2010-10-01 Thread Florian CROUZAT

On 1 oct. 2010, at 21:26, Grant Edwards wrote:

 On 2010-10-01, Dale rdalek1...@gmail.com wrote:
 Al wrote:
 You're running Gentoo Windows?
 
 
 Yes I do.
 
 
 
 Someone is confused.  I'm not sure who tho.  :/
 
 I certainly feel a bit confused.  I was aware of Gentoo/BSD...

I think someone should have mentioned the gentoo/alt project way before in this 
topic.
This is what Al is trying to improve giving us Cygwin support.
Here's the link, http://www.gentoo.org/proj/en/gentoo-alt/prefix/ (I run a 
x64-macos Gentoo prefix)

Cheers for your problem Al, maybe try the gentoo-alt ML to avoid all the noise 
but you sure reach more ppl here.

-
Florian.
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




Re: [gentoo-user] Not head, not tail, maybe belly

2010-09-22 Thread Florian CROUZAT

On 22 sept. 2010, at 17:04, Maciej Grela wrote:

 2010/9/22 Al oss.el...@googlemail.com:
 Hi,
 
 I am looking for a program similar to head or tail. It should display
 a given range of lines or take a line and a context number like grep.
 
 Any suggestions? Thanks in advance.
 
 
 gr...@pazuzu ~ $ cat /etc/passwd | sed -n -e '4,10 p'


Best solution so far, but useless use of cat, and the subshell overhead of the 
pipe.

-
Florian.
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




Re: [gentoo-user] strange network problem

2010-09-07 Thread Florian CROUZAT

On 7 sept. 2010, at 15:51, 路 wrote:

 Thinks everyone:
  DNS woks well for me. i can ping www.google.com. Just can't access it in 
 web-browsers without rebooting system.Sometimes I thought mybe it's the 
 problem of Power.But now i doubt  about it! Because even while I am watching 
 videos online( about half an our) it happens.
 Here is the wireshark capture result:I don't know why there are so manay 
 RTS.
 Seq=0 Ack=1 Win=5672 Len=0 MSS=1430 TSV=1581039706 TSER=40437152 WS=6
 32,14.006920,192.168.1.102,64.233.181.113,TCP,57028  http [SYN] 
 Seq=0 Win=5840 Len=0 MSS=1460 TSV=40490336 TSER=0 WS=6
 33,15.045762,64.233.181.113,192.168.1.102,TCP,http  57028 [SYN, 
 ACK] Seq=0 Ack=1 Win=5672 Len=0 MSS=1430 TSV=3738233147 TSER=40437152 WS=6
 34,15.045788,192.168.1.102,64.233.181.113,TCP,57028  http [RST] 
 Seq=1 Win=0 Len=0
 35,15.063001,64.233.181.113,192.168.1.102,TCP,http  57028 [SYN, 
 ACK] Seq=0 Ack=1 Win=5672 Len=0 MSS=1430 TSV=3738233315 TSER=40437152 WS=6
 36,15.063027,192.168.1.102,64.233.181.113,TCP,57028  http [RST] 
 Seq=1 Win=0 Len=0

Since you are the one sending RESETs instead of ACKs, I'd use hping (hping -S 
-p 80 64.233.181.113) and check if the box also sends RESETs instead of ACKs 
using CLI, or with bash+nc : 
( echo GET / HTTP/1.0 ; echo ; echo host:www.google.com ; echo ) | nc 
64.233.181.113 80
If you can actually read google sources using that, your browser is to blame, 
or a plugin ?

-
Florian.
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




Re: [gentoo-user] Re: ebuilds and overlay

2010-08-26 Thread Florian CROUZAT

On 26 août 2010, at 20:11, Al wrote:

 2010/8/26 Al oss.el...@googlemail.com:
 
 Ok, learning by trying. Threw away all older stuff and used the latest
 version. Seems to work.
 
 Al

Have you thought to join IRC ? You've sent more than 70 mails both to 
gentoo-{user,alt} in less than a week.
Most of them could be discussed and answered directly on IRC and doesn't 
require to CC the world.

Just sayin' ;)

-
Florian.
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




Re: [gentoo-user] Re: ebuilds and overlay

2010-08-26 Thread Florian CROUZAT

On 26 août 2010, at 20:48, Al wrote:

 Hi Florian,

Hey.

 yes, I am hard working to get started with this new stuff.

Cheers ;)

 From other communities I am educated to prefer lists over IRC even if
 IRC usually faster. Lists result in a searchable knowlage base. You
 can't say the same from the noise of on IRC channels.

No probs.

 However, if you consider IRC the preferred style of gentoo I can switch.

No it isn't but some of your questions belong there, especially this last one 
about ebuilds  overlay.

Cheers.

-
Florian.
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




Re: [gentoo-user] why emerge --config don't work

2010-08-20 Thread Florian CROUZAT

On 20 août 2010, at 16:50, Alex Schuster wrote:

 weird% echo =find
 /usr/bin/find
 
 Your command works, when the = is escaped by a \, or when the stuff is 
 quoted.

I don't use zsh, but a little of google's magic[1] shows:
 
 A command name with a = prepended is replaced with its full pathname. This 
 can be very convenient. If it's not convenient for you, you can turn it off:
 
 % ls
 =foo=bar
 % ls =foo =bar
 zsh: foo not found
 % setopt noequals
 % ls =foo =bar
 =foo=bar

[1] http://zsh.sourceforge.net/Intro/intro_7.html

-
Florian.
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




Re: [gentoo-user] LINGUAS

2010-08-19 Thread Florian CROUZAT

On 19 août 2010, at 14:27, Graham Murray wrote:

 Elmar Hinz oss.el...@googlemail.com writes:
 
 2010/8/18 Alan McKinnon alan.mckin...@gmail.com:
 Apparently, though unproven, at 23:25 on Wednesday 18 August 2010, Elmar 
 Hinz
 did opine thusly:
 
 The gentoo wiki suggests in different places to set the LINGUAS
 environment variable in make.conf.
 
 What has LINGUAS todo with make? I would expect it in rc.conf near the
 UNICODE setting.
 
 
 It has nothing to do with make. It has everything to do with portage.
 
 
 Even than, LINGUAS has rather to do with OpenOffice.
 
 Has it anything to do with portage at all?
 
 Several packages, not just OpenOffice, can include/support different
 languages. Portage uses the value of LINGUAS to tell these packages
 which languages to include/support.

I have access to this box where linguas=fr is set.
Check this output:
 $ type -a [
[ est une primitive du shell
[ est /usr/bin/[

[ is a shell built-in becomes est une primitive du shell
I can't see any use flags in coreutils/bash that informs me it will be emerged 
with the linguas support.
How do I know which package will be localized then ? Just curious, I don't 
tweak my linguas.


-
Florian.
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




Re: [gentoo-user] /var/log/messages is huge

2010-08-17 Thread Florian CROUZAT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 17 août 2010, at 02:58, Adam Carter wrote:

 Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
 Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer result=0
 Aug 16 20:22:59 host kernel: usb-storage: Attempting to get CSW...
 Aug 16 20:22:59 host kernel: usb-storage: usb_stor_bulk_transfer_buf:
 xfer 13 bytes
 Aug 16 20:22:59 host kernel: usb-storage: Status code 0; transferred 13/13
 Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
 Aug 16 20:22:59 host kernel: usb-storage: Bulk status result = 0
 Aug 16 20:22:59 host kernel: usb-storage: Bulk Status S 0x53425355 T
 0x5c33 R 0 Stat 0x0
 Aug 16 20:22:59 host kernel: usb-storage: scsi cmd done, result=0x0
 Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping.
 
 What's going on here?  Why all these usb-storage messages?
 
 You've probably turned on CONFIG_USB_STORAGE_DEBUG when you configured the 
 kernel

Yeah and not only it makes your logs huge, but it also slows down your box 
using your CPU to flood while doing USB transfer.
On my old box, with CONFIG_USB_STORAGE_DEBUG set, syslog-ng eats 25% of my CPU 
when doing ntfs3g.
Totally something you want to turn off, unless you have serious issues with USB.

- 
Florian
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /

-BEGIN PGP SIGNATURE-

iQEcBAEBAgAGBQJMai/3AAoJEI54KfPdrpQaiwIH/RC+6gjvSLzTbZE42A+GZWIb
jHljx/e/d9vCmV/65QxrhCUaFfUR4SlTCBvnmxBQxohDDtSzE6S6JbTxzk22obn+
tqqTOwb62HFBOs4TVNyPfNsjlhR+7BAcmRcff7d6XOJiiiak3gTXe8cnu2hnaAma
3Mq4GSE8LvokTaFvxCx0R9/NBkm7olZAl8UT73ibbIwxSfW+nkl2qlTv2xIVLMd2
u7nLycPd26cUHXFTH/FYFERg9tfXQ+VeKc3e5IoQIS7gkIQGLdUFOrzI2UkzhwrV
RbHBFn2BM7o3i40ImzIqHTEBdDT4AmZ2skKbhQy/U6W1xhczqW6XBQ5SLm4buIY=
=wVf4
-END PGP SIGNATURE-



Re: [gentoo-user] Automatically make backups of removed packages

2010-08-17 Thread Florian CROUZAT

On 17 août 2010, at 21:53, Enrico Weigelt wrote:

 Hi folks,
 
 
 is there any global option (eg. make.conf) to tell portage always
 to do backups of uninstalled or overwritten packages ?
 
 
 thx

What is that you want to backup ? Your distfiles directory should have the 
tarballs, if you don't erase them.
And you can consult the emerge logs (or qlop -u if you have q) to see what you 
unmerged.


Florian (SuperFlo) CROUZAT
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /