Posts

Showing posts from November 19, 2018

Names not resolved

Image
up vote 1 down vote favorite Yesterday I connected my computer (Arch) to a new WLAN, browsing without any problem at all. Today, same computer, same WLAN, I can't browse anymore: the names are no longer resolved. Other devices on the same network can browse. I tried to connect my computer to my Android hotspot and it worked. $ ping google.com ping: google.com: Name or service not known $ dig google.com ; <<>> DiG 9.13.3 <<>> google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34550 ;; flags: qr rd ra cd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; MBZ: 0x7fe8, udp: 512 ;; QUESTION SECTION: ;google.com. IN A ;; ANSWER SECTION: google.com. 97 IN A 216.5

EDITOR: subsidiary program 'emacs -nw' not found [duplicate]

Image
up vote 0 down vote favorite This question already has an answer here: Export EDITOR with a flag 1 answer I have set up $ echo $EDITOR emacs -nw I was wondering why it is not found here, and how I can solve the problem? Thanks. $ sdiff -o sdiff.out f1 f2 1 2 3 | 2 3 4 %e1 sdiff: subsidiary program 'emacs -nw' not found I don't know why an option in $EDITOR is a problem, and where it is required in sdiff source code? I guess it is here http://git.savannah.gnu.org/cgit/diffutils.git/tree/src/sdiff.c#n459 prog = getenv ("EDITOR"); if (prog) editor_program = prog; and here http://git.savannah.gnu.org/cgit/diffutils.git/tree/src/sdiff.c#n1035 execvp (edito