NetBSD Problem Report #8802

Received: (qmail 22862 invoked from network); 15 Nov 1999 00:09:57 -0000
Message-Id: <19991115010954.C27801@pluto.geo.Uni-Koeln.DE>
Date: Mon, 15 Nov 1999 01:09:54 +0100
From: "Dr. Lex Wennmacher" <wennmach@geo.Uni-Koeln.DE>
Reply-To: wennmach@geo.Uni-Koeln.DE
To: gnats-bugs@netbsd.org
Subject: vis(3) does not correctly encode characters > 0177

>Number:         8802
>Category:       lib
>Synopsis:       vis(3) does not correctly encode characters > 0177
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    wennmach
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 14 16:12:00 +0000 1999
>Closed-Date:    Wed Nov 17 15:56:57 +0000 1999
>Last-Modified:  Wed Nov 17 15:57:51 +0000 1999
>Originator:     Lex Wennmacher
>Release:        <NetBSD-current source date> NetBSD-1.4
>Organization:
Dr. Alexandre Wennmacher
Institut fuer Geophysik und Meteorologie         wennmach@geo.Uni-Koeln.DE
Universitaet zu Koeln                            phone  +49 221 470 - 3387
D-50923 Koeln                                    fax    +49 221 470 - 5198
>Environment:

System: NetBSD hal 1.4 NetBSD 1.4 (HAL) #5: Thu Nov 4 16:27:59 MET 1999 wennmach@hal:/usr/src/sys/arch/i386/compile/HAL i386


>Description:

vis(3) does not correctly encode characters > 0177 when the VIS_OCTAL
flag is set.
>How-To-Repeat:

vis(1) uses the vis(3) function. To set the VIS_OCTAL flag, the '- o' flag
is used.

% vis -o /netbsd
\000\606\001\013\000\760\020\000\000\700\000\000\654Y\002\000\654\037\001\000 \0
00\020\760\000\000\000\000\000\000\000\000f\707\005r\004\000\0004\022\613D ...

and wonder what \606 etc is.

>Fix:

I'm in the process of rewriting vis.c (to add strsvis and strsvisx) and will
fix the problem. I'll supply a patch for 1.4.2.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: wennmach 
State-Changed-When: Sun Nov 14 16:16:40 PST 1999 
State-Changed-Why:  
I'm currently rewriting vis.c 


Responsible-Changed-From-To: lib-bug-people->wennmach 
Responsible-Changed-By: wennmach 
Responsible-Changed-When: Sun Nov 14 16:16:40 PST 1999 
Responsible-Changed-Why:  
dito. 
State-Changed-From-To: analyzed->closed 
State-Changed-By: wennmach 
State-Changed-When: Wed Nov 17 07:56:57 PST 1999 
State-Changed-Why:  
I committed the necessary fix to vis.c 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.