Xref: utzoo comp.sys.att:10702 comp.unix.sysv386:1646 Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!olivea!orc!inews!iwarp.intel.com!gargoyle!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.sys.att,comp.unix.sysv386 Subject: Re: Virtual terminals Message-ID: <1990Oct29.172021.3454@chinet.chi.il.us> Date: 29 Oct 90 17:20:21 GMT References: <1990Oct27.191111.9448@mccc.uucp> Organization: Chinet - Public Access UNIX Lines: 16 In article <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? If you just execute vtlmgr in your .profile, you will automatically get a new shell with your login environment whenever you switch to a new VT, with a prompt of "VT n> ", n being the number of the VT for that session. If you run ksh (and have ALTSHELL=YES in /etc/defaults/login) you can probably do some tricks in the .kshrc if you want something different at start-up. Les Mikesell les@chinet.chi.il.us