Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!spool2.mu.edu!uwm.edu!bionet!ucselx!sciences!turtle From: turtle@sciences.sdsu.EDU (Andrew Scherpbier) Newsgroups: comp.windows.open-look Subject: problem with tty subwindows Keywords: tty xview openwin Message-ID: <1990Dec18.170732.23944@ucselx.sdsu.edu> Date: 18 Dec 90 17:07:32 GMT Sender: news@ucselx.sdsu.edu (News Admin) Reply-To: turtle@sciences.sdsu.EDU (Andrew Scherpbier) Organization: San Diego State University Computing Services Lines: 41 I have Openwin 2.0 on a SPARCstation 1 running 4.0.3c (mono) While trying to get some experience with tty subwindows, I tried the following little program: ----------BEGIN CODE------------ #include #include Frame frame; Tty tty; main(ac, av) int ac; char *av; { xv_init(XV_INIT_ARGC_PTR_ARGV, &ac, av, NULL); frame = (Frame)xv_create(NULL, FRAME, NULL); tty = (Tty)xv_create(frame, TTY, WIN_ROWS, 34, WIN_COLUMNS, 80, NULL); window_fit(frame); xv_main_loop(frame); } ----------END CODE-------------- This compiles and runs fine until I run 'vi' in the window! It will dump core when the terminal is set to sun-cmd and vi is started. When I change the terminal type to just 'sun' everything is fine. DBX reports the error to be in 'ttysw_ansi_escape' Anyone else seen this problem? Known solutions? Andrew "Race Turtle" Scherpbier, SysMgr College of Sciences San Diego State University INET: turtle@sciences.sdsu.edu UUCP: ...!uunet!ucsd!sdsu!sciences!turtle