I agree that the formed file name is legal. My question is why does Lynx append *.txt extension for *.html files and does not do this for *.cgi files? Does the user have control over it, or it is hidden in Lynx internals?
Thanks. -----Original Message----- From: Thomas Dickey [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 7:17 PM To: Tunik Vlad-cvt002 Cc: [email protected] Subject: Re: [Lynx-dev] Default file name when saving HTML documents to disk On Wed, 19 Apr 2006, Tunik Vlad-cvt002 wrote: > Hello, > > When the 'P' (print) command is used Print Options screen is > displayed. > If 'Save to a local file' is selected the user is prompted to enter a > file name. The user is also presented with the default file name which > is formed differently depending on the document type. If the document is > <file_name>.html then the default file name is <file_name>.txt. However, > if the document is <file_name>.cgi then the default file name is the > same name as the document name: <file_name>.cgi. If the user decides to > use this default name they will overwrite the original .cgi script > making this particular HTML page unusable. Is this a known issue with > Lynx browser? Is there a way to control the default file name, or > perhaps not to display is at all? no - essentially all lynx does is edit the URL so that the corresponding filename is legal. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net _______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev
