Sat Aug 18 2001: Reported to run on iPAQ by Paul-Kenji Cahier. Thanks for the screenshots. Sat Aug 18 2001: I got the pipes working. You can run a simple shell-command, but not shell-command-on-region. This has to be emulated. Ange-FTP works with my ftp port. My grep port works. Mon Aug 20 2001: Reported to run on HP548 by Ray Grout. Thanks for the screenshots. Mon Aug 27 2001: New builds with celib.dll support inferior subprocesses. Available for download. Sat Sep 01 2001: Fixed pipe problems in celib.dll. Please download the lastest celib.dll build (3.02). Sat Sep 01 2001: Ispell works. Mon Sep 03 2001: Old builds have been removed. Mon Sep 24 2001: CreateProcess() problem with spaces in path fixed in celib.dll 3.04. Download new celib.dll. Tue Oct 02 2001: A fixed version of ange-ftp is available for download. Mon Oct 15 2001: Build 2.01 automatically resizes on PPCs when SIP is activated/deactivated. Also has some dialogs built-in. Problems with keys on iPAQ can be fixed with a key.txt file. Download the emacs-wince-xxx-build-2.01 package and maybe cedialogs-1.01 (needed for my custom file choose dialog). Sun Dec 23 2001: Build for ARM/HPC/WCE211. Reported to run on J820. Use (setq w32-enable-palette nil). Tue Jan 08 2002: Experimental build with menus. Set EMACSMENU in Environment to "1" for PPC and "2" for HPC. On PPC, the standard menubar is used. Setting EMACSMENU to "1" for HPC uses the commandbar as a child window, which hides the edit buffer. Fixing Emacs to use the commandbar as a child window is very difficult, so I decided to use a top level window for the menu. This is not beautiful but better than nothing. The main drawback is that you have to activate the menu via the taskbar. Wed Mar 20 2002: Fixed mouse selection bug in xbuild-2.03.
(set-frame-font "-*-Courier New-normal-r-*-*-10-*-*-*-c-*-iso8859-1")
(global-set-key [C-tab] 'execute-extended-command)
#/emacs/bin/emacs.exe -geometry 38x22They don't have a terminating new-line!
cereg -k HKLM\Environment -n COMPUTERNAME -v jornada720
cereg -k HKLM\Environment -n EMACSDATA -v \emacs\etc
cereg -k HKLM\Environment -n EMACSDIR -v \emacs
cereg -k HKLM\Environment -n EMACSDOC -v \emacs\etc
cereg -k HKLM\Environment -n EMACSLOADPATH -v \emacs\lisp
cereg -k HKLM\Environment -n EMACSPATH -v \emacs\bin
cereg -k HKLM\Environment -n HOME -v \keuchel
cereg -k HKLM\Environment -n PATH -v \bin
cereg -k HKLM\Environment -n SHELL -v none
cereg -k HKLM\Environment -n TEMP -v \tmp
cereg -k HKLM\Environment -n TMP -v \tmp
cereg -k HKLM\Environment -n TMPDIR -v \tmp
cereg -k HKLM\Environment -n USERNAME -v keuchel
cereg -k HKLM\Environment -n UNIXROOTDIR -v \
Limited support for subprocesses has been added. Emacs builds where
(wce-get-version) reports 2.0 or greater support it.
Only programs linked
with my new celib.dll can run as subprocesses. There are currently grep,
ftp, find and some other command-line tools available. gcl and scm are
also supported.
For shell-command and grep, you need my xsh program, which is a simple shell dummy. It does not support any shell stuff except executing a simple commandline (no variables, pipes, redirection etc). Copy xsh.exe to your bin directory, which must be in PATH.
You should add the following lines to .emacs:
(setq default-process-coding-system nil) (setq shell-file-name "xsh") (setq shell-command-switch "-c") ; when not set, find is called, which might give an error (setq grep-command "grep -n ")
Note that default-process-coding-system seems to be reset
when you call comint-run for the first time. I have not
yet checked why this is so.
For using ange-ftp, download ange-ftp.tar.gz. The "help foo" command has been commented out.
Be sure that you don't overwrite celib.dll with older versions. You need at least version 3.01. You can check this in Explorer on your PC. You should use version 3.04 which fixes some problems with 3.01.
Interactive subprocesses sometimes produce error messages that say that output cannot be written to the process. Please report this if it still happens.
Output from grep is currently a bit slow, compared with output from ls. Maybe the output from grep is unbuffered. I have not checked this yet.
shell-command-on-region is not supported. The original implementation passes a real filehandle to the subprocess, which is not supported on WinCE. I might try to rewrite this using a thread that writes to a pipe. For frequently used shell-command-on-region stuff you may write a lisp function that makes the program read from a file instead of stdin.
(setq w32-enable-palette nil).
shell-command. When xsh
is in a directory with spaces, it does not work. To work-around this,
copy xsh to bin in your root path and make /bin the first dir in your
PATH setting. Other commands that are called by xsh *can* be stored in
a directory with spaces (like /Storage Card/bin). Download celib.dll
3.04 or later to fix problems with spaces.
emacs-wince-all-platforms.tar.gz contains common files (lisp etc)
emacs-wince-arm-hpc-wce300.tar.gz
emacs-wince-arm-hpc-wce211.tar.gz
emacs-wince-mips-hpc-wce211.tar.gz
emacs-wince-sh3-hpc-wce211.tar.gz
emacs-wince-mips-hpc-wce200.tar.gz Needs msvcrt.dll. Not tested.
There are binary updates available. Look for emacs-wince-xxx-xbuild-xxx in dirlist.
Lisp Files
ARM/HPC/WCE300
SH3/HPC/WCE211 (old dist)
SH3/HPC/WCE211 (exe update only)
MIPS/HPC/WCE211 (old dist)
MIPS/HPC/WCE211 (exe update only)