home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.msdos.programmer:8149 alt.msdos.programmer:2092 comp.os.msdos.apps:4139 comp.editors:1845
- Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer,comp.os.msdos.apps,comp.editors
- Path: sparky!uunet!wupost!gumby!destroyer!ubc-cs!yogi
- From: yogi@cs.ubc.ca (Yossi Gil)
- Subject: SLIM editor filter problems related to Novell?
- Message-ID: <1992Jul29.163746.7025@cs.ubc.ca>
- Sender: usenet@cs.ubc.ca (Usenet News)
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Date: Wed, 29 Jul 92 16:37:46 GMT
- Lines: 48
-
- [ SLIM is the big brother of TERSE, the 4K editor, announced
- recently. Both are available for anonymous ftp download from
- cs.ubc.ca:/pub/pikcup/trs140f.zip and cs.ubc.ca:/pub/pickup/update.zip
- (for some minor config updates, and more error messages related to the
- <Alt-f> command) ]
-
- One of SLIM users reported a problem with the filter command.
- I haven't been able to reproduce the problem, and I haven't heard any
- other similar complaints. I wonder if any one out there had experienced
- similar difficulties, and if any hints could be provided to help me hunt
- down this bug.
-
- The filter command runs an external filter (UNIX like program which reads
- its stdin, process it, and produces stdout), feeding input to it from
- the editor buffers, and caputering its output to another editor buffer.
- The net effect is that the currently marked block is replaced with the
- output of the filter when applied to that block. This magic is implemented
- by simply trapping the READ and WRITE calls to DOS.
-
- The main symptom is that the input is not fed into the filter. Instead,
- it appears that the filter, at least sometimes, (LIST /s is an example)
- is expecting input from the keyboard. At other occassions, output is not
- produced at all. The bug is not completely determinstic, but a completely
- flawless execution was never observed by this user.
-
- Simple instructions to try this are: invoke slim on a file, mark 2-3
- lines, press [Alt-F], type wc, hit [Enter], and watch for the content
- of the marked block replaced with the the line, word and chars counts
- of the marked block. [Hitting Keypad-*] should undo this operation.
- [Keypad-*] again will redo it. You may try other filters as well "LIST
- /s", "DIR", etc.
-
- The only non-standard thing in this user system is Novell netware.
-
- 1. Could it be that Novell is untrapping DOS calls?
-
- 2. How does it do it?
-
- 3. How can one disable this ``feature''?
-
- Any help would be greatly appreciated.
-
- Yossi
- --
- Joseph (Yossi) Gil {alberta,uw-beaver,uunet}!ubc-cs!yogi
- Dept. of Computer Science yogi@cs.ubc.ca (cs.ubc.ca=137.82.8.5)
- 6356 Agricultural Road., Univ. of B.C., Tel: +1-604-822-8175
- Vancouver, British Columbia, V6T 1Z2, Canada. Fax: +1-604-822-5485
-