[2007-11-27 11:06] Some commands also support a /P (page) [2007-11-27 11:07] cmihai, may it be a problem with the overwrite protection etc.? [2007-11-27 11:07] These are 12GB tapes right? [2007-11-27 11:07] cmihai, i dont want that [2007-11-27 11:07] 24 gbyte [2007-11-27 11:07] i want to have it set to automatically display each line after a set amount of time [2007-11-27 11:08] Arikael, don't you mean 12/24? [2007-11-27 11:08] They usually say: 24* [2007-11-27 11:08] yes [2007-11-27 11:08] * - assume 2:1 compression [2007-11-27 11:08] not an entire page full of text and have it make me press enter for each line [2007-11-27 11:09] As in, scroll every second or whatever? [2007-11-27 11:09] so I won't be able to use 24gbyte at any time? [2007-11-27 11:09] Arikael: sounds like you've filled up one tape, and it wants to continue on new medium [2007-11-27 11:09] cmihai, or every millisecond, yes [2007-11-27 11:10] hm, I'm not sure [2007-11-27 11:10] because on other day we had more data to save then today and it worked within 7 hours... [2007-11-27 11:11] Arikael, that tape never was 24GB, unless you assume compression. Maybe your data just doesn't compress as well. [2007-11-27 11:11] Eg: media [2007-11-27 11:13] |<-- Jad has left kornbluth.freenode.net (Read error: 110 (Connection timed out)) [2007-11-27 11:13] currently it has 12342342949 bytes which is 11.5 Gbyte [2007-11-27 11:14] that's ok for that media if your data is already compressed. [2007-11-27 11:14] but, it could be that there were already some data on the tape [2007-11-27 11:14] (ie. zips, or mpeg/avi) [2007-11-27 11:15] help | awk ' { if (system("sleep 1") == 0) print $0 }' [2007-11-27 11:15] -->| Greeny (n=m@77-96-136-35.cable.ubr03.pres.blueyonder.co.uk) has joined ##windows [2007-11-27 11:15] I've written a script that does that Sazpaimon :P [2007-11-27 11:15] oh? [2007-11-27 11:15] |<-- the_giver has left kornbluth.freenode.net ("This computer has gone to sleep") [2007-11-27 11:15] cmihai: eww, system() ;-) [2007-11-27 11:15] Oh, you need Services for UNIX :P [2007-11-27 11:15] anybody an idea? [2007-11-27 11:16] replace help with a cat / type of whatever command oyu want [2007-11-27 11:16] -->| The3Magician (i=magician@a88-115-93-101.elisa-laajakaista.fi) has joined ##windows [2007-11-27 11:16] I have unix services installed [2007-11-27 11:16] Great, fire up ksh [2007-11-27 11:16] :-) [2007-11-27 11:17] k [2007-11-27 11:18] Give it a spin. It also works like: [2007-11-27 11:18] awk ' { if (system("sleep 1") == 0) print $0 }' myfile [2007-11-27 11:18] |<-- MadneX has left kornbluth.freenode.net () [2007-11-27 11:18] hehe, install SFU, and reduce the problem to a unix shell solution [2007-11-27 11:18] Replace 1 with "sleep 0.1" or whatever time you want it to sleep [2007-11-27 11:18] * jelly has Cygwin for those [2007-11-27 11:18] Works fine with Cygwin too [2007-11-27 11:19] i forget [2007-11-27 11:19] how do I cd to a windows drive? [2007-11-27 11:19] awk '{ if (system("sleep 0.2") == 0) print $0 }' testpage [2007-11-27 11:19] Bam :-) [2007-11-27 11:19] but my sense of elegance is horrified by doing system() par each line of input [2007-11-27 11:19] per* [2007-11-27 11:19] bla bla bla :P. There is no sleep command in awk [2007-11-27 11:20] yeah, and no portable way to do it in perl, it seems [2007-11-27 11:20] perldoc -f sleep: For delays of finer granularity than one second, you may use Perl�s "syscall" interface to access setitimer(2) if your system supports it, or else see "select" above. [2007-11-27 11:21] Sazpaimon, /dev/fs/C [2007-11-27 11:21] Heh :-) [2007-11-27 11:21] no, wait [2007-11-27 11:21] cat .zshrc | perl -pe 'select(undef, undef, undef, 0.1);' [2007-11-27 11:21] \o/ [2007-11-27 11:22] Useless use of a cat. [2007-11-27 11:22] that's a freakin example [2007-11-27 11:22] replace the cat by a dog or whatever the actual command would be [2007-11-27 11:22] Heh, what do you know, it works [2007-11-27 11:22] okay [2007-11-27 11:22] perl -pe 'select(undef, undef, undef, 0.1);' testpage [2007-11-27 11:22] what if i want to call this from another program [2007-11-27 11:22] Don't waste cats :-) [2007-11-27 11:23] Sazpaimon, call it. [2007-11-27 11:23] You can also pipe or redirect. [2007-11-27 11:23] i tried posix /u /c /bin/ksh /bin/awk [2007-11-27 11:23] /bin/awk [2007-11-27 11:23] err [2007-11-27 11:23] and I got /bin/awk [1]: MZ���  �@ι�����: not found [2007-11-27 11:23] /bin/awk[17]: syntax error: `(' unexpected [2007-11-27 11:23] Sazpaimon: drop the /bin/ksh bit [2007-11-27 11:23] Actually, jelly's Perl example can also use Windows "native" perl, using ActiveState perl. [2007-11-27 11:24] actually [2007-11-27 11:24] select() ftw [2007-11-27 11:24] good idea [2007-11-27 11:24] since i have perl installed [2007-11-27 11:24] What are you really trying to do though? [2007-11-27 11:24] emulate a movie-style terminal? :-) [2007-11-27 11:25] Emulate nothing, get a 1200 baud vt100 :-) [2007-11-27 11:26] I didn't know, but apparently vt420s are still being made [2007-11-27 11:26] Yep [2007-11-27 11:26] I got some with my HP server [2007-11-27 11:27] Great stuff, DEC-ish construction and all. [2007-11-27 11:27] alright [2007-11-27 11:27] i tried cat xi.inf | perl -pe 'select(undef, undef, undef, 0.1);' [2007-11-27 11:27] I loved their keyboards, and amber screens [2007-11-27 11:27] -->| shinao1 (n=shinao1@217.20.242.50) has joined ##windows [2007-11-27 11:27] and got [2007-11-27 11:28] 1 [2007-11-27 11:28] Can't find string terminator "'" anywhere before EOF at -e line 1. [2007-11-27 11:28] cat: stdout: Bad file descriptor [2007-11-27 11:28] 2 [2007-11-27 11:28] 3 [2007-11-27 11:28] ? [2007-11-27 11:28] :-) [2007-11-27 11:28] What? [2007-11-27 11:28] Don't use cat [2007-11-27 11:28] perl -pe 'select(undef, undef, undef, 0.1);' xi.inf [2007-11-27 11:28] Sazpaimon: sorry, use "" instead of '' in windows [2007-11-27 11:28] |<-- unix_infidel has left kornbluth.freenode.net ("leaving") [2007-11-27 11:28] sweet [2007-11-27 11:28] thanks [2007-11-27 11:29] |<-- noobuntu has left kornbluth.freenode.net ("Ex-Chat") [2007-11-27 11:29] |<-- Sazpaimon has left kornbluth.freenode.net (Excess Flood) [2007-11-27 11:29] teehee [2007-11-27 11:29] -->| Sazpaimon (i=Sazpaimo@cpe-72-130-16-54.socal.res.rr.com) has joined ##windows [2007-11-27 11:29] |<-- Sazpaimon has left kornbluth.freenode.net (Excess Flood) [2007-11-27 11:29] jelly, Randal Schwartz is watching :P. [2007-11-27 11:29] -->| Sazpaimon (i=Sazpaimo@cpe-72-130-16-54.socal.res.rr.com) has joined ##windows [2007-11-27 11:30] dammit [2007-11-27 11:30] i didnt mean to test it in this server [2007-11-27 11:30] Wait. [2007-11-27 11:30] You're basically... [2007-11-27 11:30] Trying to flood IRC? [2007-11-27 11:30] no [2007-11-27 11:30] Im trying to be able to paste log messages in flood channels [2007-11-27 11:30] if i dont have access to a pastebin [2007-11-27 11:30] Sazpaimon: if you have perl, use the pastebin pipe script [2007-11-27 11:31] |<-- TheMagician has left kornbluth.freenode.net (Connection timed out) [2007-11-27 11:31] Download http://pastebin.ca/download/paste2pastebin.pl and install libwww-mechanize-perl. Then pipe your output to perl paste2pastebin.pl. [2007-11-27 11:31] however, i might like to use it to paste ascii text files on my own server's entertainment channels [2007-11-27 11:31] but that's different [2007-11-27 11:31] basically i wanted an mirc-like /play command [2007-11-27 11:31] replace the "install libwww-mechanize-perl" bit with install WWW::Mechanize ;-) [2007-11-27 11:32] Sazpaimon, yes, I wanted to say that :P. [2007-11-27 11:32] |<-- Greeny_ has left kornbluth.freenode.net (Connection timed out) [2007-11-27 11:32] But saying the "m" word is a punishable offense to my people. [2007-11-27 11:33] mIRC? [2007-11-27 11:33] Actually, you _should_ use Perl, most IRC clients support perl scripting. What exactly are you using? [2007-11-27 11:33] * cmihai shoots jelly [2007-11-27 11:33] mIRC mIRC mIRC, I <3 mIRC ;-) [2007-11-27 11:34] DCC SEND 0 0 0 mIRC RULEZ [2007-11-27 11:34] or whatever. [2007-11-27 11:34] Are you done? ;-) [2007-11-27 11:34] * jelly uses xchat even when in windows, for some reason [2007-11-27 11:34] cmihai, if i knew my perl I'd write a basic perl script [2007-11-27 11:35] -->| Steven_elvisda_ (n=Steven_E@202.47.107.60) has joined ##windows [2007-11-27 11:35] right now i have a /play alias set to /exec -o perl -pe "select(undef, undef, undef, 0.1);" "&2" [2007-11-27 11:35] I use Trillian. [2007-11-27 11:35] Does that make me a mahochist? [2007-11-27 11:35] s/mahochist/masochist/ [2007-11-27 11:35] which...kind of works [2007-11-27 11:35] -->| RichiH (i=richih@freenode/staff/richih) has joined ##windows [2007-11-27 11:36] though i suppose a perl script would be superior, huh? [2007-11-27 11:36] /exec is not fun :-) [2007-11-27 11:36] Sazpaimon: you'll probably need to increase or make that 0.1 configurable [2007-11-27 11:36] Let me guess: irssi [2007-11-27 11:36] jelly, yeah i know [2007-11-27 11:36] i was testing it on a net i run, so i can flood without trouble [2007-11-27 11:36] |<-- Gargantua has left kornbluth.freenode.net () [2007-11-27 11:37] Just one thing Sazpaimon [2007-11-27 11:37] once you start that thing [2007-11-27 11:37] but this works to an extent, it throws blocks of the file every second or so [2007-11-27 11:37] which kind of isnt the desired effect [2007-11-27 11:37] MacGyverNL: try pidgin if you wanna be considered one ;) [2007-11-27 11:37] say you paste /vmunix or whatever [2007-11-27 11:37] You can't stop it [2007-11-27 11:37] what if i paste /dev/urandom? :P [2007-11-27 11:38] Well, it will go on forever... [2007-11-27 11:38] I CAN SEE FOREVER [2007-11-27 11:38] worse, what if he pastes the complete works of ayn rand? [2007-11-27 11:38] regardless [2007-11-27 11:38] let me see if i can manifest this into a perl script [2007-11-27 11:38] despite me not knowing what the hell I am doing [2007-11-27 11:38] :D [2007-11-27 11:39] -->| Crashed (n=Miranda@CPE0080c6fe9a1a-CM00194747bc74.cpe.net.cable.rogers.com) has joined ##windows [2007-11-27 11:39] Hey, does anyone know how to block sites from IE?