#addfile
Open (Alt-f,o)

Filemanager:
Name:
	Alt-n: switch to line were you can write a filename.
	Del,Backspace,C-h,C-u,left,right,home,end,C-a and C-e should work 
	if bed is well configured (see man bed for key definitions)
Files:
	Alt-f: switch to list of files. You can open one file by pressing 
	Enter. Use up and down to move between files.
Directories:
	Alt-d: switch to list of directories. Change to directory by 
	pressing Enter.

Tab,Alt-Tab and/or Shift-Tab can be used to jump between File,Directories and
Name.
#dosave
Save (Alt-f,s)

Save current file. 
#saveas
Save as (Alt-f,a)

Save currently active file to a file with another name. 
#rewrite
Refresh (Alt-f,r)

Rewrites screen. 
#selectprocedure
Procedures (Alt-t,p)

Listing of available procedures to bind to keys or use in plugins. 
You can press return on the name to run the procedure. 
Press F1 to get help about the procedure.
#selectdynprocedure
Dynamic (Alt-t,d)

Listing of available dynamic procedures (procedures defined in plugins) to 
bind to keys, place in menu or use in plugins. You can press return on 
the name to let it work. Press F1 to get help about a procedure.
#closethis
Close (Alt-f,c)

Close the current file. 
#quit
Exit (Alt-f,x)

Quit application. For all changed files you are asked to save it. 
#undo
Undo (Alt-e,u)

Undo last change. 
#redo
Redo (Alt-e,r)

After you have undone something with undo, you can redo it with redo.
#setselect
Select (Alt-e,s)

Turns selection on or of. 
#copyselect
Copy (Alt-e,c)

Copies selected part of the file to copy buffer. 
#pastselect
Past (Alt-e,p)

Past selection. 
#saveselect
Save selection (Alt-e,a)

Save selection or copy buffer. 
#replace
Replace (Alt-e,e)

Regular expression:  
	Use the GNU regular expression library to match a pattern 
	against the text (See man regex(7)). 
	In normal search the search string is first converted to bytes
	and then matched with the raw file content. With regex search the
	file content is first converted to the datatype before regex search.
	Sometimes different bytes have the same appearance in a datatype.
	In that case you should always search with regex checked,
	examples: Float, char2 and when filters like duplicate or skip 
	are applied.
Case sensitive: 
	When checked upper and lower case are treated distinctively.
Boundaries: 
	Multibyte datatypes can be aligned differently. For example a 4
	byte digit can start at offset 0,1,2 or 3 and that will give
	different 4 byte digits. Without checking Boundaries all will
	be returned. With Boundaries checked only bytes aligned in the
	same way as is now shown on the screen are returned.
Forward: 
	When checked the file is searched in the forward
	direction going from lower to higher offsets.  When not checked 
	the file is searched backward.
Edge file: 
	When checked the file is searched from the edge of
	the file. From offset 0 when searching forward, from end of
	file when searching backward.
Find:	Here you type the search pattern
Replace:
	At the place where the search string is found the 
	replacestring is placed. The replace string overwrites the data. 
	When Regular expression is checked you can insert the whole search 
	string by & or supexpressions by \1 \2 to \9. In the searchstring
	subexpressions are demarcated by \(pattern\).
List: 
	Generates a list of all hits. When compiled with
	CONFIG_THREADS=y you can go on editing while hits are marked
	so you can view them in marklist (Alt-k,l).
Ascii, Digit etc are when checked the current active datatype.
Base:
	Base of digit. E.g 16 for heximal. 
Nr bytes: 
	Gives the number of bytes each data item occupies. By
	some datatypes you can change this for example by unsigned integers. 
Reverse:
	Reverse bytes while transforming from datatype to bytes.
Set: 
	After changing datatype info (base,bytes,type) you press Return
	on Set to make this the search datatype.
Convert: 
	the same as Set in addition the current search string is converted.
Ok: 	search
Cancel:	Cancel
#extend
Extend file (Alt-e,x)

