Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
procps
procps-v3.3.3-w-simply-work.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File procps-v3.3.3-w-simply-work.diff of Package procps
--- w.c +++ w.c 2012-06-01 14:18:26.088580533 +0000 @@ -435,9 +435,19 @@ int main(int argc, char **argv) maxcmd = atoi(p); else maxcmd = 80; +#if 0 + /* + * I have no idea why it shouldn't be allowed to see the result + * with a line wrap. The other solution would be to create a + * wcat alias, which does w|cat to work around this, but this + * would be stupid in my opinion. + */ if (maxcmd < 71) xerrx(EXIT_FAILURE, _("%d column window is too narrow"), maxcmd); - +#else + if (maxcmd < 71) + xwarnx(_("%d column window could be to too narrow"), maxcmd); +#endif maxcmd -= 21 + userlen + (from ? fromlen : 0) + (longform ? 20 : 0); if (maxcmd < 3) xwarnx(_("warning: screen width %d suboptimal"), win.ws_col);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor