*BSD News Article 21175


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!decwrl!netcomsv!netcom.com!fen
From: fen@netcom.com (Fen Labalme)
Subject: NetBSD com port & Emacs questions
Message-ID: <fenCDHME5.K2z@netcom.com>
Organization: NETCOM On-line Communication Services (408 241-9760 guest)
X-Newsreader: TIN [version 1.1 PL8]
Date: Fri, 17 Sep 1993 07:34:53 GMT
Lines: 76


Hello.  A few questions w.r.t. NetBSD running on a 486 box.  The first
two involve device communications, and the last is an emacs question.

( I apologize if these questions have been asked before elsewhere; )
( I'm new to this news group as well as being new to NetBSD, so... )

First, I'm trying to TIP out through an internal modem (U.S. Robotics
Sportster) and I'm experiencing these problems:

1) I can't change the speed of tty00 (or tty01 for that matter),
   e.g., this has no effect  (I have commented out associated lines
   in /etc/ttys):

# stty 19200 < /dev/tty00
# stty < /dev/tty00
speed 9600 baud;
lflags: echoe echoke echoctl
iflags: istrip
cflags: cs7 parenb
#

2) When I attempt a TIP anyway (at the unchangable speed of 9600)
   I get the following error message (what does it mean and how
   do I fix the problem?):
	
# tip com0
/dev/com0: Permission denied
link down
# ls -l /dev/com0
lrwxrwxrwx    1 root   wheel      5 Sep 15 22:15 /dev/com0 -> tty00
# ls -l /dev/tty00
crw-------    1 root   wheel  8,  0 Sep 17 00:15 /dev/tty00
#

Now the Emacs question:

3) I am trying to compile Emacs 18.59.  I'm using m-intel386.h and
   s-bsd4-3.h (modified to use the kernel name "netbsd", not "vmunix").
   
3a) are these the right files to use (for a 486)?

3b) when I compile, I don't get very far.  Any help will be appreciated!

% make
make    -f xmakefile   all
cc -g  -Demacs          -c dispnew.c
dispnew.c: In function `update_screen':
dispnew.c:722: structure has no member named `_ptr'
dispnew.c:722: structure has no member named `_base'
dispnew.c:733: structure has no member named `_ptr'
dispnew.c:733: structure has no member named `_base'
dispnew.c: In function `window_change_signal':
dispnew.c:1263: warning: passing arg 2 of `signal' from incompatible pointer typ
e
dispnew.c: In function `init_display':
dispnew.c:1630: warning: passing arg 2 of `signal' from incompatible pointer typ
e
*** Error code 1


Thanks in advance!
Fen
~~~
Fen Labalme                for EFF info,  email <eff@eff.org>
Broadcatch Technologies    for LPF info,  email <league@ai.mit.edu>
<fen@netcom.com>           for CPSR info, email <cpsr@cpsr.org>
415/731-1174               protect your freedoms!  PGP Key ID: 1024/0AF8FD

 Copyright 1993 Fen Labalme. You may redistribute only if your recipients may.

-- 
Yours in networking,
Fen Labalme

fen@netcom.com                fen@well.sf.ca.us         Just say "Know!"
Broadcatch Technologies       Peace Conf Host           We Are Everywhere

    Member of the League for Programming Freedom <league@prep.ai.mit.edu>,
              the Electronic Frontier Foundation <eff@eff.org>, and the
Computer Professionals for Social Responsibility <cpsr-staff@csli.stanford.edu>