Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 1998 01:50:11 -0600
From:      "James Van Artsdalen" <jrv@raid.us.dell.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   emacs & less bug
Message-ID:  <000901bd3c41$d704f8d0$9ba9a68f@pest.us.dell.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
If I run

    $ EDITOR=emacs less foo.c

and type "v" in less, less invokes emacs to edit the file.
If I then press ^G in emacs, both less and emacs see
the SIGINT, not just emacs.

This works correctly for me under BSDi 2.1 with less 290,
emacs 19.29 and bash 1.14.5.  If I compile these versions for
FreeBSD 2.2.5-released they don't work.  The versions of
these programs shipping with FreeBSD 2.2.5-released
don't work either.


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.2106.6"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>If I run</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp; $ EDITOR=emacs less 
foo.c</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>and type &quot;v&quot; in less, less invokes 
emacs to edit the file.</FONT></DIV>
<DIV><FONT color=#000000 size=2>If I then press ^G in emacs, both less and emacs 
see</FONT></DIV>
<DIV><FONT color=#000000 size=2>the SIGINT, not just emacs.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>This works correctly for </FONT><FONT 
color=#000000 size=2>me under BSDi 2.1 with less 290,</FONT></DIV>
<DIV><FONT color=#000000 size=2>emacs 19.29 and </FONT><FONT color=#000000 
size=2>bash 1.14.5.&nbsp; If I compile these versions for</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT><FONT color=#000000 size=2>FreeBSD 
2.2.5-released </FONT><FONT color=#000000 size=2>they don't work.&nbsp; The 
versions of</FONT></DIV>
<DIV><FONT color=#000000 size=2>these programs shipping with FreeBSD 
2.2.5-released</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT><FONT size=2>don't work 
either.</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901bd3c41$d704f8d0$9ba9a68f>