1/* $NetBSD$ */ 2 3/*- 4 * Copyright (c) 1992, 1993, 1994 5 * The Regents of the University of California. All rights reserved. 6 * Copyright (c) 1992, 1993, 1994, 1995, 1996 7 * Keith Bostic. All rights reserved. 8 * 9 * See the LICENSE file for redistribution information. 10 */ 11 12#include "config.h" 13 14#ifndef lint 15static const char sccsid[] = "Id: v_status.c,v 10.10 2001/06/25 15:19:35 skimo Exp (Berkeley) Date: 2001/06/25 15:19:35"; 16#endif /* not lint */ 17 18#include <sys/types.h> 19#include <sys/queue.h> 20#include <sys/stat.h> 21#include <sys/time.h> 22 23#include <bitstring.h> 24#include <limits.h> 25#include <stdio.h> 26 27#include "../common/common.h" 28#include "vi.h" 29 30/* 31 * v_status -- ^G 32 * Show the file status. 33 * 34 * PUBLIC: int v_status __P((SCR *, VICMD *)); 35 */ 36int 37v_status(SCR *sp, VICMD *vp) 38{ 39 (void)msgq_status(sp, vp->m_start.lno, MSTAT_SHOWLAST); 40 return (0); 41} 42