From owner-freebsd-questions Sat May 18 20:45:13 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA17262 for questions-outgoing; Sat, 18 May 1996 20:45:13 -0700 (PDT) Received: from asylum.asylum.org (dlr@asylum.asylum.org [205.217.4.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id UAA17204 for ; Sat, 18 May 1996 20:45:07 -0700 (PDT) Received: (from dlr@localhost) by asylum.asylum.org (8.6.10/8.6.9) id WAA03970 for freebsd-questions@freefall.freebsd.org; Sat, 18 May 1996 22:43:08 -0500 From: dlr Message-Id: <199605190343.WAA03970@asylum.asylum.org> Subject: Terminal Emulation Problems To: freebsd-questions@freefall.freebsd.org Date: Sat, 18 May 1996 22:43:07 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Just installed 2.1.0-RELEASE on a 486-66 via nfs and it went without a hitch. Many nice improvements from 2.0 (which i am running on another machine). I am having a strange problem which i'm certain someone will laugh and tell me is so simple to fix. When i run vi at i cannot see the file. i've tried vt100, xterm, sun terms without success. I can login remotely from my sparc2, and when i set term=sun on the sparc, things seem to work on the freebsd box. when i fire up XWindows on freebsd i don't have the problem. Any clues? here is the .cshrc file: #csh .cshrc file if (-x /usr/local/bin/less) then alias more /usr/local/bin/less setenv PAGER /usr/local/bin/less setenv LESS "-eM" endif alias gztart 'gzcat \!* | tar tf -' alias gztarx 'gzcat \!* | tar xvpf -' alias h history 25 alias j jobs -l alias la ls -a alias lf ls -FA alias ll ls -lA alias du du -k alias cd 'cd \!*;set prompt="{`hostname`\\\!`whoami`} $cwd \\!> "' alias df df -k setenv EDITOR vi setenv EXINIT 'set autoindent' setenv PAGER less setenv TERM xterm stty erase ^h setenv LD_LIBRARY_PATH "/usr/local/lib:/usr/lib:/usr/X11R6/lib" set path = (~/bin /bin /usr/{bin,X11R6/bin,contrib/bin,games,sbin} /usr/local/bi n /sbin /stand ) MANPATH = /usr/share/man /usr/local/man /usr/X11R6/man if ($?prompt) then # An interactive shell -- set some stuff up set filec set history = 1000 set ignoreeof set mail = (/var/mail/$USER) set mch = `hostname -s` set prompt="%m:%S%C2%s %t %S%B[%h]%s%b %# " # set prompt = "${mch:q}: {\!} " # set prompt = "{io}\!: " # set prompt="{`hostname`\\!`whoami`} $cwd \!> " umask 2 endif here is the .profile: PATH=$HOME/bin:/bin:/usr/bin:/usr/games:/usr/X11R6/bin:/usr/local/bin export PATH EDITOR=vi export EDITOR EXINIT='set autoindent' export EXINIT PAGER=more export PAGER umask 2 and finally .login: #csh .login file setenv SHELL /usr/local/bin/tcsh set noglob eval `tset -s -m 'network:?xterm'` unset noglob stty status '^T' crt -tostop stty erase '^h' many thanks, dave