cptaffe / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

vt pollutes environment #186

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
vt will pollute environment with some variables, preventing other programs that 
depend on them from working (vim from contrib)

fixed by adding RFENVG to rfork. patch: http://sprunge.us/TSCJ

chi% ls /env > env.1
chi% ./vt -ab
draw: eof on event pipe: 
chi% ls /env > env.2
chi% diff env.1 env.2
2a3
> /env/COLS
4a6
> /env/LINES
5a8
> /env/TERM
6a10,11
> /env/XPIXELS
> /env/YPIXELS

Original issue reported on code.google.com by mischief@offblast.org on 29 Sep 2013 at 4:57

GoogleCodeExporter commented 9 years ago
this is intentional and part of the tty emulation for ape programs.

Original comment by cinap_le...@felloff.net on 30 Sep 2013 at 2:17

GoogleCodeExporter commented 9 years ago
correction, mischief is right. the vars only need to be visible by
the process (shell) running under vt. fixed in r2a817c6ecfd1

Original comment by cinap_le...@felloff.net on 2 Oct 2013 at 12:27