Xref: utzoo comp.sys.att:10707 comp.unix.sysv386:1663 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!rochester!pt.cs.cmu.edu!dsl.pitt.edu!pitt!amanue!oglvee!jr From: jr@oglvee.UUCP (Jim Rosenberg) Newsgroups: comp.sys.att,comp.unix.sysv386 Subject: Re: Virtual terminals Message-ID: <618@oglvee.UUCP> Date: 29 Oct 90 23:20:39 GMT References: <1990Oct27.191111.9448@mccc.uucp> Organization: Oglevee Computer Systems, Connellsville, Pa Lines: 22 In <1990Oct27.191111.9448@mccc.uucp> pjh@mccc.uucp (Pete Holsberg) writes: >1) How do I change the prompt that appears in a virtual terminal? >2) How do I export my login environment (or modify the default one) >when I start a new VT? Hi Pete! I'm not sure which UNIX you're running, but we run AT&T V.3.2. We handle virtual terminals by running a getty directly on /dev/console and /dev/vtxx. AT&T seems to want me to run vtgetty. vtgetty is most useful as fertilizer, IMHO. It makes all virtual terminals children of one session. By running a getty directly on the vtxx device, each virtual terminal acts as a completely separate login. Your login environment comes from .login or .profile, etc., and you deal with the prompt just as you would from any terminal. You can set this up by editing /etc/inittab. -- Jim Rosenberg #include --cgh!amanue!oglvee!jr Oglevee Computer Systems / / 151 Oglevee Lane, Connellsville, PA 15425 pitt! ditka! INTERNET: cgh!amanue!oglvee!jr@dsi.com / /