From owner-freebsd-questions Tue Apr 30 07:02:04 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA08985 for questions-outgoing; Tue, 30 Apr 1996 07:02:04 -0700 (PDT) Received: from mail.EUnet.hu (mail.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id HAA08978 for ; Tue, 30 Apr 1996 07:01:58 -0700 (PDT) Received: by mail.EUnet.hu, id QAA18981; Tue, 30 Apr 1996 16:01:48 +0200 Received: by CoDe.CoDe.hu (OAA04316); Tue, 30 Apr 1996 14:26:32 GMT From: Gabor Zahemszky Message-Id: <199604301426.OAA04316@CoDe.CoDe.hu> Subject: Re: graphical characters? To: richardc@CSUA.Berkeley.EDU (Richard Chang) Date: Tue, 30 Apr 1996 14:26:29 +0000 (GMT) Cc: freebsd-questions@freebsd.org In-Reply-To: from "Richard Chang" at Apr 30, 96 02:25:40 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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. -- Gabor Zahemszky -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:- Earth is the cradle of human sense, but you can't stay in the cradle forever. Tsiolkovsky