From owner-freebsd-questions Sat Mar 1 16:41:28 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA08902 for questions-outgoing; Sat, 1 Mar 1997 16:41:28 -0800 (PST) Received: from proxy3.ba.best.com (root@proxy3.ba.best.com [206.184.139.14]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA08897 for ; Sat, 1 Mar 1997 16:41:25 -0800 (PST) Received: from bsampley.vip.best.com (bsampley.vip.best.com [206.184.160.196]) by proxy3.ba.best.com (8.8.5/8.8.3) with SMTP id QAA17687; Sat, 1 Mar 1997 16:38:26 -0800 (PST) Date: Sat, 1 Mar 1997 16:37:05 -0800 (PST) From: Burton Sampley To: Jason Wells cc: freebsd-questions@FreeBSD.ORG Subject: Re: Terminals and environments In-Reply-To: <3318C2C5.685C@u.washington.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I believe the two files which determine the environment in X are, .Xdefaults and .cshrc. A really good book on X is X User Tools (ISBN #0-56592-019-8). This book is a little out of date but I teaches you how to setup X resources and other stuff about some of the more popular X window managers. You might check with your local book store if there is a more current version. It's been very helpful for me. I hope this helps. Burton Sampley On Sat, 1 Mar 1997, Jason Wells wrote: > This tends to be two questions in one. I gather that they are closely > related, therefore they both appear in one posting. > > Pointing me to the correct resource will be much appreciated. I seem to > be reading in circles on the topic of terminal types and the users > environment. > > I am a bash user. > > As I understand (misunderstand?) things. Please correct me if need be. > > tty = terminal type or terminal device. > > Init starts a terminal via getty for login. > > tty is connected (for lack of a better word) to the standard > input. > > After login the the users login file (.profile in my case) can be > used to set the terminal type. > > My environment is established entirely by my .profile. (I am > suspicous that this is false.) > > If I have my keyboard plugged in that is all that is necessary for > having input processed correctly. (I suspect this to be false as > well.) > > Having said the above here are my troubles. > > My environment somehow changes when I start X using startx. I noticed > this because my aliases that I established in my .profile no longer > function. By what mechanism is my environment changed when I start X? > > I seem to be stumbling upon some arbitrary changes of environment. I > doubt however that the change is arbitrary but is determined by some > code that is unknown to me. What actions does a user perform that end up > resulting in a change of environment? More specifically, are there > events other than login that change my environment without my knowing > that my environment is being changed? > > When I telnet to my university account I am able to login. After login > some commands execute and some commands return "unknown terminal type: > cons25." I guess that I have to set some terminal type in my > environment. How do I change the type of terminal that I use? What > actions does a user perform that result in a change of terminal type? > > How do I get my delete key to delete the current character position > instead of the previous character position? Perhaps this is a DOS-ism > but dammit that is how the delete should work. This little detail causes > me mucho aggravation. > -- > __ __ > / 0\ / 0\ Thank you * Highperformance.net > ) Wannabe Sysadmin * The homeless domain > )-------( Jason Wells * "Pardon me sir, spare some bandwidth?" > \_____/ >