🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
5 messages
5 total messages Started by emil rojas Fri, 19 Mar 1993 00:25
Looking at saved files
#3902
Author: emil rojas
Date: Fri, 19 Mar 1993 00:25
12 lines
1115 bytes
Does nn have a way of looking at save files?  I know that I can
just go to the directory in question and have a look, but I was
wondering if nn supported doing this in an nn sort of way?

thanks


-- 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Emil Rojas  emil@shell.portal.com (408) 973-0603
Cognisys Software Systems Development, San Jose, CA 95129
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Re: Looking at saved files
#3900
Author: Milt Epstein
Date: Fri, 19 Mar 1993 07:10
23 lines
1670 bytes
In <C4415q.D4t@unix.portal.com> emil@shell.portal.com (emil rojas) writes:

>Does nn have a way of looking at save files?  I know that I can
>just go to the directory in question and have a look, but I was
>wondering if nn supported doing this in an nn sort of way?
>
>thanks

Those saved files are known as "folders".  You can read them using nn
by specifying "nn +<folder-name>" (no space after the `+', and the
<folder-name> is just the saved file name).  This is one of those
things I discovered by accident one day.  In fact, I believe that in
general folders can be treated just like any newsgroup, like you can
use `G' to go to them (the `+' before the name is standard for
specifying a folder).  I haven't used these features very much, so I
don't know the limitations and restrictions.  You can probably look up
"folders" in the man page for more info.

-- 
Milt Epstein
Department of Computer Science
University of Illinois
epstein@cs.uiuc.edu
Re: Looking at saved files
#3901
Author: Mike Ramey
Date: Fri, 19 Mar 1993 16:49
26 lines
2010 bytes
epstein@cs.uiuc.edu (Milt Epstein) writes:

>Those saved files are known as "folders".  You can read them using nn
>by specifying "nn +<folder-name>" (no space after the `+', and the
><folder-name> is just the saved file name).  This is one of those
>things I discovered by accident one day.  In fact, I believe that in
>general folders can be treated just like any newsgroup, like you can
>use `G' to go to them (the `+' before the name is standard for
>specifying a folder).  ...

[ My impression is that ... ] These folders may be of two types depending
on their location.  When you save an article, nn offers to save it in a
file/folder in the .nn subdirectory.  If you press ^U, the suggested
file/folder name will be erased (if the last-used filename appears, press
^U again) and you can specify an 'ordinary' file name (in your current?
home? directory). 

QUESTIONS:  How may I get a list/directory of the folders in the .nn
directory?  (I can't remember what folders I have created.)

What is the easiest way to print a saved article (in an ordinary file)?
I have been shelling out to the print command:
	!printcommand filename
Thanks,
-- 
-- Mike Ramey, 685-0940, 171 Wilcox, U W Civil Eng, FX-10, Seattle WA 98195.
Re: Looking at saved files
#3904
Author: Milt Epstein
Date: Fri, 19 Mar 1993 22:16
31 lines
2132 bytes
In <1octjkINN6gg@shelley.u.washington.edu> mramey@stein2.u.washington.edu (Mike Ramey) writes:

>epstein@cs.uiuc.edu (Milt Epstein) writes:
>
>>Those saved files are known as "folders".  You can read them using nn
>>by specifying "nn +<folder-name>" (no space after the `+', and the
>><folder-name> is just the saved file name).  This is one of those
>>things I discovered by accident one day.  In fact, I believe that in
>>general folders can be treated just like any newsgroup, like you can
>>use `G' to go to them (the `+' before the name is standard for
>>specifying a folder).  ...
>
>[ My impression is that ... ] These folders may be of two types depending
>on their location.  When you save an article, nn offers to save it in a
>file/folder in the .nn subdirectory.  If you press ^U, the suggested
>file/folder name will be erased (if the last-used filename appears, press
>^U again) and you can specify an 'ordinary' file name (in your current?
>home? directory). 

Oh yeah, this reminded me of something (which I'm not quite sure if it
is the same thing you're saying): I believe the folders specified with
a preceding `+' are expected to be in the ~/News directory (did you
mean "News" instead of ".nn"?).

(Sorry, I can't help you with your questions.)

-- 
Milt Epstein
Department of Computer Science
University of Illinois
epstein@cs.uiuc.edu
Re: Looking at saved files
#3905
Author: Sven Guckes
Date: Sat, 20 Mar 1993 14:35
51 lines
2881 bytes
mramey@stein2.u.washington.edu (Mike Ramey) writes:

>When you save an article, nn offers to save it in a file/folder ...

Right.
It's called the "default save folder name" and can be configured for
each news group via the init file (~/.nn/init).

> ... in the .nn subdirectory.

nn also has a setting for a "default folder directory" which can be
abbreviated with '+' in front of a folder's name.
It seems that with you the '+' expands to "~/.nn/".

>If you press ^U, the suggested file/folder name will be erased

(Correct.) Pressing ^u deletes the (suggested) input line.
This seems to be a UNIX standard (at least with shell command input).

>(if the last-used filename appears, press ^U again)
>and you can specify an 'ordinary' file name
>(in your current? home? directory). 

Yes, deleting the suggested input line with ^u then reveals the last
used name before that (if there was one).
Then you can specify any other folder you like (in the current dir or in
the home dir, too.)
Actually, ^u is just a faster way than using the backspace key with
input line editing.

>QUESTIONS:
>How may I get a list/directory of the folders in the .nn directory?
>(I can't remember what folders I have created.)

Just use '?' when your are asked to type in the folder's name.
It should give you a listing of all (matching) folder name within the
directory.  You can also give a prefix of the folder name as a good guess
before you use '?'.  Actually, I recommend giving a prefix as I have
about 100+ folders in my folder directory.

>What is the easiest way to print a saved article (in an ordinary file)?
>I have been shelling out to the print command:
>	!printcommand filename

While reading the article ("show mode") you can press 'P' to print the article.
Actually you are prompted with a command that is to print the article.
Accept it or change it - just to your taste.
Again you can change the defualt with your init file.
AND you can use this to send (pipe) the article to whatever you like.

Sven@news.software.nn :)
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