Re: Building ncurses...a couple of questions...

1995-12-07 Thread David Engel
> > You can handle it by creating both /etc/terminfo and /usr/lib/terminfo
> > as directories, and configuring ncurses to search them in order. Then we
> > can put the linux and ansi terminfo entries in the /etc one, and everything
> > else in the /usr/lib one.
> 
> So far I have been unable to find a copy of the patch that lets you fall
> back to another directory.  However, support is already in there to allow

I don't know that the patch even exists anymore.  However, a quick and
dirty hack is only a two line change in read_entry.c.

David
-- 
David EngelOptical Data Systems, Inc.
[EMAIL PROTECTED]  1101 E. Arapaho Road
(214) 234-6400 Richardson, TX  75081



Re: Building ncurses...a couple of questions...

1995-12-07 Thread Michael Alan Dorman
On Thu, 7 Dec 1995, J.H.M.Dassen wrote:
> I don't see the necessity of this. Take bash for instance: it uses
> readline, which uses ncurses. 

Taking this to its logical absurdity, we get:  "Let's just require that
everything be on one big hard drive so it's all in the root partition so
we don't have to worry about any of this."

> I'd like to see a /lib/ncurses.so which uses definitions on the root
> fs, in /etc. 

I looked at the FSSTND on the web, and it doesn't seem to forbid this, or 
even imply that it's "wrong".

Anyone else want to venture an opinion?

Mike.
--
"I'm a dinosaur.  Somebody's digging my bones."




Re: Building ncurses...a couple of questions...

1995-12-07 Thread J.H.M.Dassen
> The answer, I think, is that anything depending on ncurses that is
> expected to work without /usr will have to statically linked --- but that
> should be the only change, since the static libs will also have fallback
> terminal definitions compiled in. 

I don't see the necessity of this. Take bash for instance: it uses
readline, which uses ncurses. 
I'd like to see a /lib/ncurses.so which uses definitions on the root
fs, in /etc. 

Why is this not possible?
Ray
-- 
LOGIC  The principle governing human intellection. Its nature may be deduced 
from examining the two following propositions, both of which are held by 
human beings to be true and often by the same people: 'I can't so you 
mustn't', and 'I can but you mustn't.' - The Hipcrime Vocab by Chad C. Mulligan 



Re: Building ncurses...a couple of questions...

1995-12-07 Thread Michael Alan Dorman
On Wed, 6 Dec 1995, Raul Miller wrote:
> I wasn't thinking about anything specific... I was just worrying about
> potential configurations with no /usr partition.
> I probably shouldn't have even mailed the original message.

No, I think it's a valid question to bring up---I was just confused about 
how you phrased it.

The answer, I think, is that anything depending on ncurses that is
expected to work without /usr will have to statically linked --- but that
should be the only change, since the static libs will also have fallback
terminal definitions compiled in. 

Mike.
--
"I'm a dinosaur.  Somebody's digging my bones."




Re: Building ncurses...a couple of questions...

1995-12-06 Thread roro
Please keep in mind:

ncurses 1.9.7a searches the terminfo entries in
   - $HOME/.terminfo or, if set in $TERMINFO
and then in
   - /etc/terminfo  (this is the debian-special for /usr/lib/terminfo)

The first could provide a scheme for startup (/usr not mounted) without 
hacking the sources further.

mfg
Rolf Rossius




Re: Building ncurses...a couple of questions...

1995-12-06 Thread Erik Talvola


For the list of terminals, I would appreciate vt200 (i.e., vt220) in
the list too.  I work at a place where vt220s are all over the place,
and using a real termcap for a vt220 is much better than using the
vt100 termcap.

-- 
++
| Erik Talvola [EMAIL PROTECTED] [EMAIL PROTECTED]   |
| PRC Public Sector Inc.   415-281-4671   FAX: 415-281-4686  |
||
| "Don't mistake lack of talent for genius." |
++



Re: Building ncurses...a couple of questions...

1995-12-06 Thread Bruce Perens
I meant turn off the "fallback to termcap" code. Please enable the fallback
to compiled-in-terminfo .

Thanks

Bruce
--
Visit the "Toy Story" Web Page! http://www.toystory.com



Re: Building ncurses...a couple of questions...

1995-12-06 Thread Raul Miller
Raul Miller:
   > Make sure that dselect still works right during the initial
   > installation.

Mike Dorman:
   I'm not sure what you're trying to say here.  I mean, I understand
   what you're saying, I'm just not sure what scenario you envision
   such that this is an issue.

I wasn't thinking about anything specific... I was just worrying about
potential configurations with no /usr partition.

I probably shouldn't have even mailed the original message.

-- 
Raul