comparison man/xemacs-faq.texi @ 2995:574c005d1f5c

[xemacs-hg @ 2005-10-14 02:11:49 by ben] document need to rebase under cygwin in faq xemacs-faq.texi: Add question about need to run `rebaseall' under Cygwin.
author ben
date Fri, 14 Oct 2005 02:11:49 +0000
parents 640e02d61e7f
children 31e656a27dae
comparison
equal deleted inserted replaced
2994:ec5f23ea6d2e 2995:574c005d1f5c
5 @setchapternewpage off 5 @setchapternewpage off
6 @c %**end of header 6 @c %**end of header
7 @finalout 7 @finalout
8 @titlepage 8 @titlepage
9 @title XEmacs FAQ 9 @title XEmacs FAQ
10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2005/05/10 17:56:15 $ 10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2005/10/14 02:11:49 $
11 @sp 1 11 @sp 1
12 @author Ben Wing <ben@@xemacs.org> 12 @author Ben Wing <ben@@xemacs.org>
13 @author Tony Rossini <rossini@@u.washington.edu> 13 @author Tony Rossini <rossini@@u.washington.edu>
14 @author Chuck Thompson <cthomp@@xemacs.org> 14 @author Chuck Thompson <cthomp@@xemacs.org>
15 @author Steve Baur <steve@@xemacs.org> 15 @author Steve Baur <steve@@xemacs.org>
453 * Q5.4.1:: What is an interior shell? 453 * Q5.4.1:: What is an interior shell?
454 * Q5.4.2:: How do I start up a second shell buffer? 454 * Q5.4.2:: How do I start up a second shell buffer?
455 * Q5.4.3:: Telnet from shell filters too much 455 * Q5.4.3:: Telnet from shell filters too much
456 * Q5.4.4:: Strange things are happening in Shell Mode. 456 * Q5.4.4:: Strange things are happening in Shell Mode.
457 * Q5.4.5:: XEmacs complains "No such file or directory, diff" 457 * Q5.4.5:: XEmacs complains "No such file or directory, diff"
458 * Q5.4.6:: Cygwin error "fork_copy: linked dll/bss pass 0 failed"
458 459
459 5.5: Multiple Device Support 460 5.5: Multiple Device Support
460 * Q5.5.1:: How do I open a frame on another screen of my multi-headed display? 461 * Q5.5.1:: How do I open a frame on another screen of my multi-headed display?
461 * Q5.5.2:: Can I really connect to a running XEmacs after calling up over a modem? How? 462 * Q5.5.2:: Can I really connect to a running XEmacs after calling up over a modem? How?
462 * Q5.5.3:: How do I disable gnuserv from opening a new frame? 463 * Q5.5.3:: How do I disable gnuserv from opening a new frame?
6089 * Q5.4.1:: What is an interior shell? 6090 * Q5.4.1:: What is an interior shell?
6090 * Q5.4.2:: How do I start up a second shell buffer? 6091 * Q5.4.2:: How do I start up a second shell buffer?
6091 * Q5.4.3:: Telnet from shell filters too much 6092 * Q5.4.3:: Telnet from shell filters too much
6092 * Q5.4.4:: Strange things are happening in Shell Mode. 6093 * Q5.4.4:: Strange things are happening in Shell Mode.
6093 * Q5.4.5:: XEmacs complains "No such file or directory, diff" 6094 * Q5.4.5:: XEmacs complains "No such file or directory, diff"
6095 * Q5.4.6:: Cygwin error "fork_copy: linked dll/bss pass 0 failed"
6094 6096
6095 5.5: Multiple Device Support 6097 5.5: Multiple Device Support
6096 * Q5.5.1:: How do I open a frame on another screen of my multi-headed display? 6098 * Q5.5.1:: How do I open a frame on another screen of my multi-headed display?
6097 * Q5.5.2:: Can I really connect to a running XEmacs after calling up over a modem? How? 6099 * Q5.5.2:: Can I really connect to a running XEmacs after calling up over a modem? How?
6098 * Q5.5.3:: How do I disable gnuserv from opening a new frame? 6100 * Q5.5.3:: How do I disable gnuserv from opening a new frame?
6525 @example 6527 @example
6526 if ( "$TERM" == emacs || "$TERM" == unknown ) unset filec 6528 if ( "$TERM" == emacs || "$TERM" == unknown ) unset filec
6527 @end example 6529 @end example
6528 @end quotation 6530 @end quotation
6529 6531
6530 @node Q5.4.5, Q5.5.1, Q5.4.4, External Subsystems 6532 @node Q5.4.5, Q5.4.6, Q5.4.4, External Subsystems
6531 @unnumberedsubsec Q5.4.5: XEmacs complains "No such file or directory, diff" 6533 @unnumberedsubsec Q5.4.5: XEmacs complains "No such file or directory, diff"
6532 6534
6533 or "ispell" or other commands that seem related to whatever you just 6535 or "ispell" or other commands that seem related to whatever you just
6534 tried to do (M-x ediff or M-$, for example). 6536 tried to do (M-x ediff or M-$, for example).
6535 6537
6540 provides a complete Unix emulation environment (and thus makes ports of 6542 provides a complete Unix emulation environment (and thus makes ports of
6541 Unix utilities nearly trivial). Another implementation is that from 6543 Unix utilities nearly trivial). Another implementation is that from
6542 MinGW (@uref{http://www.mingw.org/msys.shtml}). If you know of others, 6544 MinGW (@uref{http://www.mingw.org/msys.shtml}). If you know of others,
6543 please let us know! 6545 please let us know!
6544 6546
6547 @node Q5.4.6, Q5.5.1, Q5.4.5, External Subsystems
6548 @unnumberedsubsec Q5.4.6: Cygwin error "fork_copy: linked dll/bss pass 0 failed"
6549
6550 If you are getting an error like
6551
6552 @example
6553 17797832 [main] bash 3468 fork_copy: linked dll/bss pass 0 failed,
6554 0x675000..0x6756A0, done 0, windows pid 2708, Win 32 error 487
6555 bash: fork: resource temporarily unavailable
6556 @end example
6557
6558 when trying to run bash using @kbd{M-x shell}, then you need to rebase
6559 your Cygwin DLL's. This is a known problem with Cygwin. To fix:
6560
6561 @enumerate
6562 @item
6563 Download the @file{rebase} utility from Cygwin setup (it's under
6564 @samp{System}).
6565 @item
6566 Kill @strong{all} of your Cygwin processes, including all of your
6567 shells and all background processes. Use @code{ps -a} to list all the
6568 processes you need to kill.
6569 @item
6570 From a DOS prompt, run @file{ash} (@strong{not} @file{bash},
6571 @file{tcsh} or @file{zsh}). Do not try to be clever and @code{exec
6572 /bin/ash} from your last shell; it won't work.
6573 @item
6574 Type @code{/bin/rebaseall -v}.
6575 @end enumerate
6576
6577 The problem should now be fixed -- at least, until you install another
6578 Cygwin package with DLL's, in which case you may have to repeat the
6579 procedure.
6580
6545 @unnumberedsec 5.5: Multiple Device Support 6581 @unnumberedsec 5.5: Multiple Device Support
6546 6582
6547 @node Q5.5.1, Q5.5.2, Q5.4.5, External Subsystems 6583 @node Q5.5.1, Q5.5.2, Q5.4.6, External Subsystems
6548 @unnumberedsubsec Q5.5.1: How do I open a frame on another screen of my multi-headed display? 6584 @unnumberedsubsec Q5.5.1: How do I open a frame on another screen of my multi-headed display?
6549 6585
6550 Use the command @kbd{M-x make-frame-on-display}. This command is also 6586 Use the command @kbd{M-x make-frame-on-display}. This command is also
6551 on the File menu in the menubar. 6587 on the File menu in the menubar.
6552 6588