*BSD News Article 56061


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 43/50 line modes with pcvt?
Date: 28 Nov 1995 22:19:42 GMT
Organization: Private BSD site, Dresden
Lines: 30
Message-ID: <49g1tu$bqb@uriah.heep.sax.de>
References: <48qq1g$p6_001@ornews.intel.com> <nphgzqlinm.fsf@enci.ucalgary.ca> <hm.817479649@hcswork.hcs.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

hm@hcswork.hcs.de (Hellmuth Michaelis) writes:

> >Is there any way to get a 80x50 screen with a nicely displayed cursor?
> 
> Use cursor(1) and/or 'man cursor'.

Actually, this was a long-standing bug.  Here's the fix:

Index: pcvt_out.c
===================================================================
RCS file: /home/cvs/src/sys/i386/isa/pcvt/pcvt_out.c,v
retrieving revision 1.6
diff -u -r1.6 pcvt_out.c
--- pcvt_out.c	1995/05/30 08:04:07	1.6
+++ pcvt_out.c	1995/10/31 19:45:56
@@ -1061,6 +1065,7 @@
 		}
 
 #ifdef FAT_CURSOR
+		svsp->cursor_start = 0;
 		svsp->cursor_end = 15;		/* cursor lower scanline */
 #endif
 

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)