[comp.sources.bugs] Pcomm Problems

jeffs@wjvax.UUCP (Jeffery Siou) (11/18/89)

I seem to have a few problems in running Pcomm.
I have all patches up to and including Patch #6 installed.
I'm running BSD 4.2.

         1) First, using the Setup Screen, I set up the tty port(using
TTY Setup) and set up the Modem(using Modem Setup). I also setup
the Line Settings. After these setups, I still noticed that on the
status line that it still read 'No TTY'. Is this normal?

         2) When ever I tried making a call, it locked up. I am using
tty22 and have a 'HAYES' 1200 baud modem hooked to tty22. 
          In our BSD 4.2 Unix, there exist two important files:
                     a) /etc/ttys   and
		     b) /etc/gettytab

   '/etc/ttys' list all tty ports on our system(i.e. tty01, tty02).
Each tty listed is preceded a two digit number. The first is either
a '0' or a '1'. '1' means you can create a getty on that tty line(i.e.
meaning you can log in on that tty line. '0' means that you can not
log in on that particular tty line, and more or less it means and
input/output port I think.
    The second digit represents a code which translates to the  the port
speed of that tty. This second digit is listed in the file '/etc/gettytab'
and in this file it translates what baud rate represents what code.
Example: in the file '/etc/ttys', it has listing '0ftty22'. This translates
to: the first digit '0' means that you can't log in on this port, but can be
used as a input/output port. The second digit 'f' means '1200 baud', because
if you look at the file '/etc/gettytab', f equals 1200 baud.
Well enough of that. Like I mentioned above, when ever I try to make call it
locks up. I do see some data being sent to the modem on tty22, because I can
see the 'RD'(receive data) light on the modem light up for a second on the
modem. I wasn't sure what code was being sent to the modem though. I hoped
it was an 'AT', which is the init string for this modem. But I wasn't sure.
Then I decided to hook a 1200 baud terminal(with lines 2 and 3 swapped) to
this modem port, tty22. I noticed everytime I went to make a call that a 'A'
and only and 'A' was being sent out of tty22. I changed the init string in
the modem setup to 'BT' just to see if the 'A' was unique. This time only
a 'B' was sent out of tty22. I changed it back to 'AT'. And tried again
and again only a 'A'(of 'AT') was being sent. 


What am I doing wrong? Is the 'No TTY' problem listed above related to just
an 'A' being sent out. Are we talking two separate problems?


Any help GREATLY APPRECIATED.


Thanks in advance.

P.S Mr E. Gray if you're reading this out there, I tried mailing you this
    problem directly, but the mailer had problems and couldn't make it past
    !fthood.

+---------------------------------------------------------------------------+
|  jeffery siou                                                             |
|  ...!{ !decwrl!qubix, ames!oliveb!tymix, pyramid}!wjvax!jeffs             |
|                                                                           |
|  the above opinions are mine alone and not, in any way, those of WJ.      |
|                                                                           |
+---------------------------------------------------------------------------+
|