[comp.sys.amiga] Running more from Xicon

cosell@bbn.com (Bernie Cosell) (01/29/89)

'more' (as distributed on 1.3 disk) works fine, but it has one REAL defect: it
insists on opening a 200line window, instead of checking if the WB is
interlaced or not.  So I thought I'd "fix" it: I noticed that when I call more
from CLI, it uses the _current_ window and does just what I want.  So I've been
fruitlessly fighting with Xicon to make the 'right' thing happen.  Perhaps
someone could help point me in the right direction:

Rather than making this note real long and describing all the things I"ve tried
that DIDN'T work, let me make it simple: what *will* work?  I can get Xicon to
whip up a full-sized window, no sweat, but I can't convince 'more' to USE it --
more always just pops up one of its @#$%@#$% half-high windows.  Where I'm at:
  a) I thought it would be REAL elegant to do this whole thing from the *icon*
  --- it strikes me as enough to have the .info sitting along side the real
  file, having a .script,too, felt a bit inelegant. 
  b) I'm using more, instead of less (which does NOT have the 200line window
  bug), because I've played some with it and had no trouble at  all making it
  guru my machine, and I just can't get by with a "tool" that I need 50 times a
  day being that fragile.  [dunno where I got my copy --- but if you think you
  have a version that REALLY works, that'd fix my problem, too, I guess!]
  c) I'm using Xicon instead of Iconx (although I think they are essentially
  the same program) because Iconx seems to be a bit underdocumented. (either it
  is a different program, and doesn't have all the Xicon features, or else it
  DOES have them, but all undocumented (like the 'hidden' commands in
  FastFonts).  In either case, Xicon seemed like the more prudent choice.

My real goal, naive fool that I am, when I started was simply to make
disksalv.info be a project icon running Xicon, with:
  MODE=nosctip|nowindow
  CMD=c:more <newcon:0/0/620/400/DiskSalv disksalv.doc
and that's it: no fuss, no muss, no extra auxiliary files (to hold the
script)...  Of course, it doesn't work (more won't use the window, and so pops
up a new #$%^$%^#$% 200line window of its own).  Much thanks...

   __
  /  )                              Bernie Cosell
 /--<  _  __  __   o _              BBN Sys & Tech, Cambridge, MA 02238
/___/_(<_/ (_/) )_(_(<_             cosell@bbn.com

peter@sugar.uu.net (Peter da Silva) (01/29/89)

MORE is a workbnech tool, so you don't need to run it from XIcon.
Unfortunately, it totally ignores TOOLWINDOW. :-<
-- 
Peter "Have you hugged your wolf today" da Silva  `-_-'  Hackercorp.
...texbell!sugar!peter, or peter@sugar.uu.net      'U`