Hi, Quite late, but...
Cédric Bretaudeau, le Fri 10 Feb 2006 10:25:56 +0000, a écrit : > >Brian Dessent, le Fri 10 Feb 2006 01:25:45 -0800, a écrit : > >> Samuel Thibault wrote: > >> > >> > in man 5 terminfo, there is no init string indeed. There is is1, is2 > >and > >> > is3 however. See further in man page for details. > >> > >> Yes, but "man tput" says that "tput init" should work: > > > >Ah indeed. Ok, found the issue: try tput init.exe that should work. The problem is how the is_init variable is set in progs/tput.c:check_aliases(): is_init = (strcmp(name, PROG_INIT) == 0); PROG_INIT is defined in the transform.h file, generated by the Makefile: echo "#define PROG_INIT \"$(actual_init)\"" >>$@ and actual_init = `echo init$x| $(TRANSFORM)` i.e. PROG_INIT has the pending .exe extension. Check_aliases() should just discard any extension when comparing name and PROG_INIT/PROG_RESET. Regards, Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/