/etc/jove/jove.rc is in jove 4.16.0.73-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | # This standard system-wide initialization file provides various
# reasonable defaults. However, it is probably best seen as a starting
# point, with examples of interesting possibilities, from which
# sysadmins can hack their own versions.
pushlibd
# This macro deletes the line containing the cursor.
# It is used in several of the jove.rc.TERM files and is intended
# for binding to the delete-line key on terminals which have it.
# It is placed in the kill ring for subsequent yanking.
define-macro kill-line ^[xbeginning-of-line^M^[xset-mark^M^[xnext-line^M^[xkill-region^M^[xpop-mark^M
# This macro sets a right margin, used below for setting a maximum row length.
define-macro nice-right-margin ^[xset right-margin 70^M
# Set fill mode when Jove is fired up automatically by certain
# mail/news readers.
1 auto-execute-command auto-fill-mode /tmp/\{Re\|article\|rnmail\|snd\.\|nn\.\|post\|mutt\|pn\}
# Set right margin for mail, to prevent long lines.
1 auto-execute-macro nice-right-margin /tmp/\{Re\|article\|rnmail\|snd\.\|nn\.\|post\|mutt\|pn\}
# The following is if you prefer fill-mode to be on for all
# files except the ones you want it off for (but on the other hand it could
# be argued that defaults in editors should be the "least surprising"
# alternative).
# Sets auto-fill-mode for every file and then turns it off as required.
# 1 auto-execute-command auto-fill-mode .*
# 0 auto-execute-command auto-fill-mode .*\.[lcChyfp]$\|.*\.lisp$\|.*\.pl$\|.*\.scm$\|.*\.c++$
# set various language modes.
1 auto-execute-command c-mode .*\.[cChy]$\|.*\.c++$\|.*\.pl$
1 auto-execute-command lisp-mode .*\.l$\|.*\.lisp$\|.*\.scm$
# all the languages need show-match-mode.
1 auto-execute-command show-match-mode .*\.[lcChyfp]$\|.*\.lisp$\|.*\.scm$\|.*\.c++$\|.*\.pl$
# if you have job control, this puts Jove out of the way temporarily.
bind-to-key pause-jove ^[S
bind-to-key pause-jove ^[s
# This is for the shell window. Supports sh, csh and ksh.
set process-prompt ^[^%$#]*[%$#]
# The following apply to shell windows. Note the use of ^C^C, ^C^D etc.,
# thus leaving ^D available for delete-next-character.
# This conforms to current emacs usage.
process-bind-to-key interrupt-process ^C^C
process-bind-to-key eof-process ^C^D
process-bind-to-key quit-process ^C^\
process-bind-to-key stop-process ^C^Z
process-bind-to-key dstop-process ^C^Y
# This makes the arrow keys work on most terminals.
bind-to-key previous-line ^[[A
bind-to-key next-line ^[[B
bind-to-key forward-character ^[[C
bind-to-key backward-character ^[[D
bind-to-key previous-line ^[OA
bind-to-key next-line ^[OB
bind-to-key forward-character ^[OC
bind-to-key backward-character ^[OD
# An alternative modeline with better usage of the space.
set mode-line %[Jove%]%w%w%c(%M)%3c[%b:%n]%2c"%f"%c%i# %m*-%2c%p%2s%(%d%e(%t)%)
# Modern terminals do not need ^S/^Q for flow control.
# The exceptions (e.g. vt100) should turn it off again in jove.rc.TERM.
set allow-^S-and-^Q on
# Ancient UNIXes can mess up the screen with biff when mail arrives.
# It does no harm to turn this on anyway.
set disable-biff on
# This causes the previous file version to remain as '#filename~'.
# set make-backup-files on
if sh -c 'test ! -f $HOME/.joverc'
source jem.rc
auto-execute-command delete-other-windows .*/teach-jove
endif
# source any TERMinal-specific rc file
1 source jove.rc.$TERM
# source local custom rc file, if present
1 source /etc/jove/jove-local.rc
popd
|