Hi.
Code:
break Causes execution to resume after the end of the nearest enclos-
ing foreach or while. The remaining commands on the current
line are executed. Multi-level breaks are thus possible by
writing them all on one line.
excerpt form man tcsh
For a system running:
Code:
Environment: LC_ALL = C, LANG = en_US.UTF-8
(Versions displayed with local utility "version")
OS, ker|rel, machine: Linux, 2.6.18-194.11.4.el5, i686
Distribution : CentOS release 5.5 (Final)
tcsh 6.14.00
This system has no record of
openwin in /etc/profile.d nor anyplace else, searching with
locate openwin, but found:
Code:
$ locate tcsh
/bin/tcsh
( and many other hits)
With the repositories I have (default, to the best of my knowledge), yum finds nothing about openwin:
Code:
$ yum info '*openwin*'
Loaded plugins: priorities
addons | 951 B 00:00
base | 2.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
Error: No matching Packages to list
My recollection about
openwin is that it is associated with Solaris, not CentOS, but I haven't done any searching to verify that.
Regarding the error, perhaps
tcsh is more particular about where
break can be placed, namely, only in a while or foreach loop -- I could believe that
csh might simply ignore it. If I find a real csh (say on Solaris) I'll try to remember to test that.
Best wishes ... cheers, makyo