🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by Charlie Chapman Mon, 04 Jul 1994 19:12
Default Save Article File?
#6063
Author: Charlie Chapman
Date: Mon, 04 Jul 1994 19:12
14 lines
1246 bytes
When saving an article, NN defaults to the name of the group as the name
of the file to save to.  I normally backspace over this and type in a
short name to save the article to, to recall it later for downloading.

Is there a way to get NN to present a different filename as the default
or suggested filename for the save file?  Something like one word - that
can easily be change to the name you actually want to use.

Thanks for any suggestions.

Charlie
-- 
                                             chapman@netcom.com
Charlie Chapman In San Francisco, CA
Re: Default Save Article File?
#6069
Author: Sven Guckes
Date: Tue, 05 Jul 1994 08:33
66 lines
3085 bytes
chapman@netcom.com (Charlie Chapman) writes:

>When saving an article, NN defaults to the name of the group as the name
>of the file to save to.  I normally backspace over this and type in a
>short name to save the article to, to recall it later for downloading.

Use ^u to "erase the line".  It's a UNIX thingy.  Works with most shells, too.
There is a setting with NN which will give you the last used folder name in
that case first.  If this the case then use ^u again to erase the input line.

>Is there a way to get NN to present a different filename as the default
>or suggested filename for the save file?  Something like one word - that
>can easily be change to the name you actually want to use.

Yes, there is.

You can either make the change temporarily (for your current nn session)
or permanently (for all nn sessions).

temporary change:
Change the value of the variable "folder-save-file" with the command
":set folder-save-file <file>".

permanent change:
Specify the default save folder with the "sequence" command within your init
file (~/.nn/init).  See example below.

Sven
-- 
sequence
alt.fan.warlord +afw

OK, I'll be more eloquent...

# =========================================================================
#  Section "sequence" - Presentation sequence of newsgroups
# =========================================================================
#  Format: <newsgroup> [<default save folder>]
#  Note: The command "sequence" *must* be the last command in the init file!!!
sequence
#
#  Special software
#
news.software.nn		+nn		# Newsreader
comp.mail.elm			+elm		# Mail tool
comp.editors			+editors	# Editors
alt.usenet.offline-reader	+offline	# Offline reader
#
# The Information Groups ("Answers")
#
alt.answers			+answers
comp.answers			+answers
news.answers			+answers
rec.answers			+answers
# rec.aviation.answers!		+answers
misc.answers			+answers
soc.answers			+answers
sci.answers			+answers
talk.answers			+answers
#
#  Interesting groups for Internet newbies
#
news.newusers.questions		+n.n.q
news.announce.newusers		+n.n.q
#
### EOF
Re: Default Save Article File?
#6072
Author: Alex Martelli
Date: Wed, 06 Jul 1994 07:26
29 lines
2010 bytes
Sven Guckes <guckes@inf.fu-berlin.de> writes:
>chapman@netcom.com (Charlie Chapman) writes:
	...
>>Is there a way to get NN to present a different filename as the default
>>or suggested filename for the save file?  Something like one word - that
>>can easily be change to the name you actually want to use.

>Yes, there is.

[excellent, detailed explanation of folder-save-file &c omitted]

A possibly more direct way to get what Charlie seems to want is NOT to have
nn present any default at all on saving -- that way, he'd save even the
single control-U (or two of them) needed to get a blank prompt to type the
name he wants to use; he'd get a blank prompt at once.

"unset suggest-default-save" (in ~/.nn/init for permanent effect, on
the ':' prompt to have it just for this session, of course and as
usual) should do the trick.  I'm not sure which NN version this useful
variable became available on -- I'm currently on 6.5 beta 3, the latest
one I believe.


Alex
--
 ____    Alex Martelli, Bologna, Italia
 \SM/___
  \/\bi/ Our wars are wars of life, & wounds of love
     \/  With intellectual spears, & long winged arrows of thought.
Re: Default Save Article File?
#6100
Author: David Zarnitzky
Date: Mon, 11 Jul 1994 06:13
26 lines
1761 bytes
>When saving an article, NN defaults to the name of the group as the name
>of the file to save to.  I normally backspace over this and type in a
>short name to save the article to, to recall it later for downloading.

>Is there a way to get NN to present a different filename as the default
>or suggested filename for the save file?  Something like one word - that
>can easily be change to the name you actually want to use.


Yes, there is. 
 
using the 'set' command type.. 
 
:set default-save-file filename 
 
where filename is the default file name that you want.
It is set by default to '+$F' which is a variable which stands for the the name of the current group. 
 
Hope that helps. 
 
-- 
+-------------------------------------------------------------------+
|      From the Brilliant Mind of David Zarnitzky, Scary Huh?       |
|                     davidz@eden.rutgers.edu                       |
|                  "Life's a bitch : Get a Helmet!"                 |
+-------------------------------------------------------------------+
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