abair@oakhill.UUCP (Alan Bair) (01/19/88)
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
rich@eddie.MIT.EDU (Richard Caloggero) (01/20/88)
In article <1109@oakhill.UUCP> abair@oakhill.UUCP (Alan Bair) writes: > >Hi, I hope some of you more experienced Apollo Domain/IX users can help >me with a terminal setup problem I am having. >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. > >... 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 Well, I've also been realy annoyed by this problem, and others related to incomplete/unimplemented sio/tty stuff for months. We are running sr9.5.1, so I don't believe your system is outdated in this respect. From what I understand (* please correct me if I'm wrong *), Apollo does not plan to fix/completely implement the sio stuff till SR10 when, I am told, everything will work just like *real BSD* (gettty and everything)! Now, a question of my own... Does anyone know if "/com/sh" has a feature similar to the Bourne shell's "trap" command which allows a shell script to trap and handle signals/exceptions/interupts/faults? Thanx in advance. -- -- Rich (rich@eddie.mit.edu). The circle is open, but unbroken. Merry meet, merry part, and merry meet again.
nazgul@apollo.uucp (Kee Hinckley) (01/26/88)
In article <7940@eddie.MIT.EDU> rich@eddie.MIT.EDU (Richard Caloggero) writes: > respect. From what I understand (* please correct me if I'm wrong *), > Apollo does not plan to fix/completely implement the sio stuff till > SR10 Correct. > Now, a question of my own... Does anyone know if "/com/sh" has a > feature similar to the Bourne shell's "trap" command which allows a > shell script to trap and handle signals/exceptions/interupts/faults? > Thanx in advance. There isn't any, and at this point in time I don't have any plans to implement one. Your best bet there is to use the Bourne shell itself. Kee Hinckley User Environment -- ### {mit-erl,yale,uw-beaver}!apollo!nazgul ### (Apple ][e ProLine BBS) ### ### apollo!nazgul@eddie.mit.edu ### nazgul@pro-angmar.uucp ### ### nazgul@apollo.uucp ### (617) 641-3722 300/1200/2400 ### I'm not sure which upsets me more; that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.