Project

General

Profile

Submit #2879

Re-port ncal from FreeBSD

Added by yellowrabbit2010 over 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Userland
Target version:
-
Start date:
01/01/2016
Due date:
% Done:

0%

Estimated time:

Description

Our ncal is unusable with locales other than en_US.UTF-8 (see included images).
May be it is time to re-port from FreeBSD?

And our short weekday names for Chinese are useless, will need to cut them.

0001-ncal-report.patch (42.4 KB) 0001-ncal-report.patch part 1 of the patch yellowrabbit2010, 01/01/2016 09:33 PM
el_GR-before.png (133 KB) el_GR-before.png bad yellowrabbit2010, 01/01/2016 09:41 PM
ru_RU-before.png (130 KB) ru_RU-before.png bad yellowrabbit2010, 01/01/2016 09:41 PM
zh_CN-before.png (131 KB) zh_CN-before.png bad yellowrabbit2010, 01/01/2016 09:41 PM
zh_CN-after.png (179 KB) zh_CN-after.png still bad yellowrabbit2010, 01/01/2016 09:48 PM
0001-chinese-locale.patch (381 Bytes) 0001-chinese-locale.patch part 2 of the patch yellowrabbit2010, 01/01/2016 09:48 PM
el_GR-better.png (167 KB) el_GR-better.png yellowrabbit2010, 01/02/2016 02:06 AM
ru_RU-better.png (164 KB) ru_RU-better.png yellowrabbit2010, 01/02/2016 02:06 AM
zh_CH-better.png (195 KB) zh_CH-better.png yellowrabbit2010, 01/02/2016 02:06 AM

History

#1 Updated by marino over 3 years ago

src is generated, it is never ever edited.

The space padded weekdays are a modification *from* freebsd. It came from ls long format needs I think.

What are you trying to do, remove the padding again?

What does ncal look like on FreeBSD-CURRENT?

#2 Updated by yellowrabbit2010 over 3 years ago

What space padding? ls -l shows weekdays?

I'm trying get calendar without corruption, like on images attached.

Is https://svnweb.freebsd.org/base/head/usr.bin/ncal/ too old?

#3 Updated by marino over 3 years ago

I meant, "Does ncal work correctly on FreeBSD-current that is 2 months old or newer".

If it does, then maybe all we need to do is a sync.

#4 Updated by yellowrabbit2010 over 3 years ago

got it. I have not FreeBSD here, just read the sources. I will ask somebody on the irc.

#5 Updated by yellowrabbit2010 almost 3 years ago

  • Status changed from New to Closed

No way to fix days of week in Chinese right now

Also available in: Atom PDF