rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: rsalz@osf.org
To: rc@hawkwind.utcs.toronto.edu
Subject: bug fix for editline
Date: Mon, 22 Jun 1992 14:33:28 -0400	[thread overview]
Message-ID: <9206221833.AA08937@earth.osf.org> (raw)

If you picked up editline in the last 30 minutes, apply this patch
===================================================================
RCS file: RCS/editline.c,v
retrieving revision 1.1
diff -c -r1.1 editline.c
*** /tmp/,RCSt1a08925	Mon Jun 22 14:32:46 1992
--- editline.c	Mon Jun 22 10:31:27 1992
***************
*** 1,4 ****
! /*  $Revision: 1.1 $
  **
  **  Main editing routines for editline library.
  */
--- 1,4 ----
! /*  $Revision: 1.2 $
  **
  **  Main editing routines for editline library.
  */
***************
*** 87,93 ****
  STATIC SIZE_T		ScreenCount;
  STATIC SIZE_T		ScreenSize;
  STATIC char		Version[] =
!     "$Header: /usr/users/rsalz/src/rc/edit/RCS/editline.c,v 1.1 92/06/22 12:32:45 rsalz Exp $";
  
  STATIC char		*backspace;
  STATIC int		TTYwidth;
--- 87,93 ----
  STATIC SIZE_T		ScreenCount;
  STATIC SIZE_T		ScreenSize;
  STATIC char		Version[] =
!     "$Header: /usr/users/rsalz/src/rc/edit/RCS/editline.c,v 1.2 92/06/22 14:31:27 rsalz Exp $";
  
  STATIC char		*backspace;
  STATIC int		TTYwidth;
***************
*** 786,793 ****
  	    TTYput(' ');
  	}
  	TTYbackn(i + 1);
- 	return CSmove;
  	*p = '\0';
      }
      if (Point + nchars > End && (nchars = End - Point) <= 0)
  	return CSstay;
--- 786,793 ----
  	    TTYput(' ');
  	}
  	TTYbackn(i + 1);
  	*p = '\0';
+ 	return CSmove;
      }
      if (Point + nchars > End && (nchars = End - Point) <= 0)
  	return CSstay;


                 reply	other threads:[~1992-06-22 18:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9206221833.AA08937@earth.osf.org \
    --to=rsalz@osf.org \
    --cc=rc@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).