Package: bsdmainutils
Version: 6.1.10
Severity: normal

Hi,

When a backspace character appears in a multibyte character string,
`col' command destroys multibyte characters partially.
It is caused by the following code which does nod consider multibyte
characters.

        while ((ch = getchar()) != EOF) {
                if (!isgraph(ch)) {
                        switch (ch) {
                        case BS:                /* can't go back further */
                                if (cur_col == 0)
                                        continue;
                                --cur_col;
                                continue;

Regards,

-- 
TSUCHIYA Masatoshi



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to