"Fossies" - the Fresh Open Source Software Archive
Member "bed-3.1.1/README" (20 May 2021, 4203 Bytes) of package /linux/misc/bed-3.1.1.src.tar.xz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard
) with prefixed line numbers.
Alternatively you can here view
the uninterpreted source code file.
3 BBBB d
4 B B d
5 B B eee dddd
6 BBBB e e d d
7 B B eeeee d d
8 B B e d d
9 BBBB eee dddd
11 For more documentation look at the manpage (cd doc;make bed.1; cat bed.1|nroff -man|less).
13 Before compiling, you should have installed gcc, g++, make, libncurses?-dev, libmagic-dev (file-devel) and lynx.
14 If you want to exchange selection and clipboard content with X programs, you should install the X11 windows development library.
15 If you like to use google's libre2 and/or Intel's hyperscan (https://github.com/intel/hyperscan) regex besides GNU regex, you should install
16 their development version.
18 If you want to compile press first:
20 bash ./configure
22 When cross compiling add --host=host-type (when host-type-gcc, host-type-g++ and host-type-strip are in your path), to make bed run on host host-type
25 You can give CFLAGS CXXFLAGS and LDFLAGS values like -m32 or -D__ANDROID_API__=17
28 bash ./configure --host=arm-linux-androideabi CFLAGS=-D__ANDROID_API__=17
30 bash ./configure CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32
33 You can also define these values in ./settings which is read by ./configure
36 This generates ./config (you can edit it if needed e.g. set CONFIG_DEBUG to turn on debug information)
38 Now press:
40 make dep;make
42 To install it you should become root and type
44 make install [DESTDIR=path]
46 DESTDIR=path, treats path as the root directory of the installation. This can be used to make a (tar/zip) archive to transfer the program to another computer.
48 Press bed to start the program.
50 If you are running bed in gnome-terminal you should disable gnome-terminal catching your keystrokes by Edit->Keyboard shortcuts-> Disable all menu access keys.
52 Sometimes problems with the screen or keys are solved by copying another
53 terminfo file to /usr/share/terminfo/x/xterm or setting TERM to another value.
55 If the coloring is terrible you can try black and white only with "bed -B". If this is OK, you can try to edit ~/.bedrc (copy from bedrc) to change the color names.
57 If you use a different configuration from me, some keys possibly don't work.
59 If your Alt-key combinations don't work, there is probably some misconfiguration of your operating system, X windows or the x terminal you are using. Try other terminal programs and system environments to find out were the problem is located and read its manual or ask someone in the IRC how to change it.
61 In my Debian 2.2R6 installation in xterm and rxvt the alt keys didn’t work.
62 But after the following commands the Alt keys worked in newly created rxvt's
63 but not in xterm's:
64 xmodmap -e "keycode 115 = 0x6a1"
65 xmodmap -e "keycode 116 = 0x6a2"
66 xmodmap -e "keycode 117 = 0x6a3"
67 xmodmap -e "keycode 22 = BackSpace"
68 after adding
69 xmodmap -e "keysym Alt_L = Meta_L Alt_L"
70 the Alt keys also worked in newly created xterm's.
71 Yes Linux isn't as popular as MS windows because of its difficult user interface.
73 The following only applies to function keys other than Alt or Control combinations.
75 If you use Linux console and you are using a different keyboard translation
76 table then me, you can use ./bedkeys instead of bed.
77 It saves the current translation table, loads my keyboard table and
78 after termination of bed reloads the old table again (this keyboard table is shared by all virtual consoles).
80 You can also modify how bed interprets keys (see man bed).
81 With Alt-t,k you can view the current keybinding and how to describe a key combination.
83 The missing keybinding of bed as mentioned in its menu can be set by pressing:
85 bed -k
87 If keys are disabled by the keyboard translation tables this will not work.
88 It will also not work if you keyboard translation tables have codes bound to a different key. In that case you possibly can remove the old key definitions out of ~/.bedrc.
90 The new key bindings will be applied if the TERM variable has the same value as now. If you want to make it dependent on another variable, place it below a different "context var val" statement (see man 1 bed).
92 If something is unclear or wrong send me an email.
94 Jaap Korthals Altes <firstname.lastname@example.org>