Send a link

Tweaking



Network speed tweak on FreeBSD


These values must be applied with care. Both your system's total RAM and NIC drivers play a role here.

Rather start with smaller values and build upwards than sitting remote and set values too high = box dies and reboot, or even worse - box goes offline but doesn't reboot. (been there done that!)
#!/bin/bash
sysctl -w kern.ipc.maxsockbuf=1048576
sysctl -w net.inet.tcp.recvspace=262144
sysctl -w net.inet.tcp.sendspace=262144
sysctl -w net.inet.tcp.delayed_ack=0
sysctl -w net.inet.tcp.newreno=0
sysctl -w net.inet.ip.intr_queue_maxlen=200
sysctl -w net.inet.udp.recvspace=73728

PS: These values are taken from a 3.0 GHz system with 1024 MB RAM.

Enable mouse support in vim running in screen

Basically, just put this in your .vimrc
set mouse=a


If this is not enough, some people have succeeded with adding
set ttymouse=xterm2