Re: Sluggish text cursor on tmux
Hi, Had the same issues for days, couldn't crack it. Simply did export TERM=linux before executing tmux and it did the trick (don t know why btw). The issue was only reproductible on xterm other term worked. Regards On Feb 13, 2014 6:09 PM, "Juan Francisco Cantero Hurtado" wrote: > On Thu, Feb 13, 2014 at 01:18:38PM +0100, Stefan Sperling wrote: > > On Thu, Feb 13, 2014 at 12:07:00PM +, Zé Loff wrote: > > > Hi all > > > > > > I believe nicm's recent changes to src/usr.bin/tmux/tty-keys.c and > > > xterm-keys.c are the cause to what follows, but I have no idea on how > to > > > handle this... > > > > > > Since upgrading to Feb 7 -current, when using an editor inside a tmux > > > session (occurs at least on vim and sc) the text cursor shows some sort > > > of a lag when responding to 'arrow keys'. > > > > I'm seeing this too, in Vim and /usr/bin/vi. The lag is slight, but > causes > > me to end up changing the wrong character when trying to do something > fast. > > E.g. I noticed it when tyring to switch case of a character with ~. > > > > I didn't know the problem was due to tmux. But indeed, in a plain > terminal > > the arrow keys are as responsive as they used to be. > > > > It also made me realise that I do indeed use arrow keys in vi... weird. > > > > I had the same issue. I updated from CVS a few days ago and I can't > reproduce the bug. > > -- > Juan Francisco Cantero Hurtado http://juanfra.info
Re: puzzling nginx behavior on OpenBSD
Hello, Correct me if I'm wrong but I think by default in nginx docroot is /htdocs and look at the manual you'll see that by default nginx is started in a chroot in /var/www so you will have to put your index.cpp into /var/www/htdocs directory. Hope I could help you. On Jul 1, 2013 7:56 AM, "Salil Wadnerkar" wrote: > Hi, > > I am testing one C++ fastcgi program on nginx. I modified my nginx config > by adding this > block: > > -- /usr/local/share/nginx/nginx.conf --- > >server { > listen 80; > server_name localhost; > ># pass the C++ scripts to FastCGI server listening on > 127.0.0.1:8000 > # > location ~ \.cpp$ { > fastcgi_pass 127.0.0.1:8000; > fastcgi_param SCRIPT_FILENAME > $document_root$fastcgi_script_name; > includefastcgi_params; > } > > I run my fastcgi application using spawn-fcgi: > > spawn-fcgi -p 8000 -n cppreadings > > And I access the cpp url like this: > curl http://localhost/index.cpp > > But, I get the error that the URL is not available and my nginx error log > shows: > > -- /var/www/logs/error.log --- > > 2013/07/01 21:21:07 [error] 28733#0: *1 open() "/htdocs/index.cpp" failed > (2: No such file or directory), client: 127.0.0.1, server: localhost, > request: "GET /index.cpp HTTP/1.1", host: "localhost" > > I am puzzled as to why it is taking the URL as /htdocs/index.cpp and > probably, that is the reason why it is failing. I can attach my nginx.conf, > if anybody wants to view the complete config. But, basically the above is > the only change I made to the default nginx config. > > I am using the exact same config on Mac OS X and Arch Linux and it is > working there. > So, that'w why I am posting it in OpenBSD forum rather than nginx forum. > > Thanks > Salil