Eric Backus wrote: > I'm getting a segmentation fault when I try to use tput. The program runs > successfully if you just ask it for a version number, or if asked for a non- > existent capability, but gets a seg fault when asked about a real capability. > > $ tput sgr0 > Segmentation fault (core dumped) <---- this is wrong > $ tput -V > ncurses 5.7.20091024 <---- OK, latest version > $ tput garbage > tput: unknown terminfo capability 'garbage' <---- OK, this is correct > $ type tput > tput is hashed (/bin/tput) > > The seg fault didn't happen with the previous version. Is there anything > else > I should try to debug this? Would you like cygcheck output?
Short of compiling a debug version yourself and tracking down why it crashes, no -- cygcheck probably won't help, because I can reproduce the error here. It may be a while until I can fix this, tho; for now the workaround is to revert to -14. Thanks (sigh) for the report. -- Chuck -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple