Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 1996 22:43:07 -0500 (EST)
From:      dlr <dlr@asylum.org>
To:        freebsd-questions@freefall.freebsd.org
Subject:   Terminal Emulation Problems
Message-ID:  <199605190343.WAA03970@asylum.asylum.org>

next in thread | raw e-mail | index | archive | help
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 <file> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605190343.WAA03970>