Thread View: news.software.nn
2 messages
2 total messages
Started by Gail Gurman
Fri, 20 May 1994 20:43
Help with Key Binding
Author: Gail Gurman
Date: Fri, 20 May 1994 20:43
Date: Fri, 20 May 1994 20:43
31 lines
1665 bytes
1665 bytes
I'm trying to deal with the problem that nn has occasionally of not using the kill file. It seems like, even though 'K' at the selection menu is supposed to be "kill-select," it doesn't really do anything, so I figured it would be an appropriate key to use. So I put this in my init file: map menu K ( "!!rm ~/.nn/KILL.COMP" :compile 'P' 'X' ) I used the two !'s because the nn manual section on macro definitions says to do this when issuing a shell command that doesn't require output. But when I try to run this, I get an error. I've tried to run the commands manually, and I get problems with the !! part. It says something like "no event rm." Can someone tell me what is the proper way to do this? Thanks very much. Gail -- GCS d p- c++ l u++ e++ m+(++)@ s/+ n h+ f+ g- w+ t+ r x+ --------------------------------------------------------------------------- JOB FISHING: I'm looking for an entry-level programming or quality assurance position in the East Bay. My resume is available on request.
Re: Help with Key Binding
Author: Amos Shapir
Date: Sun, 22 May 1994 11:46
Date: Sun, 22 May 1994 11:46
20 lines
1768 bytes
1768 bytes
In article <2rj7d8$6md@agate.berkeley.edu> ggurman@cory.EECS.Berkeley.EDU (Gail Gurman) writes:
> I used the two !'s because the nn manual section on macro definitions says
> to do this when issuing a shell command that doesn't require output.
>
> But when I try to run this, I get an error. I've tried to run the commands
> manually, and I get problems with the !! part. It says something like "no
> event rm."
This is the error message generated by "csh" when you tell it "!rm"
-- execute the latest command that starts with "rm". Looks like nn
parses the first '!', and passes the second one on as a part of the
command to the default shell, which happens to be a "csh" variety.
Maybe using just one '!' will do it.
--
Amos Shapir Net: amos@cs.huji.ac.il
Paper: The Hebrew Univ. of Jerusalem, Dept. of Comp. Science.
Givat-Ram, Jerusalem 91904, Israel
Tel: +972 2 585706,586950 GEO: 35 11 46 E / 31 46 21 N
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads