Editing Binary Files

jed may edit binary files as long as the proper precautions are taken. On IBMPC systems, this involves calling the S-Lang function set_file_translation with an integer argument. If the argument is 0, files are opened as text files; otherwise, they are opened in binary mode. There is no need to call this function for other systems. However, beware of the user variable ADD_NEWLINE which if non zero, a newline character will be appended to the file if the last character is not a newline character. If you are going to edit binary files, it is probably a good idea to set this variable to zero.