Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 1997 18:01:53 -0800 (PST)
From:      Snob Art Genre <ben@narcissus.ml.org>
To:        Andrew Perry <andrew@python.shoal.net.au>
Cc:        Jason Wells <jcwells@u.washington.edu>, freebsd-questions@freebsd.org
Subject:   Re: Terminals and environments
Message-ID:  <Pine.NEB.3.95.970301180052.26297A-100000@narcissus.ml.org>
In-Reply-To: <Pine.BSI.3.95.970302113111.1839A-100000@python.shoal.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Mar 1997, Andrew Perry wrote:

> Can't help you much except with your university account. When I connect to
> a bsdi box from myu FreeBSD box it says the same thing. I just use vt100
> as my terminal type. Find out what type of unix the uni is using and maybe
> talk to your system admin about which type of terminal you should be
> using. 
> Also when you're at the uni type "echo $TERM" and it should tell you what
> one you're using.

cons25 doesn't speak vt100 perfectly -- I'm not sure if it even tries to.
A good way to get vt100 from the console is to run screen, which is in the
ports collection under "misc".  You can also replace syscons with pcvt,
but that's a pain.
 
> Hope this helps
> Andrew Perry
> andrew@shoal.net.au
> 
> 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?"  
> >  \_____/
> > 
> 
> 



 Ben

"You have your mind on computers, it seems."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970301180052.26297A-100000>