Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!cmcl2!brl-adm!adm!jfjr@mitre-bedford.arpa From: jfjr@mitre-bedford.arpa Newsgroups: comp.unix.questions Subject: terminal states Message-ID: <9119@brl-adm.ARPA> Date: Wed, 2-Sep-87 11:11:03 EDT Article-I.D.: brl-adm.9119 Posted: Wed Sep 2 11:11:03 1987 Date-Received: Fri, 4-Sep-87 02:35:27 EDT Sender: news@brl-adm.ARPA Lines: 20 If my question is dumb I apologize in advance - please don't flame. I am working on a Vax 8600 running Ultrix. I use a standard vt100, with standard settings (delete is DEL etc) and ingnoreeof. I am runnin a program using curses. In particular I am using curses to put the terminal in and out of CBREAK mode. I use initscr as directed and when I exit I use nocrmode and endwin. Sometimes this leaves my terminal in a funny state delete echoes as ^?, backspace as ^H if I issue a ^D it echoes it and says its an unknown command. What am I doing wrong - how can I fix it. Does the problem stem from the fact that I try to unset cbreak whether or not the terminal is in cbreak. I have had excellent experience with this bulletin board, usually getting reasonable, useable answers within 24 hours. Thanks in advance Jerry Freedman, Jr "As you wander through life jfjr@mitre-bedford.arpa Whatever be your goal (617)271-6248 or 7555 Keep your eye upon the doughnut and not on the hole"