Subject: Re: Suggestion: keep binary data out of /etc
To: None <current-users@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: current-users
Date: 02/10/1999 12:18:27
On Tue, 9 Feb 1999 17:09:27 -0500  Andrew Brown wrote:

> i've done this too and gotten quite frustrated with it.  resulting in:
> 
> to get *to* the annoying alternate character set...
> 
>    echo "" | tr '\012' '\016'   (or echo ^V^N)
> 
> and to return to normalcy...
> 
>    echo "" | tr '\012' '\017'   (or echo ^V^O)
> 
> and to break clear[1] on an xterm (at least)...
> 
>    echo "" | tr '\012' '\226'
> 
> and to fix it again...
> 
>    echo "" | tr '\012' '\227'

Easier on most `modern' systems including NetBSD is

	printf '\016'
	printf '\017'

and so on... If you can't see what you're typing, you may as well type
less :)

Simon.