bug-apl
[Top][All Lists]
Advanced

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

Re: Startup with command line parameters....


From: Peter Teeson
Subject: Re: Startup with command line parameters....
Date: Mon, 5 Jun 2023 11:08:09 -0400

Hi Jürgen:

Thanks for your reply. I feel somewhat stupid because never thought to look in HOWTOs.
Too brainwashed by macOS world view vs Linux world view.

respect…

Peter

On Jun 5, 2023, at 6:51 AM, Dr. Jürgen Sauermann <mail@xn--jrgen-sauermann-zvb.de> wrote:

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,
Jürgen


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…

respect…

Peter



reply via email to

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