*BSD News Article 33087


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!cs.utexas.edu!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!zip.eecs.umich.edu!quip.eecs.umich.edu!dmuntz
From: dmuntz@quip.eecs.umich.edu (Dan Muntz)
Newsgroups: comp.os.386bsd.questions
Subject: Two problems with FreeBSD 1.1.5.1
Date: 23 Jul 1994 17:29:06 GMT
Organization: University of Michigan EECS Dept.
Lines: 51
Message-ID: <30rk12$kp@zip.eecs.umich.edu>
NNTP-Posting-Host: quip.eecs.umich.edu

I've been working out the kinks in moving from NetBSD to FreeBSD and have
hit a couple problems.

In /etc/printcap, the 'fc', 'fs', 'xc', and 'xs' flags don't seem to have
any effect.  My printer is on /dev/tty01, and I was able to get it to
work with an stty incantation on /dev/ttyi01 (what are the tty?01 devices?).
Does the lpd source need to be changed to open "/dev/ttyi*" if it wants to
change the line characteristics?

The other problems is of extreme importance... 
*this doesn't happen under NetBSD*
When cribbage draws the "CRIB" card on a line on which input is occurring,
it ends up distorted in various ways:

Missing QS in upper left:

                                       Discard a card --> Q
 CRIB                                  Discard a card --> T
+-----+                                SPADES
|     |                                Your play: 
|     |
|   QS|
+-----+

Missing 5S in lower right:
                           CRIB        Discard a card --> 6
                          +-----+      How many cards down do you wish to cut
                          |5S   |       the deck? 9
                          |     |      SPADES
                          |     |      Your play: 
                          +-----+      Your play: 4C

Missing |'s:
                           CRIB        Cut to see whose crib it is -- low card
                          +-----+       wins? 
                          |     |      CLUBS
                          |     |      HEARTS
                                       Discard a card --> 
                          +-----+

as well as various other distortions.  Here's the odd bit: this problem
occurs when running in an xterm, on the console, with pccons, with syscons,
with cribbage compiled from NetBSD source, with curses compile from NetBSD
source (nontrivial), with the termcap from NetBSD, ... and many combinations
of these factors.

The problem does not occur if the binary is running on a NetBSD machine and is
merely being displayed on the FreeBSD machine (via telnet).

  -Dan