vis.h (ff88ef4183d34943e90dda4138857bcee2d8e092) vis.h (ea46e63863df9bd36b65f7293092214f1937349e)
1/* $NetBSD: vis.h,v 1.25 2017/04/23 01:57:36 christos Exp $ */
2/* $FreeBSD$ */
1/* $NetBSD: vis.h,v 1.26 2022/05/20 21:31:24 andvar Exp $ */
3
4/*-
5 * Copyright (c) 1990, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:

--- 25 unchanged lines hidden (view full) ---

36#define _VIS_H_
37
38#include <sys/types.h>
39
40/*
41 * to select alternate encoding format
42 */
43#define VIS_OCTAL 0x0001 /* use octal \ddd format */
2
3/*-
4 * Copyright (c) 1990, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 25 unchanged lines hidden (view full) ---

35#define _VIS_H_
36
37#include <sys/types.h>
38
39/*
40 * to select alternate encoding format
41 */
42#define VIS_OCTAL 0x0001 /* use octal \ddd format */
44#define VIS_CSTYLE 0x0002 /* use \[nrft0..] where appropiate */
43#define VIS_CSTYLE 0x0002 /* use \[nrft0..] where appropriate */
45
46/*
47 * to alter set of characters encoded (default is to encode all
48 * non-graphic except space, tab, and newline).
49 */
50#define VIS_SP 0x0004 /* also encode space */
51#define VIS_TAB 0x0008 /* also encode tab */
52#define VIS_NL 0x0010 /* also encode newline */

--- 70 unchanged lines hidden ---
44
45/*
46 * to alter set of characters encoded (default is to encode all
47 * non-graphic except space, tab, and newline).
48 */
49#define VIS_SP 0x0004 /* also encode space */
50#define VIS_TAB 0x0008 /* also encode tab */
51#define VIS_NL 0x0010 /* also encode newline */

--- 70 unchanged lines hidden ---