Make the file larger, adding zeros to the end of file. 
#truncate
Truncate (Alt-e,t)

Truncates file on the right of cursor. 
#repeat
Repeat nr (Alt-e,n)

Repeats command a certain number of times. 
#search
Search (Alt-m,s)

You can move through the dialog by pressing Alt in combination with a 
highlighted character, or by pressing Tab,Shift-Tab or Alt-Tab.
Press Shift to check options.
Standard you search within the currently active datatype, but
you can also use Ascii or Digit (unsigned integers) by selecting them,
specifying base and bytes and pressing Set.
Regular expression:  
	Use the GNU regular expression library to match a pattern 
	against the text (See man regex(7)). 
	In normal search the search string is first converted to bytes
	and then matched with the raw file content. With regex search the
	file content is first converted to the datatype before regex search.
	Sometimes different bytes have the same appearance in a datatype.
	In that case you should always search with regex checked,
	examples: Float, char2 and when filters like duplicate or skip are
	applied.
Case sensitive: 
	When checked upper and lower case are treated distinctively.
Boundaries: 
	Multibyte datatypes can be aligned differently. For example a 4
	byte digit can start at offset 0,1,2 or 3 and that will give
	different 4 byte digits. Without checking Boundaries all will
	be returned. With Boundaries checked only bytes aligned in the
	same way as is now shown on the screen are returned.
Forward: 
	When checked the file is searched in the forward
	direction going from lower to higher offsets.  When not checked 
	the file is searched backward.
Edge file: 
	When checked the file is searched from the edge of
	the file. From offset 0 when searching forward, from end of
	file when searching backward. If not checked searching starts
	at the current position.
Find:	Here you type the search pattern
List: 
	Generates a list of all hits. When compiled with
	CONFIG_THREADS=y you can go on editing while hits are marked.
	You can view the hits in marklist (Alt-k,l).
Ascii, Digit etc are when checked the current active datatype.
Base:
	Base of digit. E.g 16 for heximal. 
Nr bytes: 
	Gives the number of bytes each data item occupies. By
	some datatypes you can change this for example by unsigned integers. 
Reverse:
	Reverse bytes while transforming from datatype to bytes.
Set: 
	After changing datatype info (base,bytes,type) you press Return
	on Set to make this the search datatype.
Convert: 
	the same as Set in addition the current search string is converted.
Ok: 	search
Cancel:	Cancel
#nextsearch
Nextsearch (Alt-m,n)

Search again for the same search string. 
#gettopos
Position (Alt-m,p)

Ask for a file offset and jumps to this offset. 
Forward: 
	count up
Edge File: 
	If checked: count from begin (forward) or end (backward) file.  
	If not checked you count from the cursor position.
Boundaries: 
	If checked: In multibyte units the screen is aligned at the current 
	alignment (boundary) after changing position.
Position:
	Offset to jump to.
You can specify in what format to specify the offset. 
All: specify offset with 0x for hex and 0 for oct. Numbers not starting with 0
	are decimal numbers.
Hex,Dec,Oct: type of number without need to use 0x or 0 

#keymark
Make (Alt-k,m)

Set mark 
#tomark
Goto (Alt-k,g)

Goto mark. You are asked to type the corresponding key. 
#nextmark
Next (Alt-k,x)

Goto next mark 
#prevmark
Previous (Alt-k,p)

Goto previous mark. 
#showmarks
List (Alt-k,l)

Shows list of all marks. Press Return to jump to the file offset of the 
selected mark.
#deletemark
Delete (Alt-k,t)

Delete mark. You get an overview of current marks. Press return to delete
the currently selected mark.
#clearmarks
Clear (Alt-k,c)

Delete all marks.
#savemarks
Save (Alt-k,s)

Save marks to file.
#readmarks
Read (Alt-k,r)

Read saved marks.
#postotop
Top (Alt-i,t)

