Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!rphroy!caen!uwm.edu!bionet!agate!dog.ee.lbl.gov!epb7.lbl.gov!envbvs From: envbvs@epb7.lbl.gov (Brian V. Smith) Newsgroups: comp.windows.x Subject: twm name matching too lax Message-ID: <11992@dog.ee.lbl.gov> Date: 11 Apr 91 16:19:03 GMT Reply-To: envbvs@epb7.lbl.gov (Brian V. Smith) Organization: lbl Lines: 16 X-Local-Date: Thu, 11 Apr 91 09:19:03 PDT In my .twmrc file, I have named some clients for which I don't want a title bar. The problem is that twm only requires that the first n characters of the client/class in the list match the name of the client/class one wishes to list. For example, in my list for NoTitle, I have the client "xcal", but when I start up "xcalc", it matches the "xcal" in the list and it doesn't get a title bar. It wouldn't matter if I use the class name (XCal), because the first four letters of the class for xcalc also match XCal. Is it possible to simply change the code in LookInList (list.c) to do a "strcmp" instead of a "strncmp", or is there some special reason that it needs to do the "strncmp?" -- Brian V. Smith (bvsmith@lbl.gov) Lawrence Berkeley Laboratory I don't speak for LBL; they don't pay me enough for that.