| |
| |
| |
|
Page: 1 2
Comments:
<0> =) <1> anyone around? <2> depense <1> aha <1> can't wait for variable "forever": would wait forever <1> while executing <1> "vwait forever" <1> (file "./installer.tcl" line 54) <1> hmph! <2> you cant just vwait :) <2> if there's nothing running <1> what you mean? <1> fconfigure stdin -buffering line <1> fileevent stdin readable [list ::gizmo::install::reader stdin] <1> i got that too
<2> you should look how other people do :) <2> anyways, that's the reason you get that error <1> all i want is a script that has basically a console <2> then i'd copy / paste from the wiki if i was you :) <1> got a good idea what to search for @ the wiki? <2> stdin ? :) <1> hmm <2> you could also try chef <1> chef? lol <1> nice now it works <0> =) <3> thanks ;p <0> It's been really quiet around here lately.. <4> =) <4> wazza <4> =D <0> =P <4> FireEgl the ident msg command doesnt work on your bots.. why? :p <4> I got a new host <_> <0> it should.. <4> i tried, didnt work <0> /msg BOT ident YOURP*** YOURNICK <0> err <0> /msg BOT ident YOURP*** Robb <4> ya I did, hm but lemme try it again <0> You hafta tell it your nick since it's not Robb <4> oh <4> nice <4> thank you =) <4> o.O <4> k it worked :} <0> hrm.. my hub bot is down.. so you'll prolly hafta do it again later <0> I go sleep now... g'night <4> ok :p <4> gn <1> anyone here? <5> i am <1> hmmm whadya know about puts -nonewline <1> puts ?? <6> puts -> http://Tcl.Tk/man/tcl8.5/TclCmd/puts.htm <6> [GRiMMY]: #587 (stdout) ?? <5> so it means not to put a newline char <5> so u can something like <5> puts -nonewline "Checking blabla: " <6> _Dejavu: #590 (stdout) Checking blabla: <5> do some stuff <5> if bla puts OK else puts BAD <5> so it will appear on the same line <1> yes, you dont know enought to help me then =P <5> :/ <5> hehe <5> try me <1> why is puts -nonewline hanging when i'm using: <1> #!/bin/sh <1> exec tclsh "$0" ${1+"$@"}
<1> to execute my tcl script? <5> :/ <5> u sure its from -nonewline ? <1> yes 100% <5> exec tclsh "$0" ${1+"$@"} <5> seems bad <1> umm no, thats the correct way to execute a tcl script in certain circumstances <5> not working here so i cant check <5> but <5> try <5> flush stdout <5> after the puts -nonewline <5> here i get error with your tclsh line <5> i remember i used something else <1> wierd... <1> i've used it in like 50+ scripts working fine and in this one it works fine <5> ? <5> so all work fine ? <1> not the nonewline <1> ahh the flush works thanks <1> flush ? <7> flush -> http://www.tcl.tk/man/tcl8.4/TclCmd/flush.htm <6> flush -> http://Tcl.Tk/man/tcl8.5/TclCmd/flush.htm <5> see i could help <5> i still think ur method to run tclsh is wierd <1> no <1> its bcos tclsh isnt always installed in the same place <1> sh is <5> yea <5> u missing the # \ <5> #!/bin/sh <5> # \ <5> tclsh "$0" ${1+"$@"} <5> now it works <1> wtf! <5> but still some err <1> its not like that on the wiki... <5> its a special thingy for sh <5> what wiki ? <1> http://wiki.tcl.tk <5> yes it is <5> #!/bin/sh <5> # This line continues for Tcl, but is a single line for 'sh' \ <5> exec wish "$0" ${1+"$@"} <5> see the \ in the end <5> its the needed char <1> got a link to the wiki where it has an example of that? <5> ./1.sh <5> test[ <5> $ cat 1.sh <5> #!/bin/sh <5> # \ <5> exec tclsh "$0" ${1+"$@"} <5> puts -nonewline test <5> works fine <5> not needed the flush <5> http://wiki.tcl.tk/812 <5> here <5> magic exec <5> works fine <1> yeah you wont need the flush... <1> you only need the flush if you got somethin like <1> fconfigure stdin -buffering line <1> fileevent stdin readable ::gizmo::install::reader <5> yup <5> ok cya now <1> ok bye <8> tried to google how to do a hand stand <8> didnt help <2> easier if you walk into a handstand, tho it requires rips <8> what? <1> *cough* BL4DE op me <1> wow quite a chesty cough i got there
Return to
#tcl or Go to some related
logs:
msa1000 diskpart #politics #politics +gentoo +ninan
#politics #sql backup exec store.exe blue screen
#computers toplist.linkworld #politics
|
|