Bugs item #2012700, was opened at 2008-07-07 12:21
Message generated for change (Comment added) made by tringali
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=2012700&group_id=11005

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
>Resolution: Invalid
>Priority: 1
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: nedit can be killed by ctrl+C

Initial Comment:
nedit can be killed by ctrl+C, while 'xemacs' can't.

NEdit release of Aug 20, 2004

     Built on: Linux, 386, Intel C++
     Built at: Jun 19 2008, 16:03:17
   With Motif: 2.2.3 [@(#)Motif Version 2.2.4]
Running Motif: 2.2 [unknown]
       Server: The X.Org Foundation 60802000
       Visual: 24-bit TrueColor (ID 0x21, Default)
       Locale: en_US.UTF-8


----------------------------------------------------------------------

>Comment By: Scott Tringali (tringali)
Date: 2008-07-09 12:57

Message:
Logged In: YES 
user_id=11321
Originator: NO

You are pressing ^C in the shell, not nedit.  That tells the shell to kill
nedit.  It's doing what you told it to.

vi and emacs are text mode applications, so it takes over your terminal -
the shell is in the background and not running.

All other Unix GUI apps like firefox and openoffice shut down when you
fire SIGINT (it with a ^C at the shell), as it's supposed to.


----------------------------------------------------------------------

Comment By: Andrew Hood (ajhood)
Date: 2008-07-08 05:50

Message:
Logged In: YES 
user_id=36856
Originator: NO

It's fairly trivial to add a signal handler to nedit.c (at least on some
platforms) for SIGINT to run the CloseAllFilesAndWindows() routine so you
can choose to save everything.

nc might need one too so that "nc -wait" can do some level of error
recovery.

----------------------------------------------------------------------

Comment By: Eddy De Greef (edg)
Date: 2008-07-08 02:48

Message:
Logged In: YES 
user_id=73597
Originator: NO

You should really give the NEdit server mode a try: instead of starting
NEdit via the "nedit" command, you should use the NEdit client, which is
usually called "ncl" or "nc", depending on your distribution. 
When started in this way, NEdit can't be killed by Ctrl-C in your terminal
window any more. Using the server mode has several other advantages (shared
search history, shared preferences, remote control possibilities, ...).
Check out Help>Client/Server Mode.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-07-08 00:59

Message:
Logged In: NO 

Hi,

Ctrl+C is bound to Copy, so NEdit must not killed by this key.
You use "old" Nedit-5.5 code with "modern" Motif 2.2.
Please, try to compile NEdit 5.6 available at
http://www.nedit.org/ftp/snapshot/nedit-latest-sources-HEAD.tar.gz
Though this code is stable, it is not released yet.
NEdit is really frozen now.

Alexey Kuznetsov

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-07-07 14:33

Message:
Logged In: NO 

1) Sometime I killed my nedit window accidently by pressing ^C, so I
started to think if nedit couldn't be killed by ^C it would be better...

2) Because vi and xemacs can't be killed by ^C, I think there must be some
good reasons to design them into this way...



----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-07-07 14:32

Message:
Logged In: NO 

1) Sometime I killed my nedit window accidently by pressing ^C, so I
started to think if nedit couldn't be killed by ^C it would be better...

2) Because vi and xemacs can't be killed by ^C, I think there must be some
good reasons to design them into this way...



----------------------------------------------------------------------

Comment By: Bert Wesarg (lebert)
Date: 2008-07-07 13:08

Message:
Logged In: YES 
user_id=122956
Originator: NO

I think most users of NEdit use it in server mode and the NEdit client to
communicate with the server. So the use of Ctrl+C is mostly useless,
because the client releases the shell after communicating with the server.

BTW: could you give a better rational as "It would be better" or "I like
this", thanks. I really can't see a reason why this could be good.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2008-07-07 12:41

Message:
Logged In: NO 

Sorry!

I meant if would be better if nedit can't be killed by ctrl+C. I tried
with xemacs, and the window can't be killed by ctrl+C -- I like this but I
don't know if it is easy to implement for nedit.

Thank you.

----------------------------------------------------------------------

Comment By: Bert Wesarg (lebert)
Date: 2008-07-07 12:27

Message:
Logged In: YES 
user_id=122956
Originator: NO

"nedit can't be killed by ctrl+C"
"nedit can be killed by ctrl+C, while 'xemacs' can't."

Isn't there something wrong with these two statements?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=2012700&group_id=11005
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to