\begindata{text822, 0} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po4.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 1 Jun 1993 16:18:09 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 1 Jun 1993 16:15:51 -0400 (EDT) Received: from vnet.IBM.COM by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Tue, 1 Jun 93 16:15:38 EDT Received: from RCHLAND by vnet.IBM.COM (IBM VM SMTP V2R2) with BSMTP id 3886; Tue, 01 Jun 93 16:14:22 EDT Reply-To: "Robert Kemmetmueller" Received: by po1 (AIX 3.2/UCB 5.64/4.7) id for info-andrew+@andrew.cmu.edu; Tue, 1 Jun 1993 15:14:08 -0500 Received: via switchmail; Tue, 1 Jun 1993 15:14:08 -0500 (CDT) Received: from coredump.rchland.ibm.com via qmail ID ; Tue, 1 Jun 1993 15:14:04 -0500 (CDT) Received: from coredump.rchland.ibm.com via qmail ID ; Tue, 1 Jun 1993 15:14:02 -0500 (CDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.coredump.rchland.ibm.com.rs.aix32 via MS.5.6.coredump.rchland.ibm.com.rs_aix32; Tue, 1 Jun 1993 15:14:02 -0500 (CDT) Message-Id: Date: Tue, 1 Jun 1993 15:14:02 -0500 (CDT) From: Robert Kemmetmueller X-Andrew-Message-Size: 1047+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew+@andrew.cmu.edu Subject: filter without forking? Cc: Bboard Service \begindata{text,539519744} \textdsversion{12} \template{messages} \define{center attr:[Justification Centered Point 0]} \define{global } \define{h attr:[FontFamily rom Int 0] attr:[FontSize ConstantFontSize Point 6]} \define{a attr:[Script PreviousScriptMovement Point -1] attr:['color' '#F0A000']} \define{b attr:[Script PreviousScriptMovement Point -1] attr:['color' '#E08000']} \define{c attr:[Script PreviousScriptMovement Point -1] attr:['color' '#D06000']} \define{d attr:[Script PreviousScriptMovement Point -1] attr:['color' '#C05000']} \define{e attr:[Script PreviousScriptMovement Point -2] attr:['color' '#B03000']} \define{f attr:[Script PreviousScriptMovement Point 6] attr:['color' '#A02000']} \define{g attr:['color' '#CD8500']} The \bold{filter} procs all fork. This usually isn't a problem when a \italic{user} invokes them \smaller{(instinctively, we WAIT to see the results)}, but what about when it's invoked by \italic{code}? --case in point-- I have a package called \bold{ezprocs} that provides a proc named "ezprocs-multi". "ezprocs-multi" takes, as a parameter, a string containing a series of proc names to execute. \smaller{[Purpose: allow a single keystroke or menu selection to do a whole \italic{series} of things]}. Problem: user wants to run a filter, and \italic{THEN} \smaller{(AFTER the filter is done)} do something else. \example{\smaller{\description{addmenu ezprocs-multi "Blah,blah" ctextview ezprocs inherit "filter-filter-region-thru-command'~/bin/mangle', srctextview-redo-styles" }}} Unfortunately, the "-redo-styles" usually gets done BEFORE the filter finishes filtering (NOT the desired result). Any clues how this could/should be done? I can't think of any workarounds with the existing implementation. Should the \bold{filter} package have procs added to it that WON'T fork? or is that infeasible for some reason? \center{ \h{\f{R\e{o\d{b\c{er\b{t K\a{emme}tmu}el}l}e}r }\g{rskm@rchland 3-4968 }}}\enddata{text,539519744} \enddata{text822, 0} \begindata{text822, 3962} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po4.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 2 Jun 1993 13:51:44 -0400 (EDT) Received: from po4.andrew.cmu.edu via qmail ID ; Wed, 2 Jun 1993 13:49:52 -0400 (EDT) If-Type-Unsupported: send Received: from po3.andrew.cmu.edu via qmail ID ; Wed, 2 Jun 1993 13:44:59 -0400 (EDT) Received: from LOAN1.SP.CS.CMU.EDU by po3.andrew.cmu.edu (5.54/3.15) id for wjh+; Wed, 2 Jun 93 13:44:48 EDT Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.LOAN1.SP.CS.CMU.EDU.sun4.mach via MS.5.6.LOAN1.SP.CS.CMU.EDU.sun4_mach; Wed, 2 Jun 1993 13:44:30 -0400 (EDT) Message-Id: Date: Wed, 2 Jun 1993 13:44:31 -0400 (EDT) From: Wilfred.Hansen@cs.cmu.edu X-Andrew-Message-Size: 997+0 Mime-Version: 1.0 Content-Type: text/richtext; charset=US-ASCII Content-Transfer-Encoding: quoted-printable To: Info-Andrew , Robert Kemmetmueller Subject: Re: filter without forking? Cc: Bboard Service In-Reply-To: References: Excerpts from internet.other.info-andrew: 1-Jun-93 filter without forking? Robert Kemmetmueller@rch (1047+0) addmenu ezprocs-multi "Blah,blah" ctextview ezprocs inherit "filter-filter-region-thru-command'~/bin/mangle', srctextview-redo-styles" There is no pressing need for ezprocs-multi; ness can do this. in ~/.atkinit: load ness call ness-load ~/nesslib/blah.n in ~/nesslib/blah.n: extend "view:ctextview" on menu "Blah,blah" filter_filter_region_through_command(currentobject, "~/bin/mangle") srctextview_redo_styles(currentobject) end menu end extend Of course this still suffers the separate process problem. One solution is to use the -system- function in Ness: extend "view:ctextview" on menu "Blah,blah" writefile("/tmp/tmpfile", currentselection(currentobject)) system("$HOME/bin/mangle /tmp/tmpfile > /tmp/tmpout") replace(currentselection(currentobject), readfile("/tmp/tmpout")) srctextview_redo_styles(currentobject) end menu end extend Fred Hansen \enddata{text822, 3962} \begindata{text822, 6868} Return-path: X-Andrew-Authenticated-as: 38;andrew.cmu.edu;Susan Straub Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 3 Jun 1993 16:13:06 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 3 Jun 1993 16:11:24 -0400 (EDT) If-Type-Unsupported: send Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 3 Jun 1993 16:06:20 -0400 (EDT) Received: from muffin.andrew.cmu.edu via qmail ID ; Thu, 3 Jun 1993 16:04:26 -0400 (EDT) Received: from muffin.andrew.cmu.edu via qmail ID ; Thu, 3 Jun 1993 16:04:24 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.muffin.andrew.cmu.edu.rs.aix31 via MS.5.6.muffin.andrew.cmu.edu.rs_aix31; Thu, 3 Jun 1993 16:04:24 -0400 (EDT) Message-ID: Date: Thu, 3 Jun 1993 16:04:24 -0400 (EDT) From: Susan Straub X-Andrew-Message-Size: 1705+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: compiler survey \begindata{text,539376736} \textdsversion{12} \template{messages} We are currently engaged in a port of the Andrew User Interface System to C++. We plan to leave several support libraries implemented in C. We are currently debating whether these support libraries should be upgraded to full ANSI C, or if we should just provide prototyped header files for the C++ code, and continue to compile the libraries with pre-ANSI C compilers (or relaxed ANSI-C compilers, e.g. gcc). Currently the entire toolkit is generally compiled with traditional C compilers. If you have any opinions on this matter we would be happy to hear from you. If you can take a moment to answer the questions below, please do so and send your reply to susan+@andrew.cmu.edu. Thank you. The Andrew Consortium. 1. If a future release of Andrew requires a C++ compiler would you be willing/able to get and use that release? 2. Would you want to? 3. What platforms would you like/need to see supported? 4. What C++ compiler would you mostly likely use? 5. What C compiler would you use for the parts of the distribution still written in C? Is it a strict ANSI C compiler? Relaxed? Partial? (gcc with the -pedantic switch set and some vendor compilers are strict ANSI, gcc would be considered relaxed, a compiler which tries to be somewhat ansi as far as prototypes would be considered partial.) 6. Do you build applications based on ATK? Do your ATK classes use non-ansi libraries? How much work would it require to make the libraries you need compile with a strict ANSI compiler? (I.e. requiring prototypes and full type checking.) Would it be worth it for you to convert the libraries yourself, or would you be stuck waiting for a vendor or other source to ANSIfy them? \enddata{text,539376736} \enddata{text822, 6868} \begindata{text822, 10286} Return-path: X-Andrew-Authenticated-as: 1447;andrew.cmu.edu;Gary Keim Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 8 Jun 1993 14:01:52 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 8 Jun 1993 14:01:31 -0400 (EDT) Received: from rascal.andrew.cmu.edu via qmail ID ; Tue, 8 Jun 1993 14:01:05 -0400 (EDT) Received: from rascal.andrew.cmu.edu via qmail ID ; Tue, 8 Jun 1993 14:00:56 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.rascal.andrew.cmu.edu.rs.aix31 via MS.5.6.rascal.andrew.cmu.edu.rs_aix31; Tue, 8 Jun 1993 14:00:55 -0400 (EDT) Message-ID: Date: Tue, 8 Jun 1993 14:00:55 -0400 (EDT) From: Gary Keim X-Andrew-Message-Size: 3542+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: goos@rpksf2.mach.uni-karlsruhe.de (Christoph Goos) Subject: Re: where to get psdit ? CC: Info-Andrew In-Reply-To: <1v1ofs$rrt@nz12.rz.uni-karlsruhe.de> References: <1v1ofs$rrt@nz12.rz.uni-karlsruhe.de> Distribution: world \begindata{text,538393592} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from netnews.comp.soft-sys.andrew: 8-Jun-93 where to get psdit ? Christoph Goos@rpksf2.ma (163*)} \quotation{I'm looking for the program psdit, which is needed to print ez-documents }\quotation{on a postscript-printer. }\quotation{Or are there other ways to print those documents ? } From the FAQ, which you can get via anon-ftp from emsworth.andrew.cmu.edu (128.2.45.40) in the top-level directory: \subsection{P1. How can I print Andrew documents?} \leftindent{ Printing requires two steps, text formatting and then driving the printer. ATK utilizes troff for text formatting. That is adequate for printing documents with styled texts, but some insets such as rasters and zip require that the printer be driven with PostScript. Print processing is controlled via the FormatCommand and PrintCommand options, which can be specified in site.h during system build, the global preferences in $ANDREWDIR/lib/global.prf, or the user's ~/preferences file. The most general defaults are: \leftindent{*.FormatCommand: eqn -Tpsc /tmp/%s.n | troff -Tpsc - | *.PrintCommand: lpr -n }The -Tpsc flags specify that the troff output is ultimately intended for a PostScript printer. If you do not have one, this value must be set to whatever is appropriate for your printer. ATK documents containing only styled text can be printed via most versions of troff and most print drivers. To print ATK documents via PostScript printers, you have three options: troff - psroff ditroff - psdit groff These differ in cost and the difficulty of installation. See Q8 for hints on acquiring these packages. \italic{troff - psroff} Standard Unix systems are often delivered with an old troff which generates output for the "CAT" typesetter. This troff can be used to print ATK documents by sending the output through the psroff processor, available freely on the internet. See the psroff documentation. \italic{ditroff - psdit} This is the route we use at CMU. \italic{ditroff} is the device independent troff which comes with the Documenters Work Bench portion of Unix System V. \italic{psdit} is part of the "Transcript" package available from Adobe software. Both ditroff and Transcript cost money. Adjust the FormatCommand to utilize the ditroff version of troff (it is usually called \italic{troff}). The PrintCommand should usually use the -n switch and the lpr daemon will run psdit. Ditroff is part of the Documenter's WorkBench (DWB) which is under development by AT&T. Universities can get source code, but others may have to get binaries. The AT&T manager for DWB is Peter Nelson, 908 582 6078. }\italic{ }\leftindent{\italic{groff } This package is free from the Free Software Foundation, the gnu people. The only hitch is that to build \italic{groff} you must first build \italic{g++} and to build \italic{g++} you must first build \italic{gcc}. We have compiled groff without any problems with g++-1.39.1. g++ also compiled gpic, geqn, gtbl. Groff includes gtroff to do text formatting and grops to generate PostScript. To To use both, have this specification: *.formatcommand: groff -pte -E /tmp/%s.n | *.PrintCommand: lpr -v Note: The -pte switches tell it to run gpic, gtbl, and geqn before running gtroff. The output of gtroff is automatically piped into grops, which generates the PostScript. (This assumes that /usr/gnu/bin (or wherever groff is installed) is on one's path.) The drawback of this simple approach is that the ATK preview option will no longer work. To retain the preview command, I believe, one can use specifications something like this: *.FormatCommand: cat /tmp/%s.n | gpic|gtbl|geqn|gtroff -Tpsc | *.PrintCommand: grops | lpr -v } -Gary Keim Andrew Consortium \enddata{text,538393592} \enddata{text822, 10286} \begindata{text822, 15797} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 10 Jun 1993 15:32:54 -0400 (EDT) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 10 Jun 1993 15:30:42 -0400 (EDT) If-Type-Unsupported: send Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 10 Jun 1993 15:27:37 -0400 (EDT) Received: from LOAN1.SP.CS.CMU.EDU by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Thu, 10 Jun 93 15:26:52 EDT Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.LOAN1.SP.CS.CMU.EDU.sun4.mach via MS.5.6.LOAN1.SP.CS.CMU.EDU.sun4_mach; Thu, 10 Jun 1993 15:26:34 -0400 (EDT) Message-Id: Date: Thu, 10 Jun 1993 15:26:34 -0400 (EDT) From: Wilfred.Hansen@cs.cmu.edu X-Andrew-Message-Size: 25934+1 Content-Type: X-BE2; 12 To: Info-Andrew Subject: The Andrew View, V2, No. 2 \begindata{text,8217216} \textdsversion{12} \template{default} \define{global } \define{itemize menu:[Region~4,Itemize~31] attr:[LeftMargin LeftMargin Inch 32768]} \define{enumerate menu:[Region~4,Enumerate~30] attr:[LeftMargin LeftMargin Inch 32768]} \define{programexample menu:[Region~4,ProgramExample~13] attr:[LeftMargin LeftMargin Inch 32768] attr:[Justification LeftJustified Point 0] attr:[Flags NoFill Int Set] attr:[Flags KeepPriorNL Int Set] attr:[Flags KeepNextNL Int Set] attr:[FontFace FixedFace Int Set] attr:[FontFamily AndyType Int 0]} \define{excerptedcaption attr:[LeftMargin LeftMargin Inch 32768] attr:[RightMargin RightMargin Inch 32768] attr:[FontFace Bold Int Set] attr:[FontFace Italic Int Set]} \define{literal menu:[Region~4,Literal~62] attr:[Flags PassThru Int Set]} \define{black menu:[Color,Black] attr:['color' 'Black']} \define{red } \define{green menu:[Color,Green] attr:['color' 'Green']} \define{blue menu:[Color,Blue] attr:['color' 'Blue']} \define{magenta menu:[Color,Magenta] attr:['color' 'Magenta']} \define{cyan menu:[Color,Cyan] attr:['color' 'Cyan']} \define{yellow menu:[Color,Yellow] attr:['color' 'Yellow']} \define{helptopic menu:[Font~1,Help Topic~50] attr:[Flags DottedBox Int Set] attr:[FontFace Bold Int Set]} \define{formattingnote menu:[Region,FormattingNote] attr:[Flags PassThru Int Set] attr:[Flags NoFill Int Set] attr:[Flags KeepPriorNL Int Set] attr:[Flags KeepNextNL Int Set]} \define{footnote } \define{helv } \define{infour } \define{abstit } \define{body } \begindata{raster,11420544} 2 0 32768 32768 0 0 366 437 bits 11420544 366 437 r04zs | r04zs | r04zs | r06zs | r06zs | r06zs | r07zs | r0780zr | r07c0zr | r07e0zr | r0ff0zr | r0ff0zr | r0ff8zr | r0ff8zr | r0ffczr | r0ffczr | r1ffezr | r1fGzr | r1fGzr | r1fG80zq | r1fGc0zq | r1fGc0zq | r1fGe0zq | r1fGe0zq | r1fGf0zq | r1fGf0zq | r1fGf8zq | r1fGf8zq | r1fGfczq | r1fGfczq | r1fGfezq | r1fGfezq | r1fHzq | r1fHzq | r1fH80zp | r1fH80zp | r1fHc0zp | r1fHc0zp | r1fHe0zp | r1fHe0zp | r1fHf0zp | r1fHf0zp | r0fHf0zp | r0fHf8zp | r0fHf8zp | r0fHfczp | r0fHfczp | r0fHfczp | r07Hfezp | r07Hfezp | r07Hfezp | r07Izp | r07Izp | r07I80zo | r03I80zo | r03I80zo | r03Ic0zo | r03Ic0zo | r01Ie0zo | r01Ie0zo | r01If0zo | r01If0zo | sIf8zo | sIf8zo | sIfczo | sIfezo | s7fHfezo | s7fIzo | s3fI80zn | s3fI80zn | s1fIc0zn | s1fIe0zn | s0fIe0zn | s0fIf0zn | s07If0zn | s07If8zn | s03Ifczn | s01Ifezn | s01Ifezn | tJzn | t7fI80zm | t3fIc0zm | t3fIe0zm | t1fIf0zm | t0fIf8zm | t07Ifczm | t03Ifezm | t01J80zl | uJc0zl | u7fIe0zl | u3fIf8zl | u1fIfczl | u07Jzl | u03J80zk | u01Je0zk | v7fIf0zk | v3fIf8zk | v1fIfezk | v0fJ80zj | v03Je0zj | v01Jf0zj | w7fIfczj | w1fJzj | w07Jc0zi | w01Jf0zi | x7fIfczi | x1fJzi | x07Jc0zh | x01Jf0zh | y3fIfczh | y0fJzh | y03Jc0zg | zJf8zg | z3fJzg | z0fJe0n10q | z03Jfcn10q | zgK80m30q | zg1fJf0me0q | zg03Jfel3fc0q | zh7fJc0j1fG80 q | zh07Jfci1fGfe r | ziKc0g1fHfcr | zi1fOf0r | zi01Oc0r | zj07Ns | zk1fLfcs | zj07Mf0s | zi03Nc0s | ziOt | zh0fNfct | zhOf0t | zg0fOc0t | zgPu | z0fOfcu | zPf0u | y0fPc0u | yPfev | x0fPf0v | xQw | w0fPf8w | wQ80w | v0fPf8x | vQ80x | u0fPf8y | uQ80y | t0fPf8z | tQ80z | s0fPf8zg | r01Q80zg | r3fPf8zh | q03Q80zh | q3fPf8zi | p03Q80zi | p3fPf8zj | o03Q80zj | o7fPf8zk | n07Q80zk | nQf8zl | m0fQ80zl | m7fPf8zm | l07Q80zm | l7fPf8zn | k07Q80zn | k7fPf8zo | j07Q80zo | jQf8zp | i1fQ80zp | h0fQf8zq | c03fR80zq | 7fRf8zr | 1fR80zr | 0fQf8zs | 07Q80zs | 03Pf0zt | gPzu | g7fNf0zu | g1fMfezv | g07Mc0zv | hLfczw | h0fLc0zv | iLf8zv | i0fKfezv | jL80zu | j0fKe0zu | kKf8zu | k0fJfezu | l7fJ80zt | l07Je0zt | m7fIf8zt | m03Ifezt | n1fI80zs | n07Ie0zs | o7fHf8zs | o0fHfezs | o01I80zr | p3fHe0zr | p07Hf8zr | p01Hfezr | q3fH80zq | q0fHe0zq | q03Hf8zq | rHfezq | r3fH80zp | r1fHe0zp | r07Hf8zp | r03Hfezp | sI80zo | s7fHe0zo | s1fHf8zo | s07Hfezo | s03I80zn | tIc0zn | t3fHe0zn | t1fHf8zn | t07Hfczn | t03Hfezn | t01I80zm | uIc0zm | u7fHe0zm | u3fHf0zm | u1fHf8zm | u0fHfczm | u07Hfezm | u03Izm | u01I80zl | vIc0zl | v7fHe0zl | v3fHf0zl | v1fHf8zl | v1fHfczl | v0fHfezl | v07Izl | v03I80zk | v01Ic0zk | v01Ie0zk | wIf0zk | w7fHf8zk | w3fHf8zk | w1fHfczk | w1fHfezk | w0fIzk | w07Izk | w03I80zj | w01Ic0zj | w01Ie0zj | xIe0zj | x7fHf0zj | x3fHf0zj | x1fHf8zj | x1fHfczj | u7f80g0fHfcm10 v | u7f80g07Hfem30 v | u7f80g07Hfem70 v | uGc0g03Il01f0 v | uGc0g01I80kGf0 v | uGc0g01I80kGf0 v | t01Ge0hIc0kGf0 v | t01Ge0h7fHe0k 07f0v | t01Ge0h7fHe0k 07f0v | t03Gf0h3fHf0k 07f0v | t03Gf0h1fHf0k 07f0v | t03Gf0h1fHf8k 07f0v | t07Gf8h0fHfck 07f0v | t07Gf8h0fHfck 07f0v | t07Gf8h07Hfek 07f0v | t0fGfch03Gf7fe k07f0v | t0fGfch03Gc7G k07f0v | t0fGfch01G87e0 k07f0v | t1fGfeh01fe07 80k07f0v | t1fGfeif806l07 f0v | t1f8ffej04l07 f0v | t3f8fGq07f0v | t3f8fGq07f0v | t3f07Gq07f0v | t7f07G80p07f0 v | t7f07G80i20j01 G87f0h40s | t7e03G80i600f f8h07Ge7f0hc0 70g01feg0fGf9 He03ffc | tfe03Gc0ie03f feh1fGf7f0g01 c1f8g0fGc00fG f9He03ffc | tfe03Gc0h03e0 Hh3fHf0g07c3fc g3fGf00fGf9He0 3ffc | tfc01Gc0g01Ge1 H80g7f83Gf007 Gc7feg7f8ff801 Gc01ffcg07c0 | s01fc01Ge0g01 Ge3Hc0gGgGf007 Gc7fegfe03fcg Gc00ff8g03c0 | s01fc01Ge0g01 Ge7Hc001feg7f f007GcfG01fc01 fegGc00ff8g03 80 | s01f8gGe0g01G efHe003fcg3ff0 07GcfG03f8gGg Ge007f8g0380 | s03f8gGf0h0fG 01Ge003f8g1ff0 g3fdf0f07f0g7f g7fe007fcg0380 | s03f8gGf0h0ffc g7ff007f8g1ff0 g3fde070fe0g3f 807fe007fcg07 g | s03f0g7ff0h0f f8g3ff007f0g0f f0g3ffc030fe0 g3f807ff003fc g07g | s07f0g7ff8h0f f0g1ff00ff0g0f f0g3ff8031fc0 g1fc03ff003fe g0fg | s07f0g7ff8h0f e0g1ff00ff0g07 f0g3ff0011fc0 g1fc03ff003fe g0eg | s07e0g3ff8h0f e0g0ff01fe0g07 f0g3fe0g3f80g 0fe03ff001feg 0eg | s0fe0g3ffch0f e0g0ff01fe0g07 f0g3fe0g3f80g 0fe01ff801Gg1e g | s0fe0g3ffch0f e0g0ff01fe0g07 f0g3fc0g3fIe0 1ff801Gg1cg | s0fc0g1ffch0f e0g0ff01fe0g07 f0g3fc0g7fIf0 1ff801Gg1cg | s1fc0g1ffeh0f e0g0ff03fe0g07 f0g3fc0g7fIf0 0ff803G803cg | s1fc0g1ffeh0f e0g0ff03fe0g07 f0g3fc0g7fIf0 0ffc03G8038g | s1f80g0ffeh0f e0g0ff03fe0g07 f0g3fc0g7f80i 0ffc03G8038g | s3f80g0fGh0fe0 g0ff03fe0g07f0 g3fc0g7fj07fc 07Gc078g | s3f80g0fGh0fe0 g0ff03fe0g07f0 g3fc0g7fj07fe 07Gc070g | s3fJh0fe0g0ff0 3fe0g07f0g3fc0 g7fj07fe073fc0 70g | s7fJ80g0fe0g0f f03fe0g07f0g3f c0g7fj03fe0f3f e0f0g | s7fJ80g0fe0g0f f03fe0g07f0g3f c0g7fj03G0e3f !e0g | s7eh03G80g0fe0 g0ff03fe0g07f0 g3fc0g7fj03G0e 1f!e0g | sfeh03Gc0g0fe0 g0ff03fe0g07f0 g3fc0g7fj01G1e 1ff1e0g | sfeh03Gc0g0fe0 g0ff03fe0g07f0 g3fc0g7fj01G9c 1ff1c0g | sfch01Gc0g0fe0 g0ff03fe0g07f0 g3fc0g7fj01G9c 0ff1c0g | r01fch01Ge0g0f e0g0ff03fe0g07 f0g3fc0g7fkGbc 0ffbc0g | r01fch01Ge0g0f e0g0ff03fe0g07 f0g3fc0g3f80j Gf80ffb80g | r01f8iGe0g0fe0 g0ff03ff0g07f0 g3fc0g3f80g07 e0gGf807fb80g | r03f8iGf0g0fe0 g0ff01ff0g0ff0 g3fc0g3f80g07 e0g7ff807G80g | r03f8iGf0g0fe0 g0ff01ff0g1ff0 g3fc0g1fc0g0f e0g7ff007Gh | r03f0i7ff0g0f e0g0ff00ff8g3f f0g3fc0g1fc0g 0fc0g7ff003Gh | r07f0i7ff8g0f e0g0ff00ffcg7f f0g3fc0g1fe0g 1fc0g3ff003Gh | r07f0i7ff8g0f e0g0ff007fegG f0g3fc0g0fe0g 3f80g3fe003fe h | r07e0i3ff8g0f e0g0ff007G03G f0g3fc0g0ff0g 7f80g3fe001fe h | r0fe0i3ffcg0f e0g0ff003Gc7G f8g3fc0g07f8g Gh1fe001feh | r0fe0i3ffcg0f e0g0ff001Hf7G c03fc0g03fc01 feh1fc001fch | r0fc0i1ffcg0f e0g0ff001Hf7G c03fc0g01G07fc h1fc001fch | r1fe0i3ffeg1f f0g1ff8gHe7Gc0 7fe0hHf8h0fc0 gfch | q01Gfeh07He1H 81H803fGc7c007 Gfeh3fGf0h0f80 gf8h | q01Gfeh07He1H 81H801fG87g07 Gfeh1fGc0h0f80 gf8h | q01Gfeh07He1H 81H8003fc06g07 Gfeh03feo | zn04w | zzl | zzl | zzl | zzl | zg1fHfczg | zg1fHfczg | zg1fHfczg | zg0fHfezg | zg0fHfezg | zg0fHfezg | zg0fHfezg | zg07Izg | zg07Izg | zg07Izg | zg07Izg | zg03I80z | zg03I80z | zg03I80z | zg03I80z | zg01Ic0z | zg01Ic0z | zg01Ic0z | zg01Ic0z | zhIe0z | zhIe0z | zhIe0z | zhIe0z | zh7fHf0z | zh7fHf0z | zh7fHf0z | zh7fHf0z | zh3fHf8z | zh3fHf8z | zh3fHf8z | zh3fHf8z | zh1fHf8z | zh1fHfcz | zh1fHfcz | zh1fHfcz | zh0fHfcz | zh0fHfcz | zh0fHfez | zh0fHfez | zh07Hfez | zh07Hfez | zh07Iz | zh07Iz | zh03Iz | zh03Iz | zh03Iz | zh03I80y | zh01I80y | zh01I80y | zh01I80y | zh01Ic0y | ziIc0y | ziIc0y | ziIc0y | ziIe0y | zi7fHe0y | zi7fHe0y | zi7fHe0y | zi7fHf0y | zi3fHf0y | zi3fHf0y | zi3fHf0y | zi3fHf8y | zi1fHf8y | zi1fHf8y | zi1fHf8y | zi1fHfcy | zi0fHfcy | zi0fHfcy | zi0fHfcy | zi0fHfey | zi07Hfej80t | zi07Hfej80t | zi07Ii0180t | zi07Ii0180t | zi03Ii0380t | zi03Ii0780t | zi03Ii0f80t | zi03I80h1f80t | zi01I80h3f80t | zi01I80h7fu | zi01I80hGu | zi01I80g01Gu | zjI80g03Gu | zjIc0g07feu | zjIc0g0ffeu | zjIc0g1ffcu | zj7fHe0g3ff8u | zj7fHe0g7ff0u | zj7fHe0gGe0u | zj7fHf001Ge0u | zj3fHf803Gc0u | zj3fHf807G80u | zj1fHfc0fGv | zj1fI3ffev | zj0fJfev | zj0fJfcv | zj07Jf8v | zj07Jf0v | zj03Je0v | zj01Je0v | zkJc0v | zk7fI80v | zk3fIw | zk1fHfew | zk0fHfcw | zk07Hf8w | zk03Hf0w | zlHe0w | zl3fG80w | zl07fex | zzl | \enddata{raster, 11420544} \view{rasterview,11420544,5,0,0} \formatnote{.sp -1.0i }\helv{\bold{\infour{\flushright{Andrew Consortium School of Computer Science Carnegie Mellon }}}} \bigger{\bigger{\leftindent{\leftindent{\leftindent{\bold{The Andrew View }}}}}} \formatnote{ }\flushright{Volume 2, Number 2 June, 1993 } Here in Smith Hall the Consortium staff is still engaged in converting AUIS to C++. Ez and typescript are already working with a number of insets on the RS/6000 platform. We'll demonstrate this at ... ... the upcoming Tutorial and Andrew Technical Conference with the Annual Meeting in between are scheduled for June 24 and 25. For details, see below. _____________________________________________ \section{My own View} Wilfred J. Hansen, Director I'm pleased to report that I will be presenting a paper at the IEEE 1993 Symposium on Visual Languages in Bergen, Norway. Here's the title and abstract: \indent{\bold{\bigger{Andrew as a Multiparadigm Environment for Visual Languages}}} \body{\italic{\indent{Despite numerous innovations in visual languages, relatively little effort has been devoted to integrating visual languages with each other and with textual languages so each can be used for those purposes for which it is best suited. This paper advances a model for multiparadigm language environments which utilizes text in two roles, visual program organization and compiler input. The paper further shows that the Andrew User Interface System is a convenient framework for building language systems on this model. The approach is exemplified with a visual language for specification of string patterns. }} } Drop me a note if you'd like a copy of this paper. _____________________________________________ \section{Andrew Technical Conference} The 1993 Andrew Technical Conference and Consortium Annual Meeting will be held on the last Thursday and Friday in June. The tutorial on Thursday the 24th will cover conversion to C++ of existing code and writing new ATK objects in C++. This will be a conversion workshop. Send your code ahead of time and we will help you convert it. That evening will be the dinner and annual meeting, with the conference proper on the 25th. \bold{Wednesday, June 23} Checkin at Resnick Dormitory, Carnegie Mellon 7:30 Informal reception at Hansen's 5638 Northumberland 412 421 5121 \bold{Thursday, June 24} 9:00 Registration and Hospitality Room 314C College of Fine Arts 9:30 Tutorial - Converting to C++ Wilfred J. Hansen 12:00 Lunch will be provided 1:00 Conversion workshop Room 5202 Wean Hall 6:30 Dinner TV Room in the West Wing of Resnick Hall All conference attendees are invited to the dinner. 8:00 Annual meeting also in TV room All conference attendees are welcome to join the discussion at the annual meeting; however, only organizations which are full members of the Andrew Consortium are entitled to vote. \bold{Friday, June 25} 9:00 Hospitality - Coffee and ... 9:30 Wilfred J. Hansen, Andrew Consortium, Carnegie Mellon Progress Report on the Andrew User Interface System 10:00 Todd Inglett, IBM Rochester Smart Styles: Text Styles with a Controller 10:30 break 10:45 Robert S. Kemmetmueller, IBM Rochester Compressing Text Using ``Compress'' 11:15 Ellis Cohen, Open Systems Foundation UEC-II, UIMS for a Distributed Object-oriented Environment 11:45-1:30 lunch featuring the "O", a Pittsburgh tradition 1:30 Todd Jonker, Alexandria, CMU The ELAR Programming Language: From Large to Little 2:00 Mike Horowitz, Alexandria, CMU The Alexandria Information Habitat: Supporting Long-term Information Management 2:30 break 2:45 Dean Rubine, Tactus, CMU Tactus: Continuous Time Interactive Distributed Multi-media Application Development Toolkit Based on ATK 3:15 Susan Straub, Andrew Consortium, CMU Survey of Andrew Sites If you arrive before 4:00 on Wednesday, you can come directly to the Consortium offices. We're now located in Smith Hall 106. Smith Hall is an obscure building tucked behind and between the wings of Hamburg Hall (it's correct name is EDSH). If you'd like a map, send us mail and we'll fax one to you. If you are staying in the dorms, you can go directly to Resnick Hall after 4:00. There will be someone at the front registration desk from 4:00 till midnight. For those of you who are not staying in the dorms, you will probably still find our staff in Smith Hall ... feel free to drop by and say hello. We'll be trekking up to Fred's house around 7:30 for some form of food substance. He lives at 5638 Northumberland in Squirrel Hill. CMU's main campus is located on Forbes Avenue. If you're arriving from the Airport, you'll most likely be travelling up Forbes. To get to Fred's, you should continue past CMU about 1/2 mile and make a left onto Northumberland. Fred's house is almost a half mile down on the right-hand side. Registration will be Thursday morning at 9:00 in the Media Presentation Room in the College of Fine Arts, Room 314C. We will be in the CFA 314C until lunch (12:00) then move to the workstation cluster in Wean 5202. The workstations are connected to the internet so you can "phone home" so to speak. To participate in the conversion workshop, you may want to send us your code ahead of time. Send it to susan+@andrew.cmu.edu. Dinner is scheduled for 6:30 in the TV Room in the West Wing of Resnick Hall followed by the Annual Meeting in the same location. If you have any special dietary restrictions, please let us know. Members and non-members are welcome to attend the Annual Meeting, although only representatives of member organizations are allowed to vote. The talks on Friday will begin at 9:30 after hospitality at 9:00. We'll be in CFA 314C throughout the day on Friday, except for our trek to the 'O for lunch. (The O is a CMU Computer Science Dept. tradition.) Bring your walking shoes if you'd like to join the bunch. If you get lost, just ask someone on campus to point you to the College of Fine Arts. Room 314 is on the South end of the building (near the elevator). \leftindent{ Questions to Susan Straub susan+@andrew.cmu.edu (412) 268-7326 FAX (412) 682-6938} _____________________________________________ \section{Possible Projects for 1993-1994} The annual meeting portion of the Andrew Technical Conference will discuss various possible future projects for AUIS. In preparation, we have prepared a list of possible projects for consideration. Please send us any comments, additions, or deletions you may have. \description{"Widgets": Provide a complete set of widgets including textfield, various flavors of button, slider, optionmenu, bargraphs, dials, and so on. Each widget should be able to: be inserted anywhere, print, interact with user, initiate the extension language, report values to the extension language, interface to a style selection service so authors can modify image. The 'figure' inset needs to be enhanced, if necessary, to serve as a convenient substrate for widgets. Decorations and other wrappers: Design a mechanism for insets to put on / take off arbitrary decorations (borders, scroll bars, etc) or wrappers (name space, script, size handles, ...). This should have a user-level interface in ADEW or some enhanced version thereof. Template amenities: Shared templates so every text in a table can always have a template. Multiple and recursive templates so specifications can be distributed. World-wide web: (See article below.) Build converters to/from the HTML document representation understood by WWW servers. Build a server so web requests can be met directly from document in ATK format (they would be translated to HTML on the fly). Build an AUIS application to access the web. Architect a new printing model for ATK. Use PostScript(?). Use ghostscript or DisplayPostScript. Printing amenities like floating keeps, two-column output, and setting the page size. Toolset for the `image' inset. Simplify toolsets: If a toolset is visible and there is a click in an inset to which that toolset is relevant, then that toolset should be connected to that inset. Replace keyboard and mouse hit models with something like events. Provide a `graphics context' model. This would be used instead of explicitly setting all graphics parameters for each drawing operation. More and better programmer's documentation. Handle gracefully insets which do not exist. Allow the data of insets to reside outside the file in which the inset is embedded. Provide a way to filter newsgroups in `messages' so you would only see headers for those messages the filter selects. This may have to be based on headers only to reduce server traffic. Convert `messages' to some more widely used message server mechanism. Paragraph or line numbers visible for text (as for example numbering the stanzas of a poem or the lines of legal document). Implement `Undo'. } _____________________________________________ \section{Individual releases of AUIS} From the earliest days of the Consortium, individuals have asked for memberships. It has never been practical to offer individual memberships, but we have now developed a new distribution license for individuals. This will be presented at the Annual Meeting (24 June). If approved, individuals will be able to get a copy of the latest sources for a nominal distribution charge. Licensing restrictions will accompany the distribution and limit the software to that one individual. If you have any comments on this proposal, please let us know. _____________________________________________ \section{Information Retrieval Conferences} Immediately following the Andrew Technical Conference in Pittsburgh will be the annual ACM conference on Information Retrieval sponsored by SIGIR. Their conference announcement includes: \center{ACM SIGIR '93 16th International Conference on Research and Development in Information Retrieval Pittsburgh, PA, USA June 27-July 1, 1993} \leftindent{In co-operation with ACM: AICA-GLIR (Italy) BCS-IRSG (UK) DD (Denmark) GI (Germany) INRIA (France)} PRELIMINARY PROGRAM AND REGISTRATION INFORMATION The annual ACM SIGIR conference is the primary international meeting for the presentation of research and development in information retrieval (IR). The conference will be valuable to those interested in the theory of information retrieval as well as those responsible for system design, testing and evaluation. Topics include association methods, query processing, data and file structures, DBMS integration, structured text, inference networks, interface issues,and natural language processing. This year the conference will be held in Pittsburgh, PA, USA, within easy reach of major east coast centers. The city centre conference site overlooks the three rivers, providing access to parks, restaurants and shopping, cultural amenities and sporting events. Pre-conference tutorials will cover both beginning and advanced topics. The main program consists of contributed papers as well as panel sessions and demonstrations. There will be two post-conference research workshops, User Interfaces for Online Public Access Catalogs, and Information Access and the Networks. Conference highlights include: Sunday * Tutorials * Reception Monday * Keynote address: Bruce Buchanan * Text REtrieval Conference (TREC) overview Tuesday * Panel session: NLP for Information Management * Cruise and Banquet on Pittsburgh's Three Rivers Wednesday * Demonstrations * Reception Thursday * Post-conference research workshops: User Interfaces for Online Public Access Catalogs Information Access and the Networks * Tour of Frank Lloyd Wright's Fallingwater * Tour and Open House at Carnegie Mellon University Tutorials Sunday, June 27, 1993 AM: Introduction to Information Retrieval Keith van Rijsbergen, University of Glasgow Developing Information Retrieval Applications using Object Database Technology David J. Harper, University of Glasgow Trends in Multimedia Development Alan Griffiths, University of Sheffield PM: Natural Language Processing for Information Retrieval David Lewis and Elizabeth Liddy, AT&T Bell Labs. & Syracuse University Information Retrieval and Databases Norbert Fuhr, University of Dortmund, Germany Non-Textual Compression in Full-Text IR Systems Shmuel T. Klein, Bar-Ilan University, Israel FOR FURTHER PROGRAM AND REGISTRATION INFORMATION CONTACT: SIGIR '93 Conference Secretariat School of Library and Information Science University of Pittsburgh Pittsburgh, PA 15260, USA tel: (412) 624-9459; fax: (412) 648-7001 email: sigir@lis.pitt.edu INFORMATION ACCESS AND THE NETWORKS A Research Workshop (held after SIGIR'93) July 1, 1993 --- Pittsburgh, PA Information access involving networks is one of the most important growth areas in the broad field of information technology. User demand has caused a massive growth in the size of the Internet and the amount of information accessible on it. This has made it imperative to develop new technologies to provide an infrastructure for this new information space. This workshop will bring together researchers and developers to discuss network-based information services in both general and specific terms, drawing upon those attending ACM SIGIR '93 and the communities related to: \indent{Archie, Digital Libraries, Gopher, HyperPage, Knowbots, NCSA Mosaic, NNTP/Usenet, Prospero, Veronica, WAIS, WWW (WorldWideWeb), Z39.50} along with other related initiatives, protocols, systems, and services. Further information is available from: Ed Fox, (fox@fox.cs.vt.edu; foxea@vtcc1.bitnet) or Chris Tomer (ianet@lis.pitt.edu) _____________________________________________ \section{Gnu Ispell 4.0} The "Check Spelling" option on Andrew's Search/Spell menu calls on the ispell software. Recently the Free Software Foundation has announced the release of a new version of ispell. Since we're busy converting to C++, we have not tested this version with AUIS; if anyone does, we would be pleased to hear how it works. Here is the announcement: \indent{ GNU Ispell 4.0 is available via anonymous FTP from prep.ai.mit.edu in /pub/gnu/ispell-4.0.tar.z (this file is compressed with `gzip', *not* the unix `compress' or `pack' programs). [gzip is also available from the FTP sites.] Ispell is an interactive spell checker that finds unrecognized words and suggests "near misses" as replacements. Both system and user-maintained dictionaries can be used. ... standalone[, AUIS,] and GNU Emacs interface are available. Please report bugs to bug-gnu-utils@prep.ai.mit.edu. [... The above software will soon be at these ftp sites as well. Please try them before prep.ai.mit.edu! thanx -gnu@prep.ai.mit.edu ASIA: ftp.cs.titech.ac.jp, utsun.s.u-tokyo.ac.jp:/ftpsync/prep, cair.kaist.ac.kr:/pub/gnu AUSTRALIA: archie.oz.au:/gnu EUROPE: irisa.irisa.fr:/pub/gnu, grasp1.univ-lyon1.fr:pub/gnu, ftp.mcc.ac.uk, unix.hensa.ac.uk:/pub/uunet/systems/gnu, src.doc.ic.ac.uk:/gnu, ftp.win.tue.nl, ftp.informatik.tu-muenchen.de, ftp.informatik.rwth-aachen.de:/pub/gnu, nic.funet.fi:/pub/gnu, ftp-admin@ftp.technion.al.il:/pub/unsupported/gnu, isy.liu.se, ftp.stacken.kth.se, ftp.luth.se:/pub/unix/gnu, ugle.unit.no, ftp.denet.dk, ftp.eunet.ch, nic.switch.ch:/mirror/gnu, archive.eu.net USA: wuarchive.wustl.edu:/mirrors/gnu, labrea.stanford.edu, ftp.kpc.com:/pub/mirror/gnu, ftp.cs.widener.edu, uxc.cso.uiuc.edu, col.hp.com:/mirrors/gnu, ftp.cs.columbia.edu:/archives/gnu/prep, gatekeeper.dec.com:/pub/GNU, ftp.uu.net:/systems/gnu ]} _____________________________________________ \section{Information online} A list of network information services is available for anonymous FTP from csd4.csd.uwm.edu under the name pub/inet.services.txt. The header of the file describes itself thusly: * SPECIAL INTERNET CONNECTIONS: Last Update: 6/3/93 * * Compiled By: Scott Yanoff - yanoff@csd4.csd.uwm.edu * A list of public domain text has been prepared as an FAQ by Thomas Dell. It dscribes its own distribution as: \indent{Online Books FAQ :: 6/1/93 This FAQ addresses mainly the availability of PUBLIC DOMAIN sources of Etext available on the Internet. By "public domain" we mean text that is unencumbered and free from copyrights. } \indent{[This FAQ is being crossposted to rec.arts.books, comp.text, alt.internet.services, and comp.infosystems.gopher as well. It will be crossposted to news.answers when it is past draft stage.] dell@wiretap.spies.com / Thomas E Dell} _____________________________________________ \section{Be Heard} Now there is a new way to be heard in the land, send email to the President. The memo below comes from reliable sources and gives an address to send email to Bill. As yet, they do not appear to have MIME, so just use the Remove Formatting and Send option from sendmessage. Date: 1 Jun 93 19:18:22 UT From: "Jack S. Fox " Subject: FYI - Internet Mail Press Release for President and V.P. Message-Id: <"22815110603991/6419 EOPMRX"*@sprint.com> FYI - We plan to start accepting mail this afternoon. Jack THE WHITE HOUSE Office of Presidential Correspondence ______________________________________________________________ For Immediate Release June 1, 1993 \center{LETTER FROM THE PRESIDENT AND VICE PRESIDENT IN ANNOUNCEMENT OF WHITE HOUSE ELECTRONIC MAIL ACCESS} \indent{Dear Friends:} \indent{ Part of our commitment to change is to keep the White House in step with today's changing technology. As we move ahead into the twenty-first century, we must have a government that can show the way and lead by example. Today, we are pleased to announce that for the first time in history, the White House will be connected to you via electronic mail. Electronic mail will bring the Presidency and this Administration closer and make it more accessible to the people. . . . However, we must be realistic about the limitations and expectations of the White House electronic mail system. This experiment is the first-ever e-mail project done on such a large scale. As we work to reinvent government and streamline our processes, the e-mail project can help to put us on the leading edge of progress. Initially, your e-mail message will be read and receipt immediately acknowledged. A careful count will be taken on the number received as well as the subject of each message. However, the White House is not yet capable of sending back a tailored response via electronic mail. We are hoping this will happen by the end of the year. . . . This is an historic moment in the White House and we look forward to your participation and enthusiasm for this milestone event. We eagerly anticipate the day when electronic mail from the public is an integral and normal part of the White House communications system.} President Clinton Vice President Gore PRESIDENT@WHITEHOUSE.GOV VICE.PRESIDENT@WHITEHOUSE.GOV \smaller{_______________________________________ \subsection{The Andrew User Interface System} The Andrew User Interface System (AUIS) is a portable user-interface environment and toolkit that runs under X11. It provides a dynamically-loadable object-oriented environment wherein objects can be embedded in one-another. Thus, one could use our 'generic-object' editor (ez) to edit text that, in addition to containing multiple fonts, contains embedded raster images, spreadsheets, drawings, equations, simple animations, etc. These embedded objects may themselves contain other objects, including text. The release includes many objects, including those mentioned above, along with a help system, a system monitoring tool (console), an editor based shell interface (typescript). The underlying Andrew Toolkit architecture (ATK) supports not only screen display, but also file storage, cut/paste across windows, an application construction environment, an extension language, and printing. There is full support for programmers to create new objects and new applications. The Andrew Message System(AMS) is a component of AUIS and provides a multi-media interface to mail and bulletin-boards. AMS contains many advanced features including authentication, return receipts, automatic sorting of mail, vote collection and tabulation, enclosures, audit trails of related messages, and subscription management. It also provides a variety of interfaces that support character-based terminals and low-function personal computers in addition to high-function workstations. The following are components are available in version 5.2 and later versions. Some respond to frequently requested applications in X: word processor: ez, drawing editor: figure, mail and news reader: messages, font editor: bdffont, documentation presentation: help, directory browser: bush. \bold{ AUIS applications (graphic and interactive)} bush - directory browser chump - schedule maintainer console - shell interface / terminal replacement ez - word processor and program editor fdbbdf - font editor (for fonts in bdf format) help - documentation browser (includes all AUIS help files) launch - provides a menu of AUIS applications messages - mail and news reader, manager, and composer pipescript - viewer useful as stdout prefed - preferences editor sendmessage - application for sending a message or news posting typescript - shell interface (terminal substitute) \bold{Graphical, interactive editors that are both applications and insets} eq - equation inset fad - animation editor figure - drawing editor layout - inset for arbitrary layout of enclosed insets lset - display two adjacent insets ness - extension and string processing language org - display and edit hierarchies page - allow flipping between pages raster - editor for monochrome bitmapped images table - table / spreadsheet inset text - text, document, and program editor (the heart of ez and other applications) \bold{ Commonly used non-interactive AUIS applications} datacat - concatenate ATK files ezprint - print an ATK document nessrun - runs a Ness script (the extension and string processing language) preview - preview an ATK document on screen \bold{ File format converters} from ATK to: RTF, ASCII, PostScript, troff to ATK from: ppm, Scribe, RTF, troff, X window dump convertraster - various raster formats \bold{ Embeddable insets not usually used as applications} clock - analog clock eq - equations fad - rudimentary animations header - specify document headers and footers image - display images link - hypertext-like link month - display one month calendar note - annotation text - the text object itself timeoday - digital clock writestamp - time file was written \bold{ Editing tools} compchar - type characters for European languages compile - support compilation and error review complete - filename completion for typescript dired - directory browser dsearch - dynamic search ezdiff - compare two ASCII files filter - process a region of a document through a shell command isearch - incremental search lookz - style table editor spell - spelling correction (uses ispell) \bold{ Source text editing tools for} assembler, C++, C, Lisp, man pages, Modula, Modula-3, Pascal \bold{ Tools for constructing insets and applications} arb - ADEW application builder interface bison - GNU parser generator (modified) class - preprocessor for ATK object system header files createcon - ADEW tool to generate C code for interface createinset - create a prototypical inset under a new name doindex - classC postprocessor genmake - Makefile generator for classC gentlex - lexical analyzer generator makedo - classC post processor to create objects runadew - ADEW application builder whichdo - find an inset on the CLASSPATH \bold{ Additional insets available for building applications} button, display text string, entry of labeled text string, four position switch, multiple buttons, multiple sliders, multiple string entry, on/off switch, slider, slider controlling array of strings, text list, thumb knob ______________________________________ \subsection{Consortium Services and Offerings} For information about services and offerings of the Andrew Toolkit Consortium please contact us at: \leftindent{Information Requests ATK Consortium Carnegie Mellon University Smith Hall 106 5000 Forbes Avenue Pittsburgh, PA 15213-3890 USA phone: +1-412-268-6710 info-andrew-request@andrew.cmu.edu} We offer: Memberships at three levels: Full, Contributing, and Associate Source tape CDrom with both source and executables Bibliography Copies of papers Videotapes Conference proceedings Sources and binaries are available online via anonymous ftp from \bold{emsworth.andrew.cmu.edu} (128.2.45.40) where the full CDrom release is in the ./cdrom directory. See the README there. Another ftp site is \bold{export.lcs.mit.edu} (18.30.0.238) in directory ./contrib/andrew; this is cloned on many servers, world-wide. On the nationwide AFS file system, AUIS is available in \bold{/afs/andrew.cmu.edu/itc/sm/releases/X.V11R5/ftp/cdrom/ } Remote Andrew Demo service: \bold{ finger help@atk.itc.cmu.edu} News groups: \bold{info-andrew+@andrew.cmu.edu} This is a distribution list offering the news with full AUIS formatting; send subscription requests to info-andrew-request@andrew.cmu.edu. For newsgroup in plain ASCII, see \bold{comp.soft-sys.andrew} Andrew has been successfully used on (at least) these platforms: \leftindent{\description{IBM: RT AOS 3.4, RT AIX 2.2.1, RS/6000 AIX3.1, PS/2 AIX1.2 SUN: Sun3 3.5, Sun3 4.0, Sun4 4.0, Sun3 4.1, Sun4 4.1, Sun4 Mach DEC: Vax Ultrix 3.1, Vax Ultrix 4.2, Vax BSD, DEC MIPS, Pmax Mach other: HP, SCO I386, SGI IRIX 4.0, Apollo, Macintosh II MacMach, 486 Mach}} } \bold{Send requests to info-andrew-requests@andrew.cmu.edu Send bug reports to info-andrew-bugs@andrew.cmu.edu} \enddata{text,8217216} \enddata{text822, 15797} \begindata{text822, 52871} X-Andrew-Authenticated-As: 17516;andrew.cmu.edu;Jeffrey Carpenter Return-path: X-Andrew-Authenticated-as: 7274;pitt.edu;Jeffrey J. Carpenter Received: from sea-green.cis.pitt.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sun, 13 Jun 1993 01:57:07 -0400 (EDT) Received: from sea-green.cis.pitt.edu via qmail ID ; Sun, 13 Jun 1993 01:49:23 -0400 (EDT) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.sea.green.cis.pitt.edu.pmax.3 via MS.5.6.sea-green.cis.pitt.edu.pmax_3; Sun, 13 Jun 1993 01:49:21 -0400 (EDT) Message-ID: Date: Sun, 13 Jun 1993 01:49:22 -0400 (EDT) From: "Jeffrey J. Carpenter" X-Andrew-Message-Size: 1374+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: uids > 32767 and the White Pages CC: Bill Fithen , Steve Kalinowski , Rudolph T Maceyko , James R Crawford \begindata{text,17133656} \textdsversion{12} \template{messages} Hello, We are close to having more than 32767 users and we are going to have use uids > 32767. I am working on a problem with the white pages concerning this. It seems that most of the white pages routines treat uid as an int. But the White Pages is still representing these numbers as negative. I tracked it down to a line in \typewriter{overhead/wputil/makeboth.c} where it sets the "NI" field with an sprintf: \example{static void LoadDBFields() \{ /* Load the stuff from NewPW into the database fields. */ int i; for (i=0; i <= FldMAX; i++) FieldContent[i][0] = '\\0'; strcpy(flID, NewPW.pw_name); /* Unix login name becomes ID */ strcpy(flPW, NewPW.pw_passwd); /* Unix password becomes PW */ \bold{sprintf(flNI, "%d", NewPW.pw_uid); /* Unix login UID becomes NI */} sprintf(flGI, "%d", NewPW.pw_gid); /* Unix group ID becomes GI */ strcpy(flN, NewPW.pw_gecos); /* Famous GECOS field becomes N */ strcpy(flHD, NewPW.pw_dir); /* Login directory becomes HD */ strcpy(flSh, NewPW.pw_shell); /* ...and the shell remains the Sh. */ HaveAnEntry = 1; for (i=0; i <= FldMAX; i++) FieldChanged[i] = 0; strcpy(flWN, flN); /* WN gets pre-set from N. */ \} } Does anyone know of any problems that would be caused if that line is set to: \example{ sprintf(flNI, }"%u"\example{, NewPW.pw_uid); /* Unix login UID becomes NI */ } Thanks, jeff \enddata{text,17133656} \enddata{text822, 52871} \begindata{text822, 55726} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sun, 13 Jun 1993 13:23:43 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Sun, 13 Jun 1993 13:20:54 -0400 (EDT) Received: from sadye.emba.uvm.edu by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Sun, 13 Jun 93 13:20:48 EDT Received: by sadye.emba.uvm.edu id AA18766 (5.65/6.02); Sun, 13 Jun 93 13:20:40 -0400 Date: Sun, 13 Jun 93 13:20:40 -0400 From: Garrett.Wollman@UVM.EDU Message-Id: <9306131720.AA18766@sadye.emba.uvm.edu> To: "Jeffrey J. Carpenter" Cc: Bill Fithen , Info-Andrew , James R Crawford , Rudolph T Maceyko , Steve Kalinowski Subject: uids > 32767 and the White Pages In-Reply-To: References: < said: > We are close to having more than 32767 users and we are going to > have use uids > 32767. I am working on a problem with the white > pages concerning this. It seems that most of the white pages > routines treat uid as an int. But the White Pages is still > representing these numbers as negative. It looks to me like your operating system is representing these numbers as negative. In many pre-POSIX systems, the pw_uid field was represented as a `short'; when the integral promotions see a `short' whose value is negative (i.e., its unsigned value is > 32767), it gets promoted to a negative `int' by sign-extension. (So, your suggested modification of `%u' will have the result of turning 32768 into 2147483648, probably not the number you intended.) The correct thing for the code to do, in /any/ case where the underlying type is unknown and/or varies from machine to machine (both are true here) is to use the `%lu' printf format, and cast the values `(unsigned long)'. (Let us for the moment forget the existence of `long long' in certain mutant systems like 4.4BSD...) -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@emba.uvm.edu | Shashish is the bonding of hearts in spite of distance. uvm-gen!wollman | It is a bond more powerful than absence. We like people UVM disagrees. | who like Shashish. - Claude McKenzie + Florent Vollant \enddata{text822, 55726} \begindata{text822, 58532} X-Andrew-Authenticated-As: 17516;andrew.cmu.edu;Jeffrey Carpenter Return-path: X-Andrew-Authenticated-as: 7274;pitt.edu;Jeffrey J. Carpenter Received: from sea-green.cis.pitt.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sun, 13 Jun 1993 20:28:32 -0400 (EDT) Received: from sea-green.cis.pitt.edu via qmail ID ; Sun, 13 Jun 1993 20:27:14 -0400 (EDT) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.sea.green.cis.pitt.edu.pmax.3 via MS.5.6.sea-green.cis.pitt.edu.pmax_3; Sun, 13 Jun 1993 20:27:13 -0400 (EDT) Message-ID: <8g6wLVS2ATtmQ7q4om@pitt.edu> Date: Sun, 13 Jun 1993 20:27:13 -0400 (EDT) From: "Jeffrey J. Carpenter" X-Andrew-Message-Size: 1829+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: uids > 32767 and the White Pages CC: Bill Fithen , James R Crawford , Rudolph T Maceyko , Steve Kalinowski , Garrett.Wollman@UVM.EDU In-Reply-To: <9306131720.AA18766@sadye.emba.uvm.edu> References: <9306131720.AA18766@sadye.emba.uvm.edu> \begindata{text,20659628} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from mail: 13-Jun-93 uids > 32767 and the White .. Garrett.Wollman@UVM.EDU (1505)} \quotation{It looks to me like your operating system is representing these }\quotation{numbers as negative. In many pre-POSIX systems, the pw_uid field was }\quotation{represented as a `short'; when the integral promotions see a `short' }\quotation{whose value is negative (i.e., its unsigned value is > 32767), it gets }\quotation{promoted to a negative `int' by sign-extension. (So, your suggested }\quotation{modification of `%u' will have the result of turning 32768 into }\quotation{2147483648, probably not the number you intended.) } You are correct that these are represented as negative numbers on this operating system. The gist of my question, is if I force this to a positive number, will we experience any problems. I think the reason why it is failing is because the routines comparing the user's id with what is in the white pages are using the AFS id, which is represented as a positive number. cawp.test shows this, along with representing the person's UNIX uid as negative because uid_t is a short: \example{(20) sea-green $ overhead/util/lib/cawp.test Workstation cell: ``pitt.edu'', vid 43500, expires 14 Jun 1993 at 1:36:29 EDT. Can't find WP info: No keys found Before referring to workstation sea-green.cis.pitt.edu: (1) ``pitt.edu'', non-primary, non-local, vid 43500, expires 14 Jun 1993 at 1:36:29 EDT. Can't find WP info: No keys found After referring to workstation sea-green.cis.pitt.edu: (1) ``pitt.edu'', non-primary, non-local, vid 43500, expires 14 Jun 1993 at 1:36:29 EDT. Can't find WP info: No keys found (2) ``sea-green.cis.pitt.edu'', local, vid -22036, expires 18 Jan 2038 at 22:14:07 EST. Can't find WP info: White Pages error code -1 } We also have to make this work in several architectures, some of which are not using shorts for the uid. jeff \enddata{text,20659628} \enddata{text822, 58532} \begindata{text822, 62075} Return-path: X-Andrew-Authenticated-as: 3832;pitt.edu;Bill Fithen Received: from pitt.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 14 Jun 1993 09:10:34 -0400 (EDT) Received: from rusty-red.cis.pitt.edu via qmail ID ; Mon, 14 Jun 1993 09:09:43 -0400 (EDT) If-Type-Unsupported: send Received: from rusty-red.cis.pitt.edu via qmail ID ; Mon, 14 Jun 1993 09:04:56 -0400 (EDT) Received: from Messages.7.15.N.CUILIB.3.45.SNAP.NOT.LINKED.rusty.red.cis.pitt.edu.pmax.3 via MS.5.6.rusty-red.cis.pitt.edu.pmax_3; Mon, 14 Jun 1993 09:04:56 -0400 (EDT) Message-ID: Date: Mon, 14 Jun 1993 09:04:56 -0400 (EDT) From: Bill Fithen X-Andrew-Message-Size: 745+0 Content-Type: X-BE2; 12 To: Info-Andrew , "Jeffrey J. Carpenter" Subject: Re: uids > 32767 and the White Pages CC: Steve Kalinowski , Rudolph T Maceyko , James R Crawford In-Reply-To: References: \begindata{text,19339036} \textdsversion{12} \template{messages} Jeff, I cannot tell from this code fragment what the point of this function is. It looks like it might be a translator to produce an ASCII representation of /etc/passwd records for placement in the wp database. If so, then in my opinion, it makes no difference if this particular utility translates binary-encoded UID's to signed or unsigned ASCII decimal representation. The problem is utilities that read ASCII encoded decimal UID's and convert them into binary-encoded form; they must assume the ASCII UID's are signed or unsigned correctly. Therefore, the change you propose only makes a difference if another program is reading the output that comes from the wp database and assumes a signed UID. Otherwise, it makes no difference. Bill \enddata{text,19339036} \enddata{text822, 62075} \begindata{text822, 64396} Return-path: X-Andrew-Authenticated-as: 2971;andrew.cmu.edu;John Gardiner Myers Received: from hogtown.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 14 Jun 1993 14:25:14 -0400 (EDT) Received: from hogtown.andrew.cmu.edu via qmail ID ; Mon, 14 Jun 1993 14:22:55 -0400 (EDT) Received: from BatMail.robin.v2.13.CUILIB.3.45.SNAP.NOT.LINKED.hogtown.andrew.cmu.edu.sun4c.411 via MS.5.6.hogtown.andrew.cmu.edu.sun4c_411; Mon, 14 Jun 1993 14:22:50 -0400 (EDT) Message-ID: <4g7A7uq00WBw8=AjN0@andrew.cmu.edu> Date: Mon, 14 Jun 1993 14:22:50 -0400 (EDT) From: John Gardiner Myers To: Info-Andrew Subject: Re: uids > 32767 and the White Pages In-Reply-To: References: Beak: Is The problem is that makeboth.c is reading the input files into a struct passwd (NewPW). I think a more correct fix would be to declare NewPW and OldPW as a similar struct type where pw_uid and pw_gid are longs. \enddata{text822, 64396} \begindata{text822, 65775} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 17 Jun 1993 09:51:06 -0400 (EDT) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 17 Jun 1993 09:49:15 -0400 (EDT) Received: from barney.cs.city.ac.uk by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 17 Jun 93 09:48:43 EDT Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.barney.cs.city.ac.uk.sun4.41 via MS.5.6.barney.cs.city.ac.uk.sun4_41; Thu, 17 Jun 1993 14:49:39 +0100 (BST) Message-Id: Date: Thu, 17 Jun 1993 14:49:39 +0100 (BST) From: Nick Williams X-Andrew-Message-Size: 1001+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew@andrew.cmu.edu Subject: overriding menu options \begindata{text,1790360} \textdsversion{12} \template{messages} A while ago someone was asking about how to override the menu entries in ATK, however the message has expired long since in our BB (Is there a searchable archive site?). I want to do this myself and have tried every combination of NULLs and whatnot that I can think of and just can't work out how to do it. The sort of thing I want to do is: \example{addmenu junk-foo "Region,Foo" textview remove junk-foo "Region,Foo" newview }where newview is a derived class of textview. I don't mind replacing the old menu entry. But I definitely need to override it. If neccessary, by hardcoding it into the class (I've tried all the things I could think of there, too). In myview__PostMenus, I've tried chaining my menus both before and after the child menus. No effect. Is there any way of doing what I want to do? Nick Williams E-mail: njw@cs.city.ac.uk (MIME and ATK) Systems Architecture Research Centre, Tel: +44 71 477 8551 London, EC1V 0HB Fax: +44 71 477 8587 \enddata{text,1790360} \enddata{text822, 65775} \begindata{text822, 68080} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 17 Jun 1993 12:22:35 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 17 Jun 1993 12:20:50 -0400 (EDT) Received: from vnet.IBM.COM by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Thu, 17 Jun 93 12:20:15 EDT Received: from RCHLAND by vnet.IBM.COM (IBM VM SMTP V2R2) with BSMTP id 5584; Thu, 17 Jun 93 12:18:49 EDT Reply-To: "Robert Kemmetmueller" Received: by po1 (AIX 3.2/UCB 5.64/4.7) id for info-andrew@andrew.cmu.edu; Thu, 17 Jun 1993 10:31:14 -0500 Received: via switchmail; Thu, 17 Jun 1993 10:31:14 -0500 (CDT) Received: from coredump.rchland.ibm.com via qmail ID ; Thu, 17 Jun 1993 10:31:11 -0500 (CDT) Received: from coredump.rchland.ibm.com via qmail ID ; Thu, 17 Jun 1993 10:31:10 -0500 (CDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.coredump.rchland.ibm.com.rs.aix32 via MS.5.6.coredump.rchland.ibm.com.rs_aix32; Thu, 17 Jun 1993 10:31:10 -0500 (CDT) Message-Id: Date: Thu, 17 Jun 1993 10:31:10 -0500 (CDT) From: Robert Kemmetmueller X-Andrew-Message-Size: 2531+1 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew@andrew.cmu.edu Subject: Re: overriding menu options In-Reply-To: References: \begindata{text,539311872} \textdsversion{12} \template{messages} \define{center attr:[Justification Centered Point 0]} \define{global } \define{comment } \define{keyword } \define{function } \define{userdef } \define{h attr:[FontFamily rom Int 0] attr:[FontSize ConstantFontSize Point 6]} \define{a attr:[Script PreviousScriptMovement Point -1] attr:['color' '#F0A000']} \define{b attr:[Script PreviousScriptMovement Point -1] attr:['color' '#E08000']} \define{c attr:[Script PreviousScriptMovement Point -1] attr:['color' '#D06000']} \define{d attr:[Script PreviousScriptMovement Point -1] attr:['color' '#C05000']} \define{e attr:[Script PreviousScriptMovement Point -2] attr:['color' '#B03000']} \define{f attr:[Script PreviousScriptMovement Point 6] attr:['color' '#A02000']} \define{g attr:['color' '#CD8500']} \excerptedcaption{Excerpts from ext.misc.info-andrew: 17-Jun-93 overriding menu options Nick Williams@cs.city.ac (1001+0)} \quotation{But I definitely need to override it. If neccessary, by hardcoding it into the class (I've tried all the things I could think of there, too). } \quotation{In myview__PostMenus, I've tried chaining my menus both before and after the child menus. No effect. } I have a similar problem. \bold{\italic{srctextview}} is a generic textview subclass for editing source code. It has a bunch of keybindings common to all languages. BUT, \italic{some} of its subclasses (like \bold{\italic{ctextview}}) need to OVERRIDE those keybindings. After spending a week trying every perverse combination of keystate_AddBefore and _AddAfter and anything \italic{else} I could think of, I ended up adding a method to \bold{\italic{srctextview}} called PrependKeystate(). \example{\smaller{\description{/* note: if you're a genius and want to clean this up, make sure your fix works in the following test case: edit a C program, embed a table inset in a comment, embed a ctext object INTO that table, and type slash-star and try the "Indent" menu for both the parent C program and the double-nested ctext object. If that still works OK, you're not getting paid enough; ask for a raise. */ void srctextview__ReceiveInputFocus(...) \{ self->header.textview.hasInputFocus = TRUE; self->header.textview.keystate->next= NULL; srctextview_PostKeyState(self, srctextview_PrependKeyState(self)); ... \} \comment{/* srctextview_PrependKeyState is called by _ReceiveInputFocus, in order to set up all the subclasses' keybinding overrides. This is overridden by subclasses, who should call super_PrependKeyState and then return that, prepended with their OWN keystate. This is a pretty dorky system, but it succeeds in binding keys with the proper precedence. */} struct keystate *srctextview__PrependKeyState(...) \{ self->src_state->next= NULL; return keystate_AddBefore(self->src_state, self->header.textview.keystate); \} \begindata{bp,541651264} \enddata{bp,541651264} \view{bpv,541651264,61,0,0} /* override, in ctextview (a subclass of srctextview) */ struct keystate *ctextview__PrependKeyState(...) \{ self->c_state->next= NULL; return keystate_AddBefore(self->c_state, super_PrependKeyState(self)); \} }}} Note that this is no help at all for \italic{you}, because you don't have the option of adding a method to your superclass :-(. And anyway, I'm not putting this forth as a \italic{solution}, because I think it's probably the Wrong Way. (but it \italic{does} \italic{work}). Hopefully, someone knows the Right Way, because I had no clue what I was doing when I coded that, and still don't. \center{ \h{\f{R\e{o\d{b\c{er\b{t K\a{emme}tmu}el}l}e}r }\g{rskm@rchland 3-4968 }}}\enddata{text,539311872} \enddata{text822, 68080} \begindata{text822, 73809} Return-path: X-Andrew-Authenticated-as: 1447;andrew.cmu.edu;Gary Keim Received: from rascal.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 17 Jun 1993 14:04:13 -0400 (EDT) Received: from rascal.andrew.cmu.edu via qmail ID ; Thu, 17 Jun 1993 14:00:36 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.rascal.andrew.cmu.edu.rs.aix32 via MS.5.6.rascal.andrew.cmu.edu.rs_aix3; Thu, 17 Jun 1993 14:00:35 -0400 (EDT) Message-ID: Date: Thu, 17 Jun 1993 14:00:35 -0400 (EDT) From: Gary Keim X-Andrew-Message-Size: 1311+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: overriding menu options In-Reply-To: References: \begindata{text,539446296} \textdsversion{12} \template{messages} \define{example menu:[Region~4,Example~12] attr:[LeftMargin LeftMargin Inch 32768] attr:[Justification LeftJustified Point 0] attr:[FontFace FixedFace Int Set] attr:[FontFamily AndyType Int 0]} \excerptedcaption{Excerpts from misc: 17-Jun-93 overriding menu options Nick Williams@cs.city.ac (1001+0)} \example{\quotation{remove junk-foo "Region,Foo" newview }}\quotation{where newview is a derived class of textview. }\quotation{I don't mind replacing the old menu entry. But I definitely need to override it. If neccessary, by hardcoding it into the class } First, you have to know, exactly, what the name of the menu item is, including it's positional information. Second, you need to specify, in a non-intuitive way, that the menu item should go away by giving an empty string for the proctable entry. So, to \bold{remove} the EZ, \italic{Quit} menu item, go into the frame sources (atk/frame/framecmds.c) and discover that it's real name is: \example{\{"frame-exit", "\\030\\003", 0, \red{"Quit~99"}, 0, frame_DefaultMenus, frame_Exit, "Exit editor. If any buffer is modified ask for confirmation."\} } Then add the following to your .ezinit file: addmenu "" "Quit~99" frame You can \bold{override} \italic{Quit} by first removing, like above, and then adding a new binding for the name "Quit" or you can do it in one step. In one step, to bind the EZ \italic{Quit} menu to the frame-delete-window proc: addmenu frame-delete-window "Quit~99" frame So, if I understand you query correctly, you'll want to add this to your global .atkinit file: addmenu "" "Region,Foo" newview -Gary Keim Andrew Consortium \enddata{text,539446296} \enddata{text822, 73809} \begindata{text822, 76744} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 18 Jun 1993 06:54:28 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 18 Jun 1993 06:53:28 -0400 (EDT) If-Type-Unsupported: send Received: from po2.andrew.cmu.edu via qmail ID ; Fri, 18 Jun 1993 06:41:58 -0400 (EDT) Received: from barney.cs.city.ac.uk by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Fri, 18 Jun 93 06:41:52 EDT Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.barney.cs.city.ac.uk.sun4.41 via MS.5.6.barney.cs.city.ac.uk.sun4_41; Fri, 18 Jun 1993 11:42:56 +0100 (BST) Message-Id: Date: Fri, 18 Jun 1993 11:42:56 +0100 (BST) From: Nick Williams X-Andrew-Message-Size: 1558+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: Re: overriding menu options In-Reply-To: References: \begindata{text,1790360} \textdsversion{12} \template{messages} \define{italic menu:[Font~1,Italic~11] attr:[FontFace Italic Int Set]} \define{bold menu:[Font~1,Bold~10] attr:[FontFace Bold Int Set]} \excerptedcaption{Excerpts from atk.info-andrew: 17-Jun-93 Re: overriding menu options Gary Keim@andrew.cmu.edu (1311+0)} \quotation{You can \bold{override} \italic{Quit} by first removing, like above, and then adding a new binding for the name "Quit" or you can do it in one step. In one step, to bind the EZ \italic{Quit} menu to the frame-delete-window proc: } \quotation{addmenu frame-delete-window "Quit~99" frame } Yes, but this overrides QUIT for all objects edited from EZ. I only want the override to occur when editing my object. Specifically: I have object "htmlview" which is subclassed from "textview". I want to override the "Insert Bullets" and "Itemize" methods which are attached to all textviews by the global initfile as the default methods do not do enough for my liking. In the global initfile, the Enumerate is added like so: \example{addmenu gnucompat-enumerate Region~4,Enumerate~31 textview }If I use Gary's idea and do: \example{addmenu htmlview-enumerate Region~4,Enumerate~31 textview }I successfully override the method. However, in non-htmlview objects, I can no longer use the enumerate region command: "Bad Command". This is because I have overriden the method for all textview classes. If I do: \example{addmenu htmlview-enumerate Region~4,Enumerate~31 htmlview }The method is \bold{not} overridden. It has no effect at all. I want to change the menu item for \bold{ONLY} my class. This can't really be impossible? Nick Nick Williams E-mail: njw@cs.city.ac.uk (MIME and ATK) Systems Architecture Research Centre, Tel: +44 71 477 8551 London, EC1V 0HB Fax: +44 71 477 8587 \enddata{text,1790360} \enddata{text822, 76744} \begindata{text822, 80179} Return-path: X-Andrew-Authenticated-as: 8779;andrew.cmu.edu;Andrew C. Plotkin Received: from orac.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 18 Jun 1993 11:16:48 -0400 (EDT) Received: from orac.andrew.cmu.edu via qmail ID ; Fri, 18 Jun 1993 11:14:26 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.orac.andrew.cmu.edu.pmax.ul4 via MS.5.6.orac.andrew.cmu.edu.pmax_ul4; Fri, 18 Jun 1993 11:14:25 -0400 (EDT) Message-ID: Date: Fri, 18 Jun 1993 11:14:25 -0400 (EDT) From: "Andrew C. Plotkin" X-Andrew-Message-Size: 779+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Nick Williams Subject: Re: overriding menu options CC: Info-Andrew In-Reply-To: References: \begindata{text,19817104} \textdsversion{12} \template{messages} \define{bold menu:[Font~1,Bold~10] attr:[FontFace Bold Int Set]} \define{example menu:[Region~4,Example~12] attr:[LeftMargin LeftMargin Inch 32768] attr:[Justification LeftJustified Point 0] attr:[FontFace FixedFace Int Set] attr:[FontFamily AndyType Int 0]} \excerptedcaption{Excerpts from internet.other.info-andrew: 18-Jun-93 Re: overriding menu options Nick Williams@cs.city.ac (1558+0)} \quotation{If I use Gary's idea and do: } \example{\quotation{addmenu htmlview-enumerate Region~4,Enumerate~31 textview }}\quotation{I successfully override the method. However, in non-htmlview objects, I can no longer use the enumerate region command: "Bad Command". This is because I have overriden the method for all textview classes. } \quotation{If I do: }\example{\quotation{addmenu htmlview-enumerate Region~4,Enumerate~31 htmlview }}\quotation{The method is \bold{not} overridden. It has no effect at all. } The obvious thing to try is \example{addmenu htmlview-enumerate Region~4,Enumerate~31 textview htmlview noinherit } I have no idea if "obvious" == "right", of course. --Z "And Aholibamah bare Jeush, and Jaalam, and Korah: these were the borogoves..." \enddata{text,19817104} \enddata{text822, 80179} \begindata{text822, 82758} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po4.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 18 Jun 1993 11:58:31 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Fri, 18 Jun 1993 11:56:33 -0400 (EDT) Received: from vnet.IBM.COM by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Fri, 18 Jun 93 11:56:27 EDT Received: from RCHLAND by vnet.IBM.COM (IBM VM SMTP V2R2) with BSMTP id 1199; Fri, 18 Jun 93 11:55:03 EDT Reply-To: "Robert Kemmetmueller" Received: by po1 (AIX 3.2/UCB 5.64/4.7) id for info-andrew+@andrew.cmu.edu; Fri, 18 Jun 1993 10:54:52 -0500 Received: via switchmail; Fri, 18 Jun 1993 10:54:51 -0500 (CDT) Received: from coredump.rchland.ibm.com via qmail ID ; Fri, 18 Jun 1993 10:54:51 -0500 (CDT) Received: from coredump.rchland.ibm.com via qmail ID ; Fri, 18 Jun 1993 10:54:49 -0500 (CDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.coredump.rchland.ibm.com.rs.aix32 via MS.5.6.coredump.rchland.ibm.com.rs_aix32; Fri, 18 Jun 1993 10:54:49 -0500 (CDT) Message-Id: Date: Fri, 18 Jun 1993 10:54:49 -0500 (CDT) From: Robert Kemmetmueller X-Andrew-Message-Size: 1097+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: overriding menu options In-Reply-To: References: \begindata{text,539311872} \textdsversion{12} \template{messages} \define{bold menu:[Font~1,Bold~10] attr:[FontFace Bold Int Set]} \define{example menu:[Region~4,Example~12] attr:[LeftMargin LeftMargin Inch 32768] attr:[Justification LeftJustified Point 0] attr:[FontFace FixedFace Int Set] attr:[FontFamily AndyType Int 0]} \define{center attr:[Justification Centered Point 0]} \define{global } \define{h attr:[FontFamily rom Int 0] attr:[FontSize ConstantFontSize Point 6]} \define{a attr:[Script PreviousScriptMovement Point -1] attr:['color' '#F0A000']} \define{b attr:[Script PreviousScriptMovement Point -1] attr:['color' '#E08000']} \define{c attr:[Script PreviousScriptMovement Point -1] attr:['color' '#D06000']} \define{d attr:[Script PreviousScriptMovement Point -1] attr:['color' '#C05000']} \define{e attr:[Script PreviousScriptMovement Point -2] attr:['color' '#B03000']} \define{f attr:[Script PreviousScriptMovement Point 6] attr:['color' '#A02000']} \define{g attr:['color' '#CD8500']} \excerptedcaption{Excerpts from ext.misc.info-andrew: 18-Jun-93 Re: overriding menu options Nick Williams@cs.city.ac (1558+0)} \quotation{If I do: }\example{\quotation{addmenu htmlview-enumerate Region~4,Enumerate~31 htmlview }}\quotation{The method is \bold{not} overridden. It has no effect at all. } \quotation{I want to change the menu item for \bold{ONLY} my class. This can't really be impossible? } I'm afraid so. The only way it can be done \smaller{(as far as I can tell)} is to make the generic \bold{textview} binding be ``noinherit'', i.e. \example{addmenu gnucompat-enumerate Region~4,Enumerate~31 textview gnucompat \bold{noinherit} } This is a big pain because now you ALSO have to bind it for "thistextview", "thattextview" and all the OTHER textview subclasses that you DID want the binding inherited by. The reason "more specific" subclass bindings \smaller{(htmltextview)} can't override "generic" superclass bindings \smaller{(textview)} \italic{in initfiles} is undoubtedly the same reason you can't override them \italic{in code} with a simple \typewriter{keystate_AddBefore()} call; that's why I had to do all that hairy \typewriter{_PrependKeystate()} stuff \smaller{} to make source views work right. \center{ \h{\f{R\e{o\d{b\c{er\b{t K\a{emme}tmu}el}l}e}r }\g{rskm@rchland 3-4968 }}}\enddata{text,539311872} \enddata{text822, 82758} \begindata{text822, 87245} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 25 Jun 1993 11:16:15 -0400 (EDT) Received: from andrew.cmu.edu via qmail ID ; Fri, 25 Jun 1993 11:15:46 -0400 (EDT) If-Type-Unsupported: send Received: from po2.andrew.cmu.edu via qmail ID ; Fri, 25 Jun 1993 11:08:10 -0400 (EDT) Received: from relay1.iunet.it by po2.andrew.cmu.edu (5.54/3.15) id for info-andrew+; Fri, 25 Jun 93 11:08:00 EDT Received: from cen.jrc.it (jrc.jrc.it) by relay1.iunet.it with SMTP id AA27654 (5.65c8/IDA-1.4.4 for ); Fri, 25 Jun 1993 17:08:24 +0200 Received: from ei.jrc.it (mailhost-ei) by cen.jrc.it; Fri, 25 Jun 93 17:05:12 +0200 Received: from cis.ei.jrc.it by ei.jrc.it (4.1/EI-3.0m) id AA01133; Fri, 25 Jun 93 17:11:00 +0200 Posted-Date: Fri, 25 Jun 1993 17:09:00 +0200 (MET DST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.cis.jrc.it.sun4.41 via MS.5.6.cis.jrc.it.sun4_41; Fri, 25 Jun 1993 17:09:00 +0200 (MET DST) Message-Id: Date: Fri, 25 Jun 1993 17:09:00 +0200 (MET DST) From: Francis Clement Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: info-andrew+@andrew.cmu.edu Subject: auis.511.aix32 Hi We run Andrew User Interface System version 5.1 ( CDrom version ) on SUN 4.1.3 and R6000 3.1.5 We have a centralised mail server and all site workstations mount the server /var/spool/mail directory . We updated the IBM workstations to 3.2.3 and Messages do not work any more on IBM with the error in opening : "Could not zero-out /var/spool/mail (21) Continuing anyway " IS the patch auis.511.aix32 resolve this problem ? Francis Clement Environment Institute (EI) Commission of the European Communities Joint Research Centre TP 321 21020 ISPRA(VA) ITALY Tel: +39-332-785442 Fax: +39-332-789256 E-mail: SMTP: francis.clement@ei.jrc.it X400: C=IT;A=GARR;P=CCRISPRA;O=CCR;OU=EI;S=FRANCIS;G=CLEMENT \enddata{text822, 87245} \begindata{text822, 89702} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 29 Jun 1993 03:26:50 -0400 (EDT) Received: from po3.andrew.cmu.edu via qmail ID ; Tue, 29 Jun 1993 03:24:39 -0400 (EDT) Received: from bernina.ethz.ch by po3.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 29 Jun 93 03:24:29 EDT X400-Received: by mta bernina.ethz.ch in /PRMD=switch/ADMD=arcom/C=ch/; Relayed; Tue, 29 Jun 1993 09:23:54 +0200 X400-Received: by /PRMD=switch/ADMD=arcom/C=ch/; Relayed; Tue, 29 Jun 1993 09:23:41 +0200 Date: Tue, 29 Jun 1993 09:23:41 +0200 X400-Originator: wilde@komsys.tik.ethz.ch X400-Mts-Identifier: [/PRMD=switch/ADMD=arcom/C=ch/;930629092341] X400-Content-Type: P2-1984 (2) Content-Identifier: 917 Priority: Urgent From: Erik Wilde Message-Id: <917*/S=wilde/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> To: "Andrew Mailing List at CMU" Subject: getting the parent object's address Importance: High Hello. I'm currently trying to fix an Andrew application. The problem is that I want to print without having the "Save" and "Save as" menu items the frame class normally provides. I tried to copy the print key binding to my code, but obviously I need the frame_PrintCmd procedure from the framecmd package. I copied this procedure also, but it requires a self pointer pointing to a frame. The question is: How can I get the pointer to the frame when I am in the context of my own object's view (which is a descendant of textview and is used the same way a textview is used)? Is there any method to go up the view hierarchy (which would get me to the framev instead of the frame) and then to get to the dataobject of a given view? Sounds complicated, but it seems to be the most simple way to me, except if someone could tell me how I can switch of the "Save" and "Save as" menu items without also loosing "Print" and "Preview" (which happens when I use frame_SetCommandEnable. Many questions, I hope there is a simple answer. Thanks in advance, Erik Wilde (wilde@tik.ethz.ch) Swiss Federal Institute of Technology (ETH Zuerich) Laboratory of Computer Engineering and Networks (TIK) ETH-Zentrum, ETZ G61.2, CH - 8092 Zuerich Phone: +41-1-254-7009 Fax: +41-1-251-2504 \enddata{text822, 89702} \begindata{text822, 92389} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 29 Jun 1993 11:33:50 -0400 (EDT) Received: from andrew.cmu.edu via qmail ID ; Tue, 29 Jun 1993 11:33:06 -0400 (EDT) If-Type-Unsupported: send Received: from po5.andrew.cmu.edu via qmail ID ; Tue, 29 Jun 1993 11:29:04 -0400 (EDT) Received: from thoth.mchp.sni.de by po5.andrew.cmu.edu (5.54/3.15) id for info-andrew; Tue, 29 Jun 93 11:28:37 EDT Received: from snimucgw.stm.mchp.sni.de by thoth.mchp.sni.de with SMTP id AA07387 (5.65c/IDA-1.4.4 for ); Tue, 29 Jun 1993 17:28:28 +0200 Received: from D255S295.os3-lan (d255s295.stm.mchp.sni.de) by snimucgw.stm.mchp.sni.de with SMTP id AA27251 (5.65c/IDA-1.4.4/ST.MCHP.SNI.DE for ); Tue, 29 Jun 1993 17:28:19 +0200 Message-Id: <199306291528.AA27251@snimucgw.stm.mchp.sni.de> From: Dieter.Mayer@stm.mchp.sni.de Subject: Andrew 5.1 CDROM Version To: info-andrew@andrew.cmu.edu Date: Tue, 29 Jun 1993 15:27:16 +0000 (GMT) >From: Dieter Mayer X-Mailer: ELM [version 2.4 PL21] Content-Type: text Content-Length: 1932 Hi, I am trying to compile ATK to our SparcStation2 running SunOS 4.1.2. I have tryed that a few weeks before, but I had not the time to finish the port. I got a mail from Garry Keim (?) about a fix for the regex-stuff, but unfortunately I have lost the mail. I have started to compile it from scratch but I get the following error message: make DESTDIR=/usr/andrew install rm -f testobj.o cc -pic -c -O -I. -I../lib -I../machdep/machine -I. -I/usr/andrew/include/atk - I/usr/andrew/include -I/usr/include testobj.c mv testobj.o shared/testobj.o cc -c -O -I. -I../lib -I../machdep/machine -I. -I/usr/andrew/include/atk -I/usr /andrew/include -I/usr/include testobj.c /usr/andrew/bin/makedo -g -b ../cmd -d /usr/andrew/lib -s -o testobj.do testobj. o /usr/andrew/bin/doindex testobj.do doindex: indexing testobj.do ...dlopen: stub interception failed *** Abort - core dumped make: Fatal error: Command failed for target `testobj.do' Current working directory /home/PD/X/Andrew/andrew/overhead/class/testing *** Error code 1 make: Fatal error: Command failed for target `dependInstall' Current working directory /home/PD/X/Andrew/andrew/overhead/class/testing *** Error code 1 make: Fatal error: Command failed for target `dependInstall' Current working directory /home/PD/X/Andrew/andrew/overhead/class *** Error code 1 make: Fatal error: Command failed for target `dependInstall' Current working directory /home/PD/X/Andrew/andrew/overhead *** Error code 1 make: Fatal error: Command failed for target `dependInstall' Current working directory /home/PD/X/Andrew/andrew *** Error code 1 make: Fatal error: Command failed for target `World' any ideas ??? Dieter ------------------------------------------------------------------ Dieter Mayer dieter@oss.de Open System Solutions Software GmbH Phone: +49-89-642 16 96 Bozener Str. 12, 8000 Muenchen 90 Fax: +49-89-625 32 89 Germany \enddata{text822, 92389} \begindata{text822, 95941} Return-path: X-Andrew-Authenticated-as: 1447;andrew.cmu.edu;Gary Keim Received: from rascal.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 29 Jun 1993 14:11:01 -0400 (EDT) Received: from rascal.andrew.cmu.edu via qmail ID ; Tue, 29 Jun 1993 14:09:07 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.rascal.andrew.cmu.edu.rs.aix32 via MS.5.6.rascal.andrew.cmu.edu.rs_aix3; Tue, 29 Jun 1993 14:09:06 -0400 (EDT) Message-ID: Date: Tue, 29 Jun 1993 14:09:06 -0400 (EDT) From: Gary Keim X-Andrew-Message-Size: 799+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: getting the parent object's address CC: Erik Wilde In-Reply-To: <917*/S=wilde/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> References: <917*/S=wilde/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> \begindata{text,539650392} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from misc: 29-Jun-93 getting the parent object's.. Erik Wilde@komsys.tik.et (1279)} \quotation{I copied this procedure also, but it requires a self pointer }\quotation{pointing to a frame. The question is: How can I get the pointer to the }\quotation{frame when I am in the context of my own object's view (which is a }\quotation{descendant of textview and is used the same way a textview is used)?} You can find the grandparent frame, if one exists, for a given view with this code: \example{boolean findFrameWork( f, rock ) struct frame *f; long rock; \{ struct fooview *self = (struct fooview *) rock; if (fooview_IsAncestor(self, (struct view *) f)) return TRUE; else return FALSE; \} struct frame *GetMyFrame( self ) struct fooview *self; \{ return( frame_Enumerate( findFrameWork, (long) self) ); \} } -Gary Keim Andrew Consortium \enddata{text,539650392} \enddata{text822, 95941} \begindata{text822, 98259} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from atk.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 29 Jun 1993 14:39:13 -0400 (EDT) Received: from atk.itc.cmu.edu via qmail ID ; Tue, 29 Jun 1993 14:36:33 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.atk.itc.cmu.edu.rs.aix31 via MS.5.6.atk.itc.cmu.edu.rs_aix31; Tue, 29 Jun 1993 14:36:32 -0400 (EDT) Message-ID: Date: Tue, 29 Jun 1993 14:36:32 -0400 (EDT) From: Robert Andrew Ryan X-Andrew-Message-Size: 784+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: getting the parent object's address CC: Erik Wilde In-Reply-To: References: <917*/S=wilde/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> \begindata{text,539154620} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.other.info-andrew: 29-Jun-93 Re: getting the parent obje.. Gary Keim (799+0)} \quotation{You can find the grandparent frame, if one exists, for a given view with this code: } Or, if you don't mind code which grovels in the internals just a little: \example{struct frame *GetFrame(startview) struct view *startview; \{ static struct classinfo *info=NULL; struct view *tmpview; struct im *i=view_GetIM(startview); if(info==NULL) info=class_Load("frame"); /* try to be cheap about this */ if(i && !class_IsType(i->topLevel,info)) return (struct frame *)i->topLevel; for (tmpview = startview; !class_IsType(tmpview, info) && tmpview; tmpview = tmpview->parent); return (struct frame *)tmpview; \} } (Note that I haven't tested this code at all though..) -Rob \enddata{text,539154620} \enddata{text822, 98259} \begindata{text822, 100509} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from atk.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 29 Jun 1993 14:51:32 -0400 (EDT) Received: from atk.itc.cmu.edu via qmail ID ; Tue, 29 Jun 1993 14:50:28 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.atk.itc.cmu.edu.rs.aix31 via MS.5.6.atk.itc.cmu.edu.rs_aix31; Tue, 29 Jun 1993 14:50:27 -0400 (EDT) Message-ID: <0gA8vnK00WoiNZBoMs@andrew.cmu.edu> Date: Tue, 29 Jun 1993 14:50:27 -0400 (EDT) From: Robert Andrew Ryan X-Andrew-Message-Size: 421+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: getting the parent object's address CC: Erik Wilde In-Reply-To: References: <917*/S=wilde/OU=komsys/OU=tik/O=ethz/PRMD=SWITCH/ADMD=ARCOM/C=CH/@MHS> \begindata{text,539262664} \textdsversion{12} \template{messages} Sigh... a bug in the code I just posted: \excerptedcaption{Excerpts from mail: 29-Jun-93 Re: getting the parent obje.. => Info-Andrew@andrew.cm (784+0)} \quotation{ for (tmpview = startview; !class_IsType(tmpview, info) && tmpview; tmpview = tmpview->parent); }\quotation{ return (struct frame *)tmpview; }\quotation{\} } The condition for the for-loop should read: tmpview && !class_IsType(tmpview, info). Otherwise a coredump is likely if there is no frame. -Rob \enddata{text,539262664} \enddata{text822, 100509}