Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!ncar!gatech!taco!lll-winken!miguel.llnl.gov!macq From: macq@miguel.llnl.gov (Don MacQueen) Newsgroups: comp.windows.open-look Subject: Re: textsw filters Message-ID: <93457@lll-winken.LLNL.GOV> Date: 19 Mar 91 00:04:49 GMT References: Sender: usenet@lll-winken.LLNL.GOV Distribution: comp Organization: Lawrence Livermore National Laboratory Lines: 24 Nntp-Posting-Host: miguel.llnl.gov In article , ogden@nmsu.edu (Bill Ogden) writes: |> I'd like to be able to write a filter like Fmt or Capitalize and |> have no trouble getting the selection, even deleting the selection, |> but how do I get the filtered text back to the textsw window? |> A compainion to the SELN_REQ_DELETE attribute (like perhaps |> SELN_REQ_INSERT) would be nice. Has anyone done this? |> Thanks. |> -- |> ogden@nmsu.edu |> Bill Ogden |> Computing Research Lab |> New Mexico State University |> Las Cruces, NM While we're (or more accurately you're) at it, will someone please tell a novice, namely me, what the heck these filters are? Are they C programs that read from stdin and write to stdout? Or what? I can't find out after spending an hour or so hitting the books. Because I would like to get an arbitrary key (such as F1 on Sparcstation IPC) to send a short text string as if I had typed it, in a cmdtool window. Easy in a shelltool. Thanks... -- -------------------- Don MacQueen macq@miguel.llnl.gov --------------------