Moves file display so that the file offset at the cursor position 
is shifted to the upper left corner of the file display.
#beginfile
Begin file (Alt-m,b)

Goto the beginning of file. 
#endfile
End file (Alt-m,e)

Goto end of file.
#beginpage
Begin Pg (Alt-m,i)

To the top of page.
#endpage
End Pg (Alt-m,d)

Goto end of page 
#middlepage
Middle Pg (Alt-m, )

Goto the middle of the page. 
#nextmode
Next (Alt-d,n)

Goto the data type on the right of this data type. 
#prevmode
Prev (Alt-d,v)

Goto the data type shown on the left of current active data screen.
#removemode
Remove (Alt-d,r)

Closes data type screen part. 
#zoommode
Full (Alt-d,f)

Zooms current data type (For example ASCII). 
#addprev
Add Prev (Alt-w,d)

Adds previous file to the screen 
#addnext
Add Next (Alt-w,a)

Adds the next file to the screen. 
#prevfile
Prev (Alt-w,p)

Goto previous file. Zooming the file. 
#nextfile
Next (Alt-w,n)

Goto next file. 
#firstfile
First (Alt-w,f)

Goto the first opened buffer. 
#lastfile
Last (Alt-w,t)

Goto last opened file. 
#zoomwindow
Zoom (Alt-w,z)

Zooms current window 
#hidewindow
Hide (Alt-w,h)

Get opened file from the screen without closing it 
#listfiles
List (Alt-w,l)

List opened files. Press Enter to edit selected file.
#askbase
Offset (Alt-t,o)

Changes the file offset number type. Offsets can be shown as decimal,
hexadecimal or octal numbers. You can also turn of the display of
offsets.
#switchmessage
Messageline (Alt-t,m)

Hides or shows message line.
#switchmenu
Menu (Alt-t,u)

Hides or shows menu bar.
#switchcommand
Commandmode(on/off) (Alt-t,c)

Switches command mode on or off. In command mode procedures are bound
to normal characters as in pagers like 'less' and 'more' and in vi's 
command mode.
Some of less's and vi's keys are already bound in the configuration file.
If you like some more you should add them to the configuration file.
You can mail them to me if you like to help others.
#backchar
Left

Go back one character.
#beginline
Go to begin line (Home).
#endline
Goto end line (End).
#fileinfo
Show the name and size of file in the message line. (No key binding).
#firstmenuitem
Goto the first menu element. (Home).

Only applies within an opened menu. You have to put 253 immediately after
the keys keyword. So for example:

keys 253 1 = firstmenuitem

makes that within an opened menu contr-a jumps to the first menu item.
#lastmenuitem
Goto last menu element. See firstmenuitem for more information. (End).
#fromcommand
Turns command mode off.
#linedown
Down one line (Down).
#lineup
Up one line (Up).
#nextchar
Next character. (Right).
#nextmenu
Goto next opened menu. (Right). Only applies in the context of the menu.
See firstmenuitem for more information,
#nextmenuitem
Goto next menu item. (Down). See firstmenuitem for more information.
#nop
Does nothing.
#pagedown
Page down. (Pgdn).
#pageup
Page up. (Pgup).
#prevmenu
Goto previous menu. (Left). See firstmenuitem for more information.
#prevmenuitem
Goto previous menuitem (Up). See firstmenuitem for more information.
#tocommand
Turns command mode on.
#tosubscreen
Goto the data screen corresponding to the number you type after this command. 
0 is the first from the left, 1 the second etc. (No key binding).
#emptyfile
New (Alt-f,n)

Opens new document of size 1. 
You can enlarge the document with Alt-e,x.
#filedata
Fileinfo (Alt-f,f)

Displays information about current file.
#checkchanged
Modified? (Alt-f,m)

Checks if current file is modified by comparing changed parts with the
original file. 
#suspend
Shell (Alt-f,h)

Go to shell. Starts a new shell or uses suspend.

