[Top][All Lists]

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

Re: Startup with command line parameters....

From: Dr . Jürgen Sauermann
Subject: Re: Startup with command line parameters....
Date: Mon, 5 Jun 2023 12:51:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

Hi Peter,

thanks for the proposal. The logging facilities are already
described in the GNU-APL-Designers-Guide.html and
I have added a note concerning -l 37. Also:

apl --help

mentions it, although it could be missed there due to the many
command line options.

SVN 1705.

Best Regards,

On 6/4/23 20:44, Peter Teeson wrote:
Hi Jürgenl:

I was trying out how to startup APL using command line parameters. My first attempt worked:

Last login: Sun Jun  4 13:43:24 on ttys000
Gandalf:~ pteeson$ apl -l 37

But I had to know that LID_startup was  enum 37. 
(UserPreferences::parse_argv_0(..) {.. if (!strcmp(argv[a], "-l") && atoi(argv[a+1]) == LID_startup)
That seems to imply I had already built apl, launched it, and typed ]LOG to find the LID_startup enum.

So I’m wondering if we could maybe add something to the READMEs? 
Perhaps similar to the README-7? Listing the LOG table?
Maybe indicating which can be used on the command line? 

Just a thought…



reply via email to

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