lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV extra options?!?


From: Adam Lloyd
Subject: LYNX-DEV extra options?!?
Date: Sat, 9 Aug 1997 13:12:49 -0400 (EDT)

I am thinking of two new options which I would like to suggest for lynx. 
The first one would an option switch which limits the amount of lines you 
can mail back to yourself using the Print command.

lynx -lines=500

here some code that can be plugged into the LYPrint.c towards the end

 if(strncmp(getenv("USER"),"guest",5) != 0 )
 {
  if (lines_in_file < 500)
   fprintf(fp0,"<dt><a href=\"LYNXPRINT://MAIL_FILE/lines=%d\">Mail the file to 
yourself</a>\n",
                                                                lines_in_file);
 }

    fprintf(fp0,"<dt><a href=\"LYNXPRINT://TO_SCREEN/lines=%d\">Print to the 
screen</a>\n",
                                                                lines_in_file);
  if (lines_in_file >= 500)

   fputs("  ........\n\nSorry, Document too large to mail!  Add Bookmark if you 
want to retrieve in the future.\n",fp0);

Another suggestion

how about an option that limits people to certain local files on the 
Internal filesystem of the machine where lynx resides

for example 

lynx -limit=/home/adam

therefore I would have access to only my own directory

or a special user with certain access may have access his directory and 
another directory containing .html files..


+-------/-\|)/-\|^| |_.--tfn helpdesk volunteer----------+
| address@hidden              address@hidden  |
| web: http://www.geocities.com/siliconvalley/park/2835  |
+--------------------------------------------------------+


;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]