Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: fl0ra
  • Order by date
  1. fl0ra

    Open Tcl/tk window in workspace two

    or do you mean another desktop (linux desktop)? please be a tad bit more precise
  2. fl0ra

    exec and after...

    here we go: #!/usr/bin/tclsh package require Tclx foreach i $various_Shell_Scripts { set child [fork] if {$child == 0} { cd [lindex $i 0] set runcmd [list exec $i] puts "Running:\ncd [lindex $i 0]\n$runcmd\n\n" if {[catch $runcmd]!=0} { error...
  3. fl0ra

    exec and after...

    will give a code sample as soon as I get back to work (where it remains -lol-)
  4. fl0ra

    exec and after...

    Cheers dudes after hours of research I found that using Tclx was the best option... I fork my everytime I need to launch a shell script à la C, in the mean time I count how many fork call there is and I loop with a wait inside for the children to complete. Easiest and fastest way. I have to...
  5. fl0ra

    exec and after...

    Hi guys, I was wondering how to run shell scripts using the tcl exec function and wait for them to finish until I can start the next command... Long story short: foreach i $various_Shell_Scripts { # the commands in each $i are rather complex and long and # I want to execute them in the...
  6. fl0ra

    how to output colored text with a simple puts

    Thank you feherke :)
  7. fl0ra

    how to output colored text with a simple puts

    Yeah superbe it works!!! Thank you!!! Where can I find those color code then?
  8. fl0ra

    how to output colored text with a simple puts

    I've tried everything, but I can output a string with a specific color assigned to it. Is any one familiar with that? Note that this is a tcl only script, I'm not using tk at all. Cheers mate
  9. fl0ra

    Scrollable frame with just Tk

    even forget the tags... :( It's been too long... here is goes, nicely readable scrollbar .sbar text .text -relief flat -yscrollcommand {.sbar set} .sbar configure -command ".text yview" labelframe .text.f1 -text "f1" -pady 5 labelframe .text.f2 -text "f2" -pady 5 labelframe .text.f3 -text...
  10. fl0ra

    Scrollable frame with just Tk

    Hi guys, it's been a long time... Anyway, I'm trying to create a scrollable frame using only tk. I tried with text widgets containing other widgets but the scrollbar associated with the text widget won't scroll if the widgets are displayed outside the text widgets. here is my dirty code: <code>...
  11. fl0ra

    regexp

    thank you so much guys. No there is no need to use regexp. I just thought it would be nicer instead of using a foreach. I guess there is not many other solutions, or is there?
  12. fl0ra

    regexp

    Thank you so much I am gonna test it, but it seems like it is gonna work :)
  13. fl0ra

    regexp

    Hello guys, trying to compute the regexp for this problem, but I can't get it right. Here is the string the string is only composed of at maximum one of each of the following letter A, F, P, and G. and it can include all the them (so max size is 4) so a valid result could be A AG APG AGF GFAP...
  14. fl0ra

    forcing the use of a character set

    ok cheers... :) I guess I'm gonna have to go on the linux forum and ask :)
  15. fl0ra

    forcing the use of a character set

    Yeah I know, the solution might be to change the OS charset then run the application then switch the charset back... But I do not know how to change the charset of the OS (Linux) within the shell... Anyone?
  16. fl0ra

    forcing the use of a character set

    I'm trying to force my program to run using a different character set, will this works (I wanna use ISO-8859-1 instead of the UTF-8 by default) : javaw -Dclient.encoding.override=ISO-8859-1 Thank you guys :)
  17. fl0ra

    guys

    I need a tktable.2.9.so for a SunSolaris 5.8 (Sparc) I can't get my hand on it nor can I compile it. I've found Tktable.so.2.6 which works but is only tktable 2.6 and some stuff are not implemented properly... please help :)
  18. fl0ra

    Freewrap and packages

    Hello, I'm trying to use freewrap in order to produce a standalone application. However, I'm using Iwidgets, tktable and the math package. I can't succeed to include them in the wrapper. What am I missing? Anyone familiar with that procedure? Cheers
  19. fl0ra

    Fortran end of string in C

    Hi everyone, I know jack sh*t in fortran and I need to provide to a lib written in fortran a char * that with the fortran end of string character instead of the \0 that will only take a memset but I need to know the code of such a character. Anyone to fill me up on this one?
  20. fl0ra

    TK GUI with C

    I am pretty sure the "bind" is a better option. I've done that many many times.

Part and Inventory Search

Back
Top