SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files
                  BBBB                d 
                  B   B               d 
                  B   B    eee     dddd 
                  BBBB    e   e   d   d 
                  B   B   eeeee   d   d 
                  B   B   e       d   d 
                  BBBB     eee     dddd 

For a short description see ./description. For more documentation look at the manpage (zcat doc/bed.1.gz|nroff -man|less).

Before compiling you should have installed ncurses development library (library + headers) and X11 windows development library if you want to exchang selection and clipboard content with X programs.

If you want to compile press first:

./configure

This generates ./config (take a look at it and edit it if needed) Now press:

make dep;make

To install it you should become root and type

make install

Press bed or xbed to start the program.

Sometimes problems with the screen or keys are solved by copying another terminfo file to /usr/share/terminfo/x/xterm or setting TERM to another value. For example, in my variant of Redhat 7.1 and ncurses-5.2, Konsole 1.0.1 gives a messed up screen when paging with
TERM=xterm bed /dev/hda
gnome-terminal 1.2.4 makes paint errors with TERM=xterm both are solved by using TERM=rxvt
For if you don't have this terminfo file, you can copy it from /usr/share/bed/r/rxvt to TERMINFO/r/rxvt. (TERMINFO is you terminfo dir, something like /usr/share/terminfo).

If the coloring is terrible you can try black and white only with "bed -B". If this is o.k. you can try to edit ~/.bedrc (copy from bedrc) to change the color names.

If you use a different configuration from me, some keys possibly don't work.

If you Alt-key combinations don't work, there is probably some misconfiguration of you operating system, Xwindows or the xterminal 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. In my Debian 2.2R6 installation in xterm and rxvt the alt keys don't work. But after the following commands the Alt keys worked in newly created rxvt's but not in xterm's:

        xmodmap -e "keycode 115 = 0x6a1"
        xmodmap -e "keycode 116 = 0x6a2"
        xmodmap -e "keycode 117 = 0x6a3"
        xmodmap -e "keycode 22 = BackSpace"
after adding
        xmodmap -e "keysym Alt_L = Meta_L Alt_L"

the Alt keys also worked in newly created xterm's. Yes Linux isn't as popular as MS windows because of it's difficult user interface.

The following only applies to function keys other then Alt or Control combinations.

If you use Linux console and you are using a diffent keyboard translation table then me, you can use ./bedkeys instead of bed. It saves the current translation table, loads my keyboard table and after termination of bed reloads the old table again (this keyboard table is shared by all virtual consoles).

You can also modify how bed interprets keys (see man bed). With Alt-t,k you can view the current keybinding and how to describe a key combination.

The missing keybinding of bed as mentioned in it's menu can be set by pressing:

bed -k

If keys are disabled by the keyboard translation tables this will not work. It will also not work if you keyboard translation tables have codes bound to a different key. In that case you can possibly remove the old key defintions out of ~/.bedrc.

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 an other variable place it below a different "context var val" statement (see man 1 bed).

If something is unclear or wrong send me a mail or SMS. I don't waste my time with email.

SMS: +31618329514

Mail:

        J. Korthals Altes
        Onnemaheerd 62
        9736 AP Groningen
        The Netherlands


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.