Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 674121 Details for
Bug 892674
broken ncurses output after upgrading from F17 to F18
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
curs_test.c
curs_test.c (text/plain), 853 bytes, created by
Jaromír Cápík
on 2013-01-07 15:11:54 UTC
(
hide
)
Description:
curs_test.c
Filename:
MIME Type:
Creator:
Jaromír Cápík
Created:
2013-01-07 15:11:54 UTC
Size:
853 bytes
patch
obsolete
>// a quick & dirty for ncurses 5.9.20121017 > >#include <stdlib.h> >#include <curses.h> >#include <term.h> > >int main (void) { > char buf[100]; > int i, j; > > setupterm(NULL, 1, NULL); >/* notes: > * as written, the logic below will not work under version 5.9.20121017. > * the 'buffering' problem probably originated under version 5.9.20120825. > * the workarounds below might help in isolating the flaw */ > for (i = 1; i < lines; i++) { > snprintf(buf, sizeof(buf), "line #%2d", i); // #1 > for (j = 0; buf[j]; j++) > putchar(buf[j]); > putp("\n"); // #2 > } >/* workarounds: > * #1 ok if, instead of putp("\n"), newline embedded as: "line #%2d\n" > * #2 ok if, instead of putp("\n"), putchar('\n') > * or > * #2 ok when putp("\n") is followed by fflush(stdout) > */ > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 892674
: 674121