1367799267 N * Bertl_zZ Bertl 1367799270 M * Bertl back now ... 1367799276 J * Walex ~Walex@cl-203.lon-02.gb.sixxs.net 1367817663 Q * glen resistance.oftc.net oxygen.oftc.net 1367817663 Q * FIChTe resistance.oftc.net oxygen.oftc.net 1367817663 Q * fosco resistance.oftc.net oxygen.oftc.net 1367817663 Q * quasisane resistance.oftc.net oxygen.oftc.net 1367817767 J * FIChTe ~fichte@bashpipe.de 1367817767 J * glen ~glen@scratchy.delfi.ee 1367817767 J * fosco fosco@91.208.40.1 1367817767 J * quasisane ~sanep@0001267b.user.oftc.net 1367822613 J * Ghislain ~aqueos@adsl1.aqueos.com 1367823287 M * Bertl off to bed now ... have a good one everyone! 1367823293 N * Bertl Bertl_zZ 1367825038 J * thierryp ~thierry@zankai.inria.fr 1367825963 Q * Walex 1367829624 Q * ser Ping timeout: 480 seconds 1367829832 J * ser ~ser@host1.tldp.ibiblio.org 1367838567 Q * ircuser-1 Ping timeout: 480 seconds 1367838789 Q * Aiken Quit: Leaving 1367842099 J * ircuser-1 ~ircuser-1@35.222-62-69.ftth.swbr.surewest.net 1367850708 Q * alex3 Ping timeout: 480 seconds 1367851027 J * alex3 ~alex@v1.fob.spline.inf.fu-berlin.de 1367853801 J * sannes ~ace@cm-84.211.93.82.getinternet.no 1367854239 Q * thierryp Remote host closed the connection 1367856648 N * Bertl_zZ Bertl 1367856652 M * Bertl morning folks! 1367856827 M * disposab1e hello, how do i make vsomething NOT 'colorize bold' parts of its output? i need to pass its output to a script and it's messing things up. 1367856846 N * disposab1e disposable 1367856948 M * disposable other than by changing the contents of /usr/sbin/vsomething 1367857078 M * Bertl hmm, I don't think it should colorize stuff when outputting to a non tty 1367857186 M * Bertl but it actually does, so probably the check is wrong ... i.e. file a bug report against util-vserver or send an email to daniel_hozac 1367857239 M * disposable well, in python i use os.popen() to run vseomething and the output looks like this: '\x1b[1mvserver: operating on vserver \x1b[m\x1b[1m\x1b[34mns5\n' 1367857295 M * disposable this is probably the wrong channel to ask, there must be some tool i can pipe it through to strip these things. 1367857481 M * Bertl well, in this specific case, it is trivial to strip them (because there are only a few ANSI sequences) but in general, it isn't trivial to detect and remove those sequences completely 1367857513 M * Bertl in your case, probably everything from ESC-[ to 'm' can be removed 1367857572 N * l0kit Guest4505 1367857578 J * l0kit ~1oxT@0001b54e.user.oftc.net 1367857608 M * Bertl sed 's/^[[^m]*m//g' for example does that 1367857620 M * Bertl note that the first ^[ is the escape character 1367857672 M * Bertl sed 's/\x1b[[][^m]*m//g' 1367857683 M * Bertl this is without any special characters 1367857842 M * disposable Bertl: thank you for the sed magic 1367857969 Q * Guest4505 Ping timeout: 480 seconds 1367858379 M * Bertl daniel_hozac: JFYI, the tty check works perfectly fine in bash, but for some reason, it doesn't work in .../util-vserver/functions colorize 1367859388 Q * FireEgl Read error: Connection reset by peer 1367859889 J * nlm ~nlm@host178.186-124-177.telecom.net.ar 1367860681 M * Bertl off for now ... bbl 1367860685 N * Bertl Bertl_oO 1367864233 J * Aiken ~Aiken@2001:44b8:2168:1000:21f:d0ff:fed6:d63f 1367864763 J * bonbons ~bonbons@2001:a18:20a:9d01:8c5f:60d3:552d:b472 1367871665 Q * hparker Ping timeout: 480 seconds 1367871824 M * ccxCZ how do cgroups in vservers work? each having separate namespace? 1367872050 Q * bonbons Quit: Leaving 1367872211 J * hparker ~hparker@2001:470:1f0f:32c:beae:c5ff:fe01:b647 1367872553 M * Bertl_oO usually 1367873135 Q * Ghislain Quit: Leaving. 1367874679 J * Ghislain ~aqueos@adsl1.aqueos.com 1367876678 J * jrklein_ ~osx@proxy.dnihost.net 1367876685 Q * PowerKe Quit: leaving 1367876879 Q * jrklein Ping timeout: 480 seconds 1367877887 J * PowerKe ~tom@94-227-30-209.access.telenet.be 1367878887 Q * karasz Ping timeout: 480 seconds 1367878914 Q * morfoh Ping timeout: 480 seconds 1367879607 M * ccxCZ doing urandom seeding in each vserver is pointless, isn't it? 1367879932 M * Bertl_oO yup 1367879964 M * Bertl_oO especially as urandom is generated, i.e. doesn't really use radom data from the entropy pool 1367880176 A * ccxCZ was going through openrc scripts that run in his vservers and wondered if he should go for the runit setup 1367880303 M * ccxCZ or rather, what aditional hackery will it need. I assume vserver provides correct hostname, so the only interesting script is bootmisc, which just cleans up tmp and various other dirs of stale stuff 1367880409 M * ccxCZ utmp & wtmp stuff 1367880974 Q * Ghislain Quit: Leaving. 1367882392 Q * nlm Remote host closed the connection