Date: Fri, 12 May 1995 17:30:02 -0700 From: henrich@crh.cl.msu.edu To: freebsd-bugs Subject: bin/398: VI broken? Message-ID: <199505130030.RAA15123@freefall.cdrom.com> In-Reply-To: Your message of Fri, 12 May 1995 20:24:08 -0400 <199505130024.UAA21393@bsdprd1.ais.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
>Number: 398 >Category: bin >Synopsis: VI doesnt do the correct thing >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 12 17:30:01 1995 >Originator: Charles Henrich >Organization: Michigan State University >Release: FreeBSD 2.1.0-Development i386 >Environment: remote xterm (vt102 mode) rloging into a freebsd box, with the term type set to vt100-am or vt100 >Description: When editing the following text (from man.c) if you place your cursor on the blank line between the int status and status =, then use the VI (o)pen line command, the status = line correctly drops one line, but the users cursor is then placed on the same line as the status =. CTRL-L refreshes to the correct location. Possibly a termcap bug? char ** add_dir_to_mpath_list (mp, p) char **mp; char *p; { int status; status = is_directory (p); if (status < 0) { fprintf (stderr, "Warning: couldn't stat file %s!\n", p); } else if (status == 0) { fprintf (stderr, "Warning: %s isn't a directory!\n", p); } else if (status == 1) { if (debug) fprintf (stderr, "adding %s to manpathlist\n", p); *mp++ = strdup (p); } return mp; } >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505130030.RAA15123>