Bug 50318 - (/etc/csh.login:)
Product: Red Hat Linux
Classification: Retired
Component: tcsh (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-07-30 08:48 EDT by Need Real Name
Modified: 2014-03-16 22:22 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-30 12:11:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2001-07-30 08:48:41 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2 i686; en-US; rv:0.9.1)

Description of problem:
In /etc/csh.login, when a user is using tcsh as a login shell, the
dspmbyte shell variable is enabled. This variable enables unconditionally
the Asian (CJK) language input code and makes it difficult to write
european languages (tested with Greek).

How reproducible:

Steps to Reproduce:
1.Check /etc/csh.login whether it has set 'dspmbyte=euc' by default. I
verified that in RH7.1 it is.
2. Enable Greek support in the X environment or possibly another similar
language like russian.
3. Try to type in gnome-terminal (or xterm/...) in the local language.

Actual Results:  CJK is multibyte, meaning that you need to write two
characters in order for the computer to have enough information to print
the character. That is, when you press a key in the Greek keybaord, nothing
appears until you press the next one. Example with latin-ized Greek to show
the point. "_" shows cursor position. The following does not obviously
work. For the real example and if you read greek, go to the URL.

Pressed      On_Screen
L            _
i           Li

Expected Results:  No multibyte code should be enabled.
There should be a check in /etc/csh.login on whether 
the actual locale is one of CJK and only in that case set the 
dspmbyte=euc variable.

Additional info:
Comment 1 Need Real Name 2001-07-30 09:38:24 EDT
Upon more rigorous inspection, 
 /etc/csh.login belongs to:

% rpm -q -f /etc/csh.login 

Thus, it should be assigned to the "setup" maintainer and I should have checked
the setup buglist.
Comment 2 Need Real Name 2001-07-30 09:41:02 EDT
This is a bug in the "setup" RPM.
Comment 3 Eido Inoue 2001-07-30 12:11:29 EDT
FWIW, double-byte support in the Rawhide version of tcsh is turned off because
it seems to be incompatible with ISO-8859 based input.

If it's turned off, this envvar setting should be ignored.
Comment 4 Bill Nottingham 2001-08-09 02:04:34 EDT
Fixed in setup-2.5.3-1.

In initscripts-6.13-1, lang.csh will set this for ja*, zh*, and ko* locales.

Note You need to log in before you can comment on or make changes to this bug.