karl@naitc.uucp (Karl Denninger) (08/17/90)
Has anyone hacked ELM to work with a Sunview command window? I noticed that ELM uses it's own half-baked curses implementation, and it REALLY screws up the windowed sessions.... Any assistance appreciated. -- Karl Denninger AC Nielsen kdenning@ksun.naitc.com (708) 317-3285 Disclaimer: Contents represent opinions of the author; I do not speak for AC Nielsen on Usenet.
syd@DSI.COM (Syd Weinstein) (08/17/90)
karl@naitc.uucp (Karl Denninger) writes: >Has anyone hacked ELM to work with a Sunview command window? I noticed that >ELM uses it's own half-baked curses implementation, and it REALLY screws up >the windowed sessions.... No need, run it under a Sunview shelltool window instead of a cmdtool window and it works just fine. Thats how I run it all the time. (It also works in a crttool window). -- ===================================================================== Sydney S. Weinstein, CDP, CCP Elm Coordinator Datacomp Systems, Inc. Voice: (215) 947-9900 syd@DSI.COM or dsinc!syd FAX: (215) 938-0235
scs@lokkur.dexter.mi.us (Steve Simmons) (08/17/90)
karl@naitc.uucp (Karl Denninger) writes: >Has anyone hacked ELM to work with a Sunview command window? I noticed that >ELM uses it's own half-baked curses implementation, and it REALLY screws up >the windowed sessions.... I gave up on same years ago. Elm was far from the only program that had the problem (at least, back in the SunOS 3.X days) and it was much simpler to do an 'elmtool' in my rootmenu, something very much like: -------------------------------------------------- "Elm" shelltool -Wp 395 12 -Ws 650 567 -WP 1016 3 -Wi -Wl " Elm (Electronic Mail)" csh -c elm -WI /usr/include/images/elm.icon -------------------------------------------------- This should be one single line; it's broken into two for protection from network stupidity. You may want to change size and location according to your preference. An 'elmtool' command can be written by using a shell script. This is it off the top of my head: shelltool -Wp 395 12 -Ws 650 567 -WP 1016 3 -Wi \ -Wl " Elm (Electronic Mail)" elm -WI /usr/include/images/elm.icon The icon follows. /* Format_version=1, Width=64, Height=64, Depth=1, Valid_bits_per_item=16 */ 0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF, 0xC000,0x0180,0x0000,0x0003,0xC000,0x3410,0x0000,0x0013, 0xC000,0xC008,0x0000,0x1003,0xC040,0xC01A,0xE600,0x0003, 0xC000,0x40C0,0x0100,0x0003,0xC000,0x8A2C,0x00F0,0x0003, 0xC000,0xD00A,0xC010,0x0003,0xC007,0x0000,0x4FA0,0x0003, 0xC004,0x0100,0x0060,0x0083,0xC004,0x4000,0x4050,0x0003, 0xC208,0x0018,0x0200,0x0003,0xC008,0x0000,0x200B,0xA003, 0xC008,0x0020,0x0100,0x1003,0xC004,0x7000,0x2109,0x0803, 0xC00C,0x2800,0x0310,0x0003,0xC008,0x2100,0x0301,0x8803, 0xC011,0x9100,0x0202,0x4803,0xC010,0x9008,0x8004,0x1003, 0xC010,0x9808,0x020C,0x2003,0xC032,0x0808,0x0028,0x2003, 0xC002,0x0800,0x4018,0x4003,0xC003,0x20C8,0x0810,0x8003, 0xC011,0x1808,0x8831,0x8003,0xC010,0x9818,0x8825,0x0003, 0xC008,0x4898,0x8040,0x0003,0xC00E,0x3808,0x1040,0x0003, 0xC004,0x0804,0x00A8,0x0003,0xC004,0x0C00,0x0920,0x0403, 0xC000,0x3282,0x0100,0x0003,0xC001,0x8140,0x0120,0x0003, 0xC000,0x4080,0x0200,0x0003,0xC000,0x6001,0x0210,0x0003, 0xC000,0x1461,0x2200,0x0003,0xC000,0x0221,0x0400,0x0003, 0xC000,0x0121,0x0C88,0x0003,0xC000,0x0120,0x1088,0x0003, 0xC000,0x004E,0x9C00,0x0003,0xC000,0x0033,0x7D80,0x0003, 0xC000,0x0002,0x6060,0x0003,0xC000,0x0003,0x6000,0x0003, 0xC000,0x0003,0xE000,0x0003,0xC000,0x0003,0xE000,0x0003, 0xC000,0x0003,0xA000,0x0003,0xC000,0x0003,0xA000,0x0003, 0xC000,0x0002,0xE000,0x0003,0xC000,0x0002,0xE000,0x0003, 0xC000,0x0002,0xE000,0x0003,0xC000,0x0006,0xA000,0x0003, 0xC000,0x0006,0xA000,0x0003,0xC000,0x0007,0xA000,0x0003, 0xC000,0x0007,0x3000,0x0003,0xC000,0x000F,0xF87A,0x1103, 0xC000,0x001D,0x7842,0x1B03,0xC000,0x0004,0x0042,0x1503, 0xC000,0x0000,0x0072,0x1503,0xC000,0x0000,0x0042,0x1103, 0xC000,0x0000,0x0042,0x1103,0xC000,0x0000,0x007B,0xD103, 0xC000,0x0000,0x0000,0x0003,0xC000,0x0000,0x0000,0x0003, 0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF,0xFFFF
dwatts@ki.UUCP (Dan Watts) (08/17/90)
In article <1990Aug16.193235.5098@naitc.uucp> karl@naitc.naitc.com (Karl Denninger) writes: >Has anyone hacked ELM to work with a Sunview command window? I noticed that >ELM uses it's own half-baked curses implementation, and it REALLY screws up >the windowed sessions.... > >Any assistance appreciated. >-- >Karl Denninger AC Nielsen >kdenning@ksun.naitc.com >(708) 317-3285 We run it on a Sun 4 just fine. You have to run it from a Shelltool instead of a command tool due to bugs in the command tool window. Try and run any curses/terminfo/termcap program in a command tool and you'll see that things don't work. Run it from a shell tool and it'll work just fine. We've got a patch in our elm to check for a TERM of 'sun-cmd'. When it sees that, it automatically execs a shell tool. -- ##################################################################### # CompuServe: >INTERNET:uunet.UU.NET!ki!dwatts Dan Watts # # UUCP : ...!uunet!ki!dwatts Ki Research, Inc. # ############### New Dimensions In Network Connectivity ##############
heiser@tdw201.ed.ray.com (08/21/90)
In article <1990Aug16.193235.5098@naitc.uucp> karl@naitc.naitc.com (Karl Denninger) writes: >Has anyone hacked ELM to work with a Sunview command window? I noticed that >ELM uses it's own half-baked curses implementation, and it REALLY screws up >the windowed sessions.... > >Any assistance appreciated. I just use SHELLTool windows, as opposed to COMMANDTool windows. It works fine in that environment. bill -- Bill Heiser Work: heiser@tdw201.ed.ray.com {decuac,necntc,uunet}!rayssd!tdw201!heiser Home: Bill.Heiser@f240.n322.z1.fidonet.org (Fidonet 1:322/240) The Think_Tank BBS (508)655-3848 1200/2400/9600-HST Other: 75106.2332@compuserve.com Other: heiser@world.std.com (Public Access Unix)