If a new shell is evoked, it uses the SHELL environmental variable 
to decide which shell to use. You can also set environmental
variables in beds configuration file (see manual).
#input
Input (Alt-e,i)

Modifies current data item. 
With this procedure you edit the current item and only after 
pressing Enter the modifications are inserted.
Certain datatypes you can't edit without this procedure (e.g.
Float and Time_t).
If you don't use this procedure, then the data item is converted to
and from binary format after every key you press.
#editdata
Edit (Alt-e,d)

Evokes text editor to edit selected data in active datatype.

If the environmental variable EDITOR is set to the full path 
of an editor that editor is used.
You can set environmental variables in beds configuration file 
with the following command:

setenv name [val]

Leaving out val means unsetenv.

See bed's manual page or bed -h for more information.
#select
Turn on or off selection. Selections can be copied and pasted, saved,
edited etc.
#saveshown
Save Shown (Alt-e,v)

Save selection in the active datatype as shown on the screen.
So the selected data is first converted to the active datatype and
then saved to a file.
#readshown
Insert shown (Alt-e,h)

Insert file content within active datatype. The content of the
file is interpreted as consisting of data in the active datatype.
#gotolastsearchpos
Not searched (Alt-m,o)

Jumps to file offset not yet searched. Useful if you interrupted
searching or are searching on the background and want to know
where search was left.
#nextitem
Next Item (Alt-m,x)

Moves one item forwards. Item is the active datatype unit.
#backitem
Back Item (Alt-m,a)

Moves one item backwards. Item is the active datatype unit.
#prevpos
Undo move (Alt-m,m)

Go to previous file offset.
#nextpos
Redo move (Alt-m,v)

Go again to file offset before undo move.
#scrollup
Up (Alt-i,u)

Scrolls file up. The second line is scrolled up to the  first line position.
#edscholldown
Down (Alt-i,w)

Scrolls file down. The first line is scrolled down to the second line position.
#scrollitem
Left item (Alt-i,l)

Shift left one item. The second item is shifted leftwards to the first item position.
#scrollbackitem
Right item (Alt-i,r)

Shift right one item. The first item is shifted rightwards to the second item position.
#scrollbyte
Left byte (Alt-i,f)

Shift left one byte. The second byte is shifted leftwards to the second byte position.
#scrollbackbyte
Right byte (Alt-i,g)

Shift right one byte. The first byte is shifted rightwards to the first byte position.
#makemode
Integer (Alt-d,i)

Create unsigned integer datatype. You can select bases from 2 to 36. 
The number of bytes per unit range from 1 to some unknown limit 
depending on hardware speed.
You can start a separate datatype or add a field to an existing
datatype.
In the last case where in the existing datatype the new field is 
placed depends on the cursor position:
- At the end of the existing datatype if the cursor is at the end of
  the screen
- At the beginning of the existing datatype if the cursor is at the
  beginning of the screen
- Otherwise at the place closest to the cursor.
- After the cursor position if the distances are equal
#naarASCII
Ascii (Alt-d,a)

Create ascii datatype.
No print: 
	character to show if byte is not printable.   
You can also decide which byte values are interpreted as printable
characters. Strict is ascii only, +161-255 adds byte value 161-255 
etc. 
It is possible to make units of more then one character.
The meaning of separete/add field is explained under Integer help.
#emptycontain
Empty (Alt-d,y)

Skip empty parts within a composed datatype.
Useful if a file contains records with parts you are not interested in.
#copymode
Clone (Alt-d,c)

Create a datatype that is identical to the active (sub) datatype.
#addSigned
Signed (Alt-d,s)

Create signed integer datatype. See Integer help for more information.
#addFloat
Float (Alt-d,o)

Create float datatype:
	4 bytes: float
	8 bytes: double
	12 bytes: long double

It is not possible to use normal search in the float datatype,
you need to use regex search. Normal search translates
the search string from the datatype format back to raw bytes and
searches for these raw bytes. This is not possible because float as
displayed has not a perfect precision so that that the float
that is displayed can correspondent to more then one raw byte array.
#addBitFlags
BitFlags (Alt-d,b)

