Path: utzoo!utgpu!water!watmath!clyde!rutgers!im4u!oakhill!abair From: abair@oakhill.UUCP (Alan Bair) Newsgroups: comp.sys.apollo Subject: Apollo BSD4.2 dumb terminal stty -tabs problem Keywords: DOMAIN\IX BSD4.2 stty tabs Message-ID: <1109@oakhill.UUCP> Date: 19 Jan 88 16:06:28 GMT Distribution: na Organization: Motorola Inc. Austin, Tx Lines: 43 Posted: Tue Jan 19 10:06:28 1988 Hi, I hope some of you more experienced Apollo Domain/IX users can help me with a terminal setup problem I am having. I have an ADDS Viewpoint terminal at home, that I currently use with our SUNs at work. I have customized a TERMCAP environment entry that is done at login time, I will include it below. This has been working fine for about a month now. Before I describe the Apollo problem, some possibly important information. The connections I make to the machines at work are across the ethernet from a dialin security system, so the terminal is not on a serial port connection to either the SUN or the Apollo. The problem I am having on the Apollo has to do with tabs. My terminal sends a ^I for tab, but does nothing with it when it receives one. So on the SUNs, the stty command is setup with the -tabs option, which converts the tab into the appropriate number of spaces. Well on the Apollo, it comes up with stty tabs, so I put in .login to issue stty -tabs. Heres the real problem, the Apollo just ignores the -tabs. From various tests I have tried, it only seems to recognize the erase & kill options, which I do use succesfully.. To indicate how far I have gone in trying to get around this, I wrote a c program to use ioctl and tty(4) commands to try and set the -tabs option. This seems to work inside the program, but -tabs is reset to tabs as soon as the program exits. Here is the TERMCAP entry: setenv TERMCAP 'av|viewpoint|addsviewpoint|adds viewpoint:\ :cr=^M:do=^J:nl=^J:bl=^G:\ :am:le=^H:bs:li#24:co#80:cm=\EY%+ %+ :cd=\Ek:ce=\EK:nd=^F:\ :up=^Z:cl=^L:ll=^A:kl=^B1:kr=^B3:kd=^B2:ku=^B":kh=^A:\ :so=^N:se=^O:us=^N:ue=^O:is=^L^O\E0`:vs=^O\E0P:ve=^L^O\E0`:\ :rs=^L^O\E0`:' Any help would be greatly appreciated, since trying to edit a makefile with vi is currently impossible. The Apollo I am using is an DN660 running Aegis 9.2.3(Yes, I now that is old) with Mentor 5.1. If any other information is needed, please Email requests directly to me and I will also post the information. Alan Bair PH# (512) 440-2336 UUCP {ut-sally,im4u}!oakhill!turbinia!abair