Thanks for the help. I made the changes, recompiled the program and as expected, the Window Name is now 'Fl_TeacherTool'.  However, I still did not achieve getting teachertool to start in any workspace but the first one.<br>
<br>In researching the problem further, it appears that there is bug report that the 'winoptions file' does not get parsed in icewm 1.3 and may have stopped working after <a href="http://1.2.30.">1.2.30.</a><br><br>
We are using 1.2.36 having upgraded to it from 1.2.27 last month.  I don't think I'll go back but wait to see if the bug report get resolved.<br><br><br><br><div class="gmail_quote">On Mon, Nov 17, 2008 at 4:26 PM, Robert Arkiletian <span dir="ltr"><<a href="mailto:robark@gmail.com">robark@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2008/11/17 Charles M Hale <<a href="mailto:chuck@qwk2lrn.net">chuck@qwk2lrn.net</a>>:<br>

<div class="Ih2E3d">> We are using Fl_TeacherTool with the ICEWM window's manager and we are<br>
> trying to startup Fl_TeacherTool in a workspace other than the primary<br>
> workspace.<br>
> ICEWM has a very good facility for doing this; its the 'winoptions' file in<br>
> the .icewm subdirectory.<br>
> Its seems that our directive of <WindowName>.workspace: <workspace number><br>
> is being iignored.<br>
> We have Fl_TeacherTool starting up in workspace 1.  We would like it to<br>
> startup in workspace 2 or 3.<br>
> We noted that when Fl_TeacherTool starts, we has 'Fl_Teachertool @ <server<br>
> hostname>' as the identifying text in the window, we/ve use all possible<br>
> combinations for our <WindowName> and Fl_TeacherTool continues to startup in<br>
> the first workspace.<br>
<br>
</div>I think I figured it out. At least I hope I did. I have a fix. I hope.<br>
This is an interesting problem. Have a look at the documentation for icewm<br>
<br>
<a href="http://www.icewm.org/manual/icewm-14.html#winoptions" target="_blank">http://www.icewm.org/manual/icewm-14.html#winoptions</a><br>
<br>
"It's possible that an application's class and/or name contains the<br>
dot character (".") used by IceWM to separate class, name and role<br>
values. To lock it, precede it with the backslash character. In the<br>
following example, we suppose an application's window has the.class as<br>
its class value and <a href="http://the.name" target="_blank">the.name</a> as its name value :<br>
the\.class.the\.name.option: argument"<br>
<br>
The problem arises because my program grabs the hostame (which usually<br>
has a "." in it and tacks that onto the window name". So the "." is<br>
not escaped. The only solution I have is to get rid of the @hostame<br>
part of the window name in my code.<br>
<br>
So search for these two lines in fl_teachertool.cxx (it's in the main function)<br>
<br>
host=getstdout("echo $HOSTNAME","Error: Could not get Hostname");<br>
host.insert(0, "Fl_TeacherTool @ ");<br>
<br>
and just replace it with<br>
<br>
host="Fl_TeacherTool";<br>
<br>
Hopefully that will solve the problem.<br>
<div class="Ih2E3d"><br>
><br>
> Does anyone have any suggestions on how to get Fl_TeacherTool to  start in a<br>
> workspace other than the first one.<br>
><br>
><br>
</div>> _______________________________________________<br>
> K12OSN mailing list<br>
> <a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
> For more info see <<a href="http://www.k12os.org" target="_blank">http://www.k12os.org</a>><br>
><br>
<br>
<br>
<br>
--<br>
Robert Arkiletian<br>
Eric Hamber Secondary, Vancouver, Canada<br>
Fl_TeacherTool <a href="http://www3.telus.net/public/robark/Fl_TeacherTool/" target="_blank">http://www3.telus.net/public/robark/Fl_TeacherTool/</a><br>
C++ GUI tutorial <a href="http://www3.telus.net/public/robark/" target="_blank">http://www3.telus.net/public/robark/</a><br>
<br>
_______________________________________________<br>
K12OSN mailing list<br>
<a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see <<a href="http://www.k12os.org" target="_blank">http://www.k12os.org</a>><br>
</blockquote></div><br><br clear="all"><br>