Re: tty.cdl

Ilija Kocho <[email protected]>
Newsgroups gmane.os.ecos.devel
Message-ID <[email protected]>
On 27.03.2011 19:11, Sergei Gavrikov wrote:
> On Sun, 27 Mar 2011, Ilija Kocho wrote:
>
>> On 27.03.2011 14:45, Sergei Gavrikov wrote:
>>> Hi Ilija,
>>>
>>> I get it (about your attempting to build the in-lines using CDL), but, I
>>> would keep things simpler, i.e. just would add two absent entries for
>>> TTY4, TTY5, TTYx in tty.c. Those are conditional definitions depend on
>>>
>> Adding two additional TTYs is an alternative indeed, it is simple and
>> straightforward to implement.
>>
>> My idea was to make system auto extensible and configurable. I have
>> fixed number of TTYs to 6, but as you suggest in your research below it
>> could be defined as a variable. HAL could provide an override too. Also
>> maintenance may be simpler since we avoid duplicated code?!
> Indeed. But, now I think that I gave bad suggest about extension via
> environment variable (How to document this "feature"? Who will know
> about? It looks like a trick) Ilija, so far, I take a timeout to think
> and test your substitutions and I will try to find compromise solution
> without the tricks and complex Tcl/CDL expressions.
>
Thanks,
In meantime I have a code that compiles and works. I will post to
Bugzilla so we can continue there.

Ilija
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.