Path: utzoo!attcan!uunet!cs.utexas.edu!rutgers!tut.cis.ohio-state.edu!cwjcc!dsrgsun.ces.cwru.edu From: bammi@dsrgsun.ces.cwru.edu (Jwahar R. Bammi) Newsgroups: comp.sys.atari.st Subject: Re: zmdm termcap & Phone directory Message-ID: <391@cwjcc.CWRU.Edu> Date: 1 Jul 89 19:18:28 GMT References: <6875@leadsv.UUCP> <1989Jul1.012514.2579@cs.dal.ca> Sender: news@cwjcc.CWRU.Edu Reply-To: bammi@dsrgsun.ces.cwru.edu (Jwahar R. Bammi) Organization: Case Western Reserve University Lines: 40 In-reply-to: silvert@cs.dal.ca (Bill Silvert) In article <1989Jul1.012514.2579@cs.dal.ca>, silvert@cs (Bill Silvert) writes: >In article <6875@leadsv.UUCP> lefko@leadsv.UUCP (Martin Lefkowitz) writes: >>I'm not that familiar with termcap. It looks like Greek to me. > >Do you really get an error, or does it just look that way? ZMDM >defaults to 9600 baud, and when you dial a number at a different rate >the echo to the screen looks like garbage. But it still dials OK. > Bill is almost correct. ZMDM (the modern versions anyways) default's to the baud rate that what set when you invoke it. Before dialing it checks if the current baud rate is the same as the one for the number you are dialing. If it is not, it switches to that baud rate, sends the modem the string "\r" (which according to the man will switch the modem to that baud rate -- and it does on all the modems that i have access to) followed by the PREDIAL string, and the number. If you need to change that behaviour see the dial code in phone.c As for function/arrow keys, ZMDM does not send anything (actually it sends the NUL char '\0') fancy for them. I personally never ever use function/arrow keys if i can help it. (that reminds me-- how do you spot a emacs hacker in a chinese restaurant ?? -- he/she is the one using chopsticks :-). Enclosed below is a slightly improved termcap entry for use with Zmdm/Xmdm: St|520stf|atariST|520 or 1040, bw, std sys font, 25 lines, 80 col:\ :ae=\Eba:am:as=\Ebc:\ :bl=^G:bs:\ :cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :co#80:cr=^M:\ :do=\EB:\ :ho=\EH:\ :is=\Ev\Ee:\ :le=^H:li#25:\ :nd=\EC:nl=^J:\ :pt:\ :se=\Eq:so=\Ep:sr=\EI:\ :ta=^I:\ :up=\EA: -- bang: {any internet host}!dsrgsun.ces.CWRU.edu!bammi jwahar r. bammi domain: bammi@dsrgsun.ces.CWRU.edu GEnie: J.Bammi