[Pkg-jed-commit] r285 - trunk/packages/jed/debian
Guenter Milde
milde-guest at costa.debian.org
Tue May 16 14:27:40 UTC 2006
Author: milde-guest
Date: 2006-05-16 14:27:39 +0000 (Tue, 16 May 2006)
New Revision: 285
Added:
trunk/packages/jed/debian/README.Debian
Removed:
trunk/packages/jed/debian/jed-common.README.Debian
Log:
A common README.Debian for jed, jed-common, and xjed.
Copied: trunk/packages/jed/debian/README.Debian (from rev 282, trunk/packages/jed/debian/jed-common.README.Debian)
Deleted: trunk/packages/jed/debian/jed-common.README.Debian
===================================================================
--- trunk/packages/jed/debian/jed-common.README.Debian 2006-05-16 14:26:48 UTC (rev 284)
+++ trunk/packages/jed/debian/jed-common.README.Debian 2006-05-16 14:27:39 UTC (rev 285)
@@ -1,140 +0,0 @@
-============================================================================
- Readme for the Debian Jed packages
-============================================================================
-
-Jed (http://www.jedsoft.org/jed/) is a highly customizable editor for
-programmers by John E. Davis. Small, fast and mighty. Extensible in the
-C-like S-Lang language.
-
-Jed for debian comes in four packages
-
- jed console version of Jed
- xjed stand-alone X application
- (failsave: falls back to console app if DISPLAY is not set)
- jed-common Files used by both jed and xjed
- jed-extra User provided extensions, mainly from http://jedmodes.sf.net/
-
-Jed was debianized by Charl P. Botha and is now maintained by
-the Debian JED Group.
-
- http://pkg-jed.alioth.debian.org/
- email: <pkg-jed-devel at lists.alioth.debian.org>
-
-
-Particular features of Debian Jed
-=================================
-
-
-Startup scheme
---------------
-
-Debian Jed's startup scheme provides for startup code from other packages.
-Instead of a config file, we use a config directory: At startup, Jed will
-evaluate all "*.sl" scripts in /etc/jed.d/. The sysadmin can modify or add
-files in /etc/jed.d/ for site-wide configuration.
-
-See README.Debian-startup for details.
-
-
-Jed_Home_Directory
-------------------
-
-Debian Jed supports a per-user "~/.jed/" application directory in accordance
-with the file hierarchy standard (FHS 2.3). However, Jed will not create
-such a directory. Users are encouraged to create the directory ".jed/" in
-their home directory. It will become the `Jed_Home_Directory'
-where personal jed-related files are assumed to be found, e.g.
-
- jed.rc user startup configuration (move the jed.rc from the
- examples/ here and modify to your needs)
- .jedrecent last opened files (autogenerated by recent.sl)
- lib/ personal extension scripts (home-made or downloaded)
- Add to the jed library path in jed.rc with
-
- set_jed_library_path(path_concat(Jed_Home_Directory, "lib")
- + "," + get_jed_library_path()
-
- templates/ optional dir for templates (with jed-extra)
-
-
-ATTENTION: If a user has a "~/.jed/" directory, Jed will not find a
-"~/.jedrc" startup file. The user must move an eventually existing
-"~/.jedrc" to "~/.jed/jed.rc". ("~/.jed/.jedrc" is still found but
-deprecated.)
-
-
-Some frequently asked questions
--------------------------------
-
-(see also txt/jed_faq.txt.gz)
-
-Q: When running Jed in an xterm, alt is not sending meta (and meta is not
- sending escape) so that alt-f and alt-b e.g. don't skip words forwards and
- backwards respectively.
-A: According to Thomas Dickey (do a google search to see that there is NO
- arguing here :) this is normal for xterm. To have alt "work", add
- 'xterm*metaSendsEscape: true' to your .Xresources (or equivalent) and
- make sure 'xmodmap -e "keysym Alt_L = Meta_L Alt_L"' is executed
- somewhere at X-startup (modify e.g. ~/.Xmodmap).
-
-Q: When I paste text into Jed, it misaligns everything (i.e. every succeeding
- line is indented more than the previous, yielding horizontally cascading
- text).
-A: In Jed, carriage return is bound to `newline_and_indent'. While this
- auto-indention is a great help in normal editing, it stands in the way
- when text is pasted via the mouse. Unfortunately, Jed cannot tell whether
- its input comes from a keyboard, another program, or the mouse (XJed can).
-
-Q: How can I prevent this?
-A0: Use xjed.
-A1: Use the `paste' function
- 1. M-x paste (or bind "paste" to a key)
- 2. Now paste your text...
-A2: Temporarily change the keybinding by doing:
- 1. M-X local_setkey("newline","^M") (Alt-Shift-X: the S-Lang prompt)
- 3. Now paste your text...
- 4. M-X local setkey("newline_and_indent","^M")
-A3: Bind "newline_and_indent" to a different key. In jed.rc do e.g.:
- setkey("newline_and_indent", "\e^M"); % Key_Alt_Return
- setkey("newline", "^M");
-A4: Use the fact that Jed can tell whether there is input pending after the
- carriage return. Define in your jed.rc (or any other file evaluated at
- startup):
- public define newline_indent ()
- {
- if (input_pending(0))
- newline();
- else
- call ("newline_and_indent");
- }
- setkey("newline_indent","^M");
- On a slow terminal (remote login or heavy load) this might fail by
- non-indenting after fast typing of CR and the first character of the new
- line.
-
-Q: TAB does not generate a TAB! Why?
-A: Please see /usr/share/doc/jed-common/jed_faq.txt.gz, question #13.
-
-Q: I expected Jed to make a difference between a single '/' and multiple '/'
- in pathnames - e.g. '/usr//bin/' is *not* equal to '/usr/bin/' ! Why?
-A: According to John E. Davis, the author, this is like Emacs behaves, too.
-
-Q: I have a colour scheme which does NOT modify the background and
- foreground colours, yet Jed is still changing this, thus overriding the
- default colours of the terminal it's running in. What's wrong?
-A: If you're only using set_color() calls but never call set_color_scheme(),
- Jed automatically calls set_color_scheme() with the
- _Jed_Default_Color_Scheme. So, to fix your problem, put
- "_Jed_Default_Color_Scheme = NULL;" in your ~/.jedrc.
-
-Q: Why is jed linked against libncurses when it uses slang?
-A: Because it has GPM mouse support and these libraries need ncurses.
-
-Q: The configuration files seem somewhat confusing to me. Can you explain?
-A: See /usr/share/doc/jed-common/README.Debian-startup
-
-
-.. Copyright (c) 2006 the Debian JED Group
- Released under the terms of the GNU General Public License (ver. 2 or later)
-
- Last update 2006-05-16 Guenter Milde
More information about the Pkg-jed-commit
mailing list