Published on
July 15, 2005 in
Linux.
I had the task of a simple FTP file transfer from a Mainframe to the development box. Easy enough, until I discovered the horrors of EBCDIC. Anyways, the UNIX tool dd converts one file type to another. To convert from EBCDIC to ASCII, set the conv=ascii parameter.
The problem with this is that the file I have are fixed length records. When specifying the record length, dd goes and trims the trailing spaces off each record. To fix this:
dd conv=ascii if=[in file] | fold -w[record length] > [out file]
Published on
April 11, 2005 in
Linux.
Note: This guide was based on Ubuntu 5.04.
Step 1: X Server Settings
Edit the /etc/X11/xorg.conf file and look for the “InputDevice” section, make sure it looks like this:
Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”
Option “Device” “/dev/input/mice”
Option “Protocol” “ExplorerPS/2″
Option “Buttons” “7″
Option “ZAxisMapping” “4 5″
EndSection
Make sure that the ‘Buttons’ is ‘7′, ‘Protocol’ is ‘ExplorerPS/2′, and ‘ZAxisMapping’ is ‘4 5′.
Step 2: Install imwheel
Type:
sudo apt-get install imwheel
Reboot, and it should work!