🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
5 messages
5 total messages Started by Mike Quigley#2 Fri, 17 Feb 1995 15:38
Directory where you "save" stuff
#7131
Author: Mike Quigley#2
Date: Fri, 17 Feb 1995 15:38
6 lines
1172 bytes
If you go to save a message with nn, the default is always the name
of the directory where the message appears, translated into a multi-
level name, i.e., alt/really/naughty/pictures or something like that.
Is there any way to change this so the field is completely blank,
and all I have to do is type in a filename and don't have to erase
all this stuff every time?
Re: Directory where you "save" stuff
#7132
Author: Mark McLeod
Date: Fri, 17 Feb 1995 16:42
18 lines
1694 bytes
a04369@giant.rsoft.bc.ca (Mike Quigley#2) writes:

> If you go to save a message with nn, the default is always the name
> of the directory where the message appears, translated into a multi-
> level name, i.e., alt/really/naughty/pictures or something like
> that.  Is there any way to change this so the field is completely
> blank, and all I have to do is type in a filename and don't have to
> erase all this stuff every time?

    Add this variable to your "~/.nn/init" file.

    set default-save-file directory

You might need to specify a default directory, but that allows you to
change the directory to something that you have permission to use.
    
-- 
Mark McLeod (mmcleod@clark.net)
Re: Directory where you "save" stuff
#7133
Author: Milt Epstein
Date: Fri, 17 Feb 1995 16:43
34 lines
2217 bytes
a04369@giant.rsoft.bc.ca (Mike Quigley#2) writes:

>If you go to save a message with nn, the default is always the name
>of the directory where the message appears, translated into a multi-
>level name, i.e., alt/really/naughty/pictures or something like that.
>Is there any way to change this so the field is completely blank,
>and all I have to do is type in a filename and don't have to erase
>all this stuff every time?

Looks like this is a RTFM question.  A quick look through the man page
reveals that the variable suggest-default-save will do what you want
-- it's set by default, so just unset it in your init file.

A couple of other points:

1. The variable default-save-file holds the string/pattern used for
(amazingly) the default save file name.

2. If you unset suggest-default-save, you can still use `+' to tell it
to use default-save-file.

3. I don't know if you were erasing character by character, but you
can use CTRL-u to erase the whole line (in some cases this will cause
the most recently used save file name to show up; another CTRL-u will
erase that).

4. You can also set up default save file names for particular
newsgroups; check the man page for details.

-- 
Milt Epstein
Visiting Research Programmer    National Animal Poison Control Center (NAPCC)
epstein@napcc-hp.cvm.uiuc.edu            College of Veterinary Medicine (CVM)
(or mepstein@uiuc.edu)      University of Illinois at Urbana-Champaign (UIUC)
Re: Directory where you "save" stuff
#7134
Author: Mike Quigley#2
Date: Fri, 17 Feb 1995 22:00
13 lines
1309 bytes
epstein@napcc-hp.cvm.uiuc.edu (Milt Epstein) writes:

>1. The variable default-save-file holds the string/pattern used for
>(amazingly) the default save file name.

Yes, well what am I supposed to put if I want nothing? If I just
type default-save-file in this "init" file (which didn't exist, I had
to create it), then I get some error message. If I go

default-save-file /home1/a02632 (which is my "home" directory),

then it says "do you want to create /home1/a02632" ... which doesn't
make sense, since it is already there.
Re: Directory where you "save" stuff
#7142
Author: R. Stewart Ellis
Date: Sun, 19 Feb 1995 02:43
26 lines
1916 bytes
a04369@giant.rsoft.bc.ca (Mike Quigley#2) writes:

 >If you go to save a message with nn, the default is always the name
 >of the directory where the message appears, translated into a multi-
 >level name, i.e., alt/really/naughty/pictures or something like that.
 >Is there any way to change this so the field is completely blank,
 >and all I have to do is type in a filename and don't have to erase
 >all this stuff every time?

Two things:  1) Do you know that you can tell nn to save the postings in
e.g. news.software.nn by default rather than news/software/nn?  Put the
following line in your ~/.nn/init:

set default-save-file +$G

2) Do you know that you can erase the whole default prompted save file by
typing ^U?  This works in a lot of UNIX programs, e.g. when you mistype part
of your passwd and want to start over.



-- 
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)810-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.    /   _____  ______ 
  Flint, MI 48504      ellis@nova.gmi.edu               /        / /  /  / /
  Gopher,chimera,nn,tin,jove,modems, free code is best!/________/ /  /  / /
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