From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KzsVd-0000cm-10 for garchives@archives.gentoo.org; Tue, 11 Nov 2008 12:38:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C9B2E0408; Tue, 11 Nov 2008 12:38:17 +0000 (UTC) Received: from mail.osagesoftware.com (unknown [216.144.204.42]) by pigeon.gentoo.org (Postfix) with ESMTP id F15DCE0408 for ; Tue, 11 Nov 2008 12:38:16 +0000 (UTC) Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10]) by mail.osagesoftware.com (Postfix) with ESMTP id 3EA2824B1 for ; Tue, 11 Nov 2008 07:38:14 -0500 (EST) Date: Tue, 11 Nov 2008 07:38:14 -0500 From: David Relson To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ftp login with ASCII characters? Message-ID: <20081111073814.0a5310f4@osage.osagesoftware.com> In-Reply-To: <200811110722.24099.michaelkintzios@gmail.com> References: <200811110722.24099.michaelkintzios@gmail.com> Organization: Osage Software Systems, Inc. X-Mailer: Claws Mail 3.6.1 (GTK+ 2.12.11; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 3ad96e56-abd9-4305-8789-7631ed686bd6 X-Archives-Hash: a79e94891200a1f9a2546278c5dd57e2 On Tue, 11 Nov 2008 07:21:43 +0000 Mick wrote: > I am getting perplexed why WYSINWYG: > > I was trying to login to an ftp server from the CLI. Typing in the > passwd failed every time. I then set it up as a network connection > in Konqueror and I had no problem at all connecting using the same > passwd. However, I noticed that some additional characters had been > added by konqueror's interpretation of what the passwd ought to look > like; e.g. > > Original passwd: XXXXXXX%02XXXX > Konqueror passwd: XXXXXXX%2502XXXX > > Konqueror added 25 to it, after the percentage sign. True enough > when I tried the augmented string as a passwd on the command line I > was able to login fine. My terminal is TERM=rxvt and shell is > SHELL=/bin/bash. Is there a way to simplify this confusion and allow > what I type to login normally? Otherwise, where can I find what > characters I should be typing in for all sort of symbols like > "^&*[]<>#@" ? -- > Regards, > Mick H'lo Mick, It looks like your problem is the percent sign. I suggest that you don't use the percent sign in your password. FWIW, most other special characters should be fine. In URL's, the percent sign is used as an escape character to indicate the next 2 characters are hexadecimal digits representing a single ascii character. As you likely know, letter 'A' is a byte with value 65 (decimal) and 41 (hexadecimal). In C (and other languages) it can be represented as 0x41. Using the percent sign escape notation, 'A' and "%41" are the same. Your password contains "%02" which is being interpreted as 0x02, i.e. as the character whose internal value is 2, i.e. as CTL-B. An ASCII chart will give you the decimal and hexadecimal equivalents of the special characters about which you asked. HTH, David