Xref: utzoo comp.unix.programmer:1866 comp.unix.questions:31498 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!uunet!sco!staceyc From: staceyc@sco.COM (Stacey Campbell) Newsgroups: comp.unix.programmer,comp.unix.questions Subject: Re: SYSV curses & delete char Message-ID: <12143@scolex.sco.COM> Date: Mon, 20 May 91 17:32:51 GMT References: Sender: news@sco.COM Organization: The Santa Cruz Operation, Inc. Lines: 27 In article jsparkes@bwdls49.bnr.ca (Jeff Sparkes) writes: > How can I discourage SYSV curses from using delete char on long >lines instead of just doing clear to eol? I've never seen curses do this, sounds obnoxious. Is it using parm_dch, or delete_character? > The program in question is tn3270, and the OS is HP-UX 7.05. It's >politically impossible to change the terminfo entries. From the AT&T System V 3.2 curses(3X) man page(s) in the idlok(win, bf) section; If enabled (bf is TRUE), curses will consider using the hardware "insert/delete-line" feature of terminals so equipped. If disabled (bf is FALSE), curses will very seldom use this feature. _(_T_h_e_ _"_i_n_s_e_r_t_/_d_e_l_e_t_e_-_c_h_a_r_a_c_t_e_r_" _ _f_e_a_t_u_r_e_ _i_s_ _a_l_w_a_y_s_ _c_o_n_s_i_d_e_r_e_d_._) ... This is the only reference I have seen to delete char, and it would seem to indicate you are up the proverbial creek without a paddle unless you can convince someone to change the terminfo file. -- Stacey Campbell Internet: staceyc@sco.com UUCP: {uunet,ucscc,att,sq,altos,lotus,sun,microsoft}!sco!staceyc