Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 1996 10:24:09 +0200 (MET DST)
From:      "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To:        dlr@asylum.org (dlr)
Cc:        freebsd-questions@freefall.freebsd.org
Subject:   Re: Terminal Emulation Problems
Message-ID:  <199605190824.KAA25574@gilberto.physik.rwth-aachen.de>
In-Reply-To: <199605190343.WAA03970@asylum.asylum.org>

next in thread | previous 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, 

You did not mention under what circumstances the vi problem occurs.
Are you logging in remotely? Is the file contents visible for
a short moment ? What are your stty settings?



> 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
> 

--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



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