ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] lang.csh
@ 2001-01-31 23:21 Ivan Zakharyaschev
  2001-02-01  0:34 ` Dmitry V. Levin
  0 siblings, 1 reply; 5+ messages in thread
From: Ivan Zakharyaschev @ 2001-01-31 23:21 UTC (permalink / raw)
  To: devel

[-- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-02-02 10:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-31 23:21 [devel] lang.csh Ivan Zakharyaschev
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

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