ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <vanyaz@mccme.ru>
To: <devel@linux.iplabs.ru>
Subject: [devel] lang.csh
Date: Thu, 1 Feb 2001 02:21:29 +0300 (MSK)
Message-ID: <Pine.LNX.4.32L.0102010214290.23432-200000@zephyrous.ru> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 313 bytes --]

	Hello!

Я пробовал заходить под пользователем с tcsh в качестве оболочки -- были
проблемы с переходом консоли в режим, нужный для показа русских букв.
После небольшого исправления в /etc/profile.d/lang.csh, сделанного по
аналогии с sh-скриптом, вроде заработало (патч приложен).

-- 
Best regards,
      Ivan Z.

[-- Attachment #2: the small patch --]
[-- Type: TEXT/PLAIN, Size: 367 bytes --]

--- lang.csh.orig	Wed Jan 31 07:41:11 2001
+++ lang.csh	Thu Feb  1 01:51:05 2001
@@ -37,7 +37,7 @@
 	        if ( $?TERM ) then
 		    if ( "$TERM" == "linux" ) then
 		        if ( `/sbin/consoletype` == "vt" ) then
-			    /bin/echo -n -e '\033(K' > /proc/$$/fd/0
+			    /bin/echo -n -e '\033(K' > /proc/self/fd/0
 		        endif
 		    endif
 		endif

             reply	other threads:[~2001-01-31 23:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-31 23:21 Ivan Zakharyaschev [this message]
2001-02-01  0:34 ` Dmitry V. Levin
2001-02-01 11:43   ` Ivan Zakharyaschev
2001-02-02  7:54     ` Mikhail Zabaluev
2001-02-02 10:22       ` Ivan Zakharyaschev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.32L.0102010214290.23432-200000@zephyrous.ru \
    --to=vanyaz@mccme.ru \
    --cc=devel@linux.iplabs.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git