Create bitflags. Give every bit a label which is shown if that bit
has value 1. 
Not char:
	If that bit is zero, the value of Not char is shown.
Add:
	Bit-label correspondences are assigned by typing a bit number after 
	Bit and the corresponding label after Label and pressing return on 
	Add.  Bits are numbered from 0 to (8*bytenr-1). With the lowest bit 
	having number 0.
	This creates a list of bit-label correspondences under Flags.
Flags:
	You can edit one such correspondence by pressing Alt-f followed by
	selecting the correspondence and pressing return. You change the
	Bit and label values and again press Return at Add.
Del:
	If you press on delete the selected correspondence is deleted.
Between:
	What to write between bytes. Default: nothing.
Order:
	When editing a file in bitflags every item is shown as some flags.
	If you want to set a certain flag you write the label. If order is
	set this is only possible if you are above the position of this
	label. If order is not set you can set the label at every position.
	Example:
	If the flags are zyx and order is set you can change --- in --x only
	by pressing x at position 0, without order you can press x
	also at position 1 or 2.
#bitfielder
Bitfield (Alt-d,e)

This is a record/struct in which you specify the number of bits
for every field. After making a bitfield around a datatype it works like
a normal composed datatype. You just add the other fields. 
You change the number of bits of a certain field by setting the cursor 
on that field and selecting again Alt-d,e but now you press 'Change Bits'.
Another way is to make the bitfield the active datatype by pressing Alt-y,t
(Parent) and then selecting Config (Alt-y,g).
#translate
Translate (Alt-d,l)

Translate assigns labels to values of another datatype. You can use it when numbers
have a certain meaning.
After selecting 'New' or 'Change':
Type:
	The To datatype is what is shown on the screen (usually Ascii).
	For certain values of the 'From' datatype you specify what should be 
	shown in the To datatype.
Add:
	After specifiying the To and From datatypes, you specify the From 
	and To values and press Add. 
Default:
	If there is no assignment Default is shown.
Assignments:
	After pressing Alt-g you can select a certain existing assignment.
	Pressing Return makes it editable, pressing Del deletes it.

After selecting 'Use;
	Select label and press return to insert this value.
#listtypes
List (Alt-d,t)

List of all datatypes. Use movement keys to select one of them and press 
Return to create it.
#reorderunit
Reorder (Alt-y,o)

One of the filters that is transforms the data when read from the file and
before interpreted by the datatype.
Reorders bytes within item. Unit gives the number of bytes to keep together.
If the bytes are 'abcdef', reorder with unit=1 gives 'fedcba', with unit=2 
gives 'efcdab', with unit=3 gives 'defabc'.
#duplicate
Duplicate (Alt-y,i)

Useful if you like to use the same data more than once in a composed
datatype. It acts like an union in c. 
Filter that duplicates bytes before being interpret by the active (sub-)
datatype. You have to specify how many times it is duplicated (dubnr).
The active (sub) datatype consists of a certain number of bytes (size).
usenr=(size/dubnr) gives the number of bytes used for every item.
dubnr times the same usenr bytes are appended and given to the datatype.
Example:
You use ascii/4 (ascii consisting of 4 bytes). You say duplicate 2 
and the file consists of abcdefghijkl.
Before applying the filter this was displayed as abcd efgh ijkl.
After applying the duplicate filter it becomes abab cdcd efef ghghe ijij klkl.
#addskip
Skip (Alt-y,k)

Filter to skips a certain number of bytes.
You have to specify after how many bytes and how many bytes are to be
skipped. This is then repeatedly applied to every unit of the active (sub-)
datatype.
Example:
The active datatype is ascii/4. The file contains 'abcdefghijkl'.  
abcd efgh ijkl is displayed. 
Applying Skip with After=2 and Skip=1 gives: abde ghjk.
After ab c is skipped after de f is skipped and after jk l is skipped.
It is not possible to use normal search in a datatype were Skip is
applied. You need to use regex search. Normal search translates
the search string from the datatype format back to raw bytes and
searches for that string. This is not possible when Skip is applied
because one search string can correspondent to more then one
raw content bytes string.
#rmlastfilter
Rm filter (Alt-y,m)

Removes last filter (Reorder, Duplicate, Skip or some other filter
defined in a plugin).
#repeatcontain
Repeat (Alt-y,p)

Repeats active (sub-)datatype a certain number of times. It behaves the same
as a composed datatype with multiple version of the current active (sub-)
datatype.
#datatypeconfig
Config (Alt-y,g)

Modify parameters of active (sub-) datatype. Things like number of bytes
and the base of Integers.
#dataconfig
Misc (Alt-y,s)

Modify some general display parameters of datatype. 
Label: 
	Name for datatype shown on the message line
Apart: 
	number of spaces between items of this datatype
Spaceafter: 
	number of spaces between this datatype and an other datatype 
	or the offset numbers.
Conf:
	Configuration string every datatype has. Usually you don't need
	to change this.
#savedatatype
Write Type (Alt-y,w)

Save datatype to file so you don't have to recreate complex datatype  
everytime you need them.
#readcontain
Read Type (Alt-y,d)

Read saved datatype. So that the current file is displayed in that format.
#record
Record (Alt-t,r)

Start recording. Keystrokes are recorded until you press C-t. You
can save recorded keystrokes to replay them at some other moment.

Take notice of the fact that RAW keystrokes are saved. This means that
the recorded keystrokes are very unportable. They are not portable between
operating systems but also not portable between terminals and configurations.
What's is recorded within xterm does not nessesarily work with rxvt or
with linux console. You can use more portable keystrokes by using
only Alt-char and Control-char keys. The movement and function keys are
very unportable and also combinations of Alt or Control that make use of
non alphabetic characters.
#saverecord
Save Recorded (Alt-t,s)

Save recorded keystrokes to file.
#playkeysfile
Play file (Alt-t,y)

Play saved keystrokes (recorded with Record). 
The program runs like the keystrokes are pressed by the user, except when 
other programs are evoked from bed.
#playrecord
Play Recorded (Alt-t,a)

If you have recorded keystrokes after program startup you can play them
off with this procedure.
#opendynlib
Load plugin (Alt-t,l)

Load plugin in program. The plugin can contain datatypes or procedures.
Procedures you can view under Dynamic (Alt-t,d), datatypes under Alt-d,t.
#showprocedure
Key binding (Alt-t,k)

Shows procedure in menu or binded to key sequence. 
You are asked to press the keys you want to know the procedure off.
Within menus you can only use a key and not movement keys to go to the
procedure you are interested in.

Beside the procedure it is shown what you need to write in the
configuration file to declare this key/menu-procedure binding.

Examples 
After Alt-t,k, you press F12 and get
	keys 27 91 50 52 126 = makeselection

The procedure is makeselection which is bounded to escape 
sequence: 27 91 50 52 126
If you like to bind makeselection to an other key sequence you
press after Alt-t,k, the keys you want to bind it to, 
for example C-a and replace '27 91 50 52 126' with what you found there
for example 1. So add keys 1 = makeselection to the end of ~/.bedrc

After Alt-t,k you press Alt-f,x and get

menuitem 0 "E~xit" "M-x" 12  = quit

Procedure quit is bounded to a menuitem. The menu item is in menu 0
(the first menu) has label 'E~xit' and had keylabel 'M-x' and is the
twelves menuitem in the menu (starting with 0 and counting empty places).

If you like to change to name from 'E~xit' to '~Quit' you can add
menuitem 0 "~Quit" "M-x" 12  = quit 
to the end of ~/.bedrc

See the bed manual page for more details about assigning procedures
to menu items and keys.
#newcontain
Sub (Alt-y,u)

With this function you can create a composed datatype within another
composed datatype. First make a element of a composed datatype
the active datatype and then use this function (Alt-y,u).
To make a sub composed datatype around the active datatype.
After this you can add more datatypes, to this sub composed datatype, 
by using the "Add field" option while starting a new datatype or 
by using Alt-y,r. New datatype created with add field
are always added to the lowest composed datatype in which the active
datatype is contained. The message line shows what datatype is active.
Use Alt-y,t and Alt-y,c to change to the datatype
this datatype is contained in and back again. You can also make the
composed datatype the active datatype by placing the cursor between
two of it's member (child) datatypes.
Subcomposed datatypes can be useful if you want to use a filter for only
a subset of the members of a composed datatype.
For example a file consists of records of three ascii strings and you
like to exchange the position of the first two strings.
After creating three ascii strings of 10 in one record (composed datatype),
you set the cursor on the first field and press Alt-y,u. This
makes a subcomposed datatype around this field. To add the second field
to this composed datatype you set the cursor at the second field and
press Alt-y,r. Now you set the cursor between the first two 
fields (or you press Alt-y,t) and you reorder with unit 10 using 
Alt-y,o.
#stretchcontain
Stretch (Alt-y,r)

Used to handle nested composed datatypes (made with Alt-y,u).
If you have made a composed (struct/record) datatype for 
example: {{a,b,c},d,g}
Here the letters are datatypes and {..} is one composed datatype.
{a,b,c} is a nested (or sub) composed datatype.
If you put the cursor on d and apply this function, you can add d to
this sub composed datatype. So you get then {{a,b,c,d},g}.
#levelout
Levelout (Alt-y,v)

Applies if active datatype is a composed/record datatype.
With this function the composed datatype is removed so that the item(s)
endup at a higher level.
It can be used in two cases:
	1. a nested composed;
	2. a composed containing only one datatype.
#uplevel
Parent (Alt-y,t)

Parent datatype. Make active datatype the datatype in which the current
datatype is contained. 
#downlevel
Child (Alt-y,c)

If applied to a composed datatype, this makes the current active datatype
the member of the composed datatype the cursor is on.
#goto1
Goto the first open file.
#toclipboard
Puts selection in active datatype in MS Windows clipboard.
#pastclipboard
Insert MS Windows clipboard in active datatype.
#selectdisk
Disk (Alt-f,d)

Edit raw data of floppies and hard disks.
This way you can handle the whole disk like a large file.

If you save something to a hard disk you should keep in mind that
bed saves by blocks (probably 4096 bytes). This can lead to problems
when some other process changes the hard disk close to the change you
made. In this case by saving what you changed, you will also  
save some old data at the place the other program had changed something.
So make absolutely certain that no other process could possibly have 
changed something around the place you change during the editing.

Under Linux, FreeBSD and Windows NT bed makes use of some standard
interface for raw disk access. Under windows 95 you need to use 
some undocumented thunk to a win16 dll to use the DOS Protected Mode 
Interface to execute a BIOS interrupt. So if you use Windows 95 backup
all your hard disks before opening a disk.

Under win95 you shouldn't give too much trust to the specified  
disk size. What the bios says is not exactly right and sometimes 
totally wrong (when using a large harddrive with an old bios).
Returned floppy sizes are mostly right so bed takes over the bios value
if -w is not specified at startup.
To determine the real harddisk size bed uses some ad hoc heuristic
while trying how far it can can read. The problem is that at very
large offsets the bios disk read interrupt returns SUCCESS again, 
so you have to try larger, but not too large offsets. 
At my computer reading a HD floppy at offset 2948608 fails, but reading 
at offset 5120000 succeeds. A DD floppy fails at 1474048 but succeeds at 
2948608. If the size seems to be wrong try to determine it and specify it
with the -d option at startup. Bed saves the disksize so you have
to specify it only once (within regedit at HKEY_LOCAL_MACHINE
SOFTWARE\Bed\hardisks).
