Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Carriage return character added automatically |
|---|---|
| Date: | Tue, 30 Jan 2007 00:07:00 -0800 (PST) |
Hello, I have a problem concerning text files. I use a Java package (SSHTools) to connect over SSH from an application running on a Windows machine to a Linux machine. After connecting I use the LESS command to perform some operations on a text file located on the Linux machine. My problem is that the carriage return character is added to the end of each line if it is missing (if only the line feed character exists, it is automatically "padded" with a carriage return character). I'm trying to disable this, because it causes me some trouble (I use the LESS prompt in order to find out the byte offset of the current window, and this number does not match the number of bytes sent to my client over the stream). The problem is that I don't understand who adds this character - the candidates I can this of are: 1) The LESS function. 2) The host machine. 3) The SSH protocol. 4) The Java package I use. Please advise on how this can be solved, it is a real pain. Thanks a lot, Ziv -- View this message in context: http://www.nabble.com/Carriage-return-character-added-automatically-tf3141041.html#a8705465 Sent from the SSH (Secure Shell) mailing list archive at Nabble.com.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: AllowUser, DenyUser don't work., Philipp Snizek |
|---|---|
| Next by Date: | openssh outbound client connection logging., Jimmy Stewpot |
| Previous by Thread: | AllowUser, DenyUser don't work., MCG ZHUANG Liang |
| Next by Thread: | openssh outbound client connection logging., Jimmy Stewpot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |