From owner-freebsd-questions Tue Apr 30 23:00:19 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA16457 for questions-outgoing; Tue, 30 Apr 1996 23:00:19 -0700 (PDT) Received: from soda.CSUA.Berkeley.EDU (soda.CSUA.Berkeley.EDU [128.32.43.52]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id XAA16452 for ; Tue, 30 Apr 1996 23:00:17 -0700 (PDT) Received: (from richardc@localhost) by soda.CSUA.Berkeley.EDU (8.6.12/8.6.12) id XAA27370; Tue, 30 Apr 1996 23:00:03 -0700 Date: Tue, 30 Apr 1996 23:00:02 -0700 (PDT) From: Richard Chang To: Gabor Zahemszky cc: freebsd-questions@freebsd.org Subject: Re: graphical characters? In-Reply-To: <199604301426.OAA04316@CoDe.CoDe.hu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 30 Apr 1996, Gabor Zahemszky wrote: > > i have a question... like for example, if my prompts all turn > > into garbled graphical characters, how do i get my prompt back? i > > ?? > 1) If only your prompt went wrong, you have to type > PS1='promptstring' > in sh/ksh/bash > set prompt='promptstring' > in csh/tcsh > > 2) If everything is garbled, it means that somebody send to the terminal > (or to the emulator) a Set Alternate character set sequence, so > try: > tput rmacs (ReMove Alternate Character Set), or > tput op > tput init > tput reset > reset > tput sgr0 > I think, one of these will work. It's everything is garbled but I remembered there was a way to do something with the Escape key to fix it but does anyone know how?