| United States-English |
|
|
|
![]() |
HP Servers and Workstations: Managing Systems and Workgroups > Chapter 2 Planning a WorkgroupPossible Problems Exchanging Data Between HP-UX and PCs |
|
No matter how you share data between HP-UX systems and PC’s, there are several important things you must consider related to operating system and computer architecture:
Whenever you exchange data between Microsoft operating systems, Apple Macintosh operating systems, and HP-UX systems, you might run into problems related to the different ways each of these systems determines the end-of-line (EOL) condition in ASCII text files. The following table shows which characters each of the operating systems use to determine the end of lines in an ASCII text file: Table 2-10 Operating System End-of-Line Characters
Many file transfer utilities automatically translate the end-of-line characters for you, but it is possible that you will see one or more of the following problems:
If you see any of the above symptoms, the solution is to edit the offending file using an editor or word processor and change the end-of-line characters in your ASCII file to what your operating system is expecting (see Table 2-10 “Operating System End-of-Line Characters”). Though you
are less likely to encounter this problem than the end-of-line character
problem, and though many utilities and programs are written to automatically
account for differences in the endian types of varying machines,
you might encounter files that appear to be corrupt on one architecture
yet appear to be fine on another. This will most likely occur when
sharing a file system between computers of differing endian architectures
(such as when using NFS mounts, or Network Operating Systems such
as Novell’ The term “endian” refers to the order in which bytes in a computer word are numbered. When certain applications write data to a file, they record the bytes of the word in numerical order. Although nearly all computers view a word of memory as having the most significant bit in the left-most position, and the least significant bit in the right-most position, computer architectures vary on whether they number the bytes of a word from left to right, or from right to left. Big Endian ArchitecturesArchitectures that number the bytes of a word from left to right (byte 0 represents the left-most eight bits of the word) are called “big endian” architectures. Apple Macintosh computers, and many Hewlett-Packard PA-RISC computers are examples of big endian machines.
Little Endian ArchitecturesArchitectures that number the bytes of a word from right to left (byte 0 represents the right-most eight bits of the word) are called “little endian” architectures. The Intel x86 and Pentium based computers are examples of little endian machines. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||