Article View: news.software.nn
Article #6221Re: cd upon group entry.....
From: Wayne Berke
Date: Mon, 08 Aug 1994 14:56
Date: Mon, 08 Aug 1994 14:56
29 lines
1589 bytes
1589 bytes
wb8foz@netcom.com (David Lesher) writes: >I want to do a cd when I enter a group. Why? >When I read the clarinet groups with MINE files, I have a macro >that: >================================================================ >on entry clari.feature.dilbert clari.feature.worldviews clari.feature.bizarro > :local suggest-default-save true > :local default-save-file |metamail -w >end >================================================================ >so that metamail will save the cartoon in gif form. >But metamail saves the .gif in the current directory. >I want it to save it in a subdirectory. Is there a way to do a pushd >within a nn macro, and then popd again? How about: on entry clari.feature.dilbert clari.feature.worldviews clari.feature.bizarro :local suggest-default-save true :local default-save-file |(cd directory; metamail -w) end -- Wayne Berke berke@panix.com
Technical Details
Message-ID:
<325h3m$gev@news.panix.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!uunet!panix!berkeReferences:
<wb8fozCu4qtI.IF1@netcom.com>Show Full Headers
Complete Article Headers
Message-ID: <325h3m$gev@news.panix.com> Subject: Re: cd upon group entry..... Date: Mon, 08 Aug 1994 14:56:54 +0000 From: berke@panix.com (Wayne Berke) References: <wb8fozCu4qtI.IF1@netcom.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!uunet!panix!berke Newsgroups: news.software.nn Organization: Nalgame Dios, Ltd. Lines: 29 Distribution: na NNTP-Posting-Host: berke.dialup.access.net Keywords: nn, cd group macro X-Newsreader: NN version 6.5.0 #1