lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Command-line options and DOS [patch]


From: Gisle Vanem
Subject: Re: lynx-dev Command-line options and DOS [patch]
Date: Sun, 1 Aug 1999 13:58:38 +0200 (MET DST)

Doug Kaufman <address@hidden> said:
 
>> The PARSE_FUN should be sufficient provided dbug_init + sock_init are
>> moved much further down in main() function and after parse_arg() is
>> called. "-nosocks" and "-lss" should IMHO be treated similarily.
 
> I certainly have no objection to the change. Is there a place in the
> file that you think is optimal?
 
I've placed sock_init() right before the first if/else contruct containing
mainloop(). I've not kept the original source, so I've no diffs. But
hope you could contribute them :-)
 
LyMain.c at approx line 1932:
 
+ #if defined (__DJGPP__)
+     if (watt_debug)
+       dbug_init();
+     sock_init();
+
+     __system_flags =
+        __system_emulate_chdir        |  /* handle `cd' internally */
+        __system_handle_null_commands |  /* ignore cmds with no effect */
+        __system_allow_long_cmds      |  /* handle commands > 126 chars  */
+        __system_use_shell            |  /* use $SHELL if set */
+        __system_allow_multiple_cmds  |  /* allow `cmd1; cmd2; ...' */
+        __system_redirect;               /* redirect internally */
+ #endif  /* __DJGPP__ */
 
    /*
     *  Here's where we do all the work.
     */
    if (dump_output_immediately) {
 
 
Gisle V.
 



reply via email to

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