Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a way to start a new XEmacs if theres no gnuserv running, and otherwise use gnuclient?

0
Posted

Is there a way to start a new XEmacs if theres no gnuserv running, and otherwise use gnuclient?

0

Jan Vroonhof writes: Here is one of the solutions, we have this in a script called `etc/editclient.sh’. #!/bin/sh if gnuclient -batch -eval t >/dev/null 2>&1 then exec gnuclient ${1+”$@”} else xemacs -unmapped -f gnuserv-start & until gnuclient -batch -eval t >/dev/null 2>&1 do sleep 1 done exec gnuclient ${1+”$@”} fi Note that there is a known problem when running XEmacs and ‘gnuclient -nw’ on the same TTY.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.