General

Profile

liweitianux

Issues

Projects

Activity

03/01/2021

05:49 AM DragonFlyBSD Revision 4ed49c92: cgram(6): Sync with NetBSD
* Properly handle input errors from child fortune(6) process.
* Add advanced cursor movement with tab, shift+tab, ret...
liweitianux

02/22/2021

06:33 AM DragonFlyBSD Revision 564d7699: cgram(6): Sync the rewritten version from NetBSD
Fixes:
* Do not consider the puzzle solved if all letters in the visible area
are substituted correctly. To be pr...
liweitianux
06:33 AM DragonFlyBSD Revision 18d09f18: cgram(6): Don't move over the last char and fix an assertion
The maximum value of cursor_x was the text length and thus also
*equaled* to extent_x, which broke the assertion in s...
liweitianux

02/21/2021

12:19 AM DragonFlyBSD Revision 3e77f79f: grdc(6): Fix 100% CPU usage and make timeout work again
grdc(6) was passing a timespec with tv_nsec = 1000000*1000, which is
invalid. So every nanosleep() call just returns...
liweitianux
12:12 AM DragonFlyBSD Revision ffe1d30b: grdc(6): Add '-t' option to show time in 12-hour format
Partially based on FreeBSD's implementation (revision 112749). But I
moved the AM/PM mark to the upper-left corner i...
liweitianux
11:52 PM DragonFlyBSD Revision 8f2695f2: grdc(6): Allow 'q' to quit immediately
Add support to allow pressing 'q' to quit immediately.
Partially based on OpenBSD's implementation:
https://github.c...
liweitianux
11:52 PM DragonFlyBSD Revision 7b8d5f41: grdc(6): Various code cleanups
* Staticize various variables and functions.
* Reduce file-global variables.
* Minor style updates.
* Add a copyright...
liweitianux
11:52 PM DragonFlyBSD Revision 9f62ef8c: grdc(6): Improve handling of long scroll delays
Add the scroll delay to the current time, so that the finally showed
time matches the real current time.
In addition...
liweitianux
11:52 PM DragonFlyBSD Revision 6159ff08: grdc(6): Improve scrolling timestamp precisions
Use clock_gettime() to obtain the current time with higher precision,
which is used to improve the scrolling timestam...
liweitianux
08:28 PM DragonFlyBSD Revision cf2f35f4: grdc(6): Fix 100% CPU usage and make timeout work again
grdc(6) was passing a timespec with tv_nsec = 1000000*1000, which is
invalid. So every nanosleep() call just returns...
liweitianux

Also available in: Atom