[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xcinterm-big5 写得太压霸



我改你的东西, 否则我 .xsession 无法执行
(cd ~root; xcinterm-big5 -bg hotpink4 -e su -title \#)&

I just did a quick hack.  You can do better.  Mainly 现行写得太压霸,
踩使用者之脚。 

Now at least --help will also work.  Of course you also want to fix
all of xcinterm-*

diff -c /debian/usr/bin/ /debian/home/dyy/bin/xcinterm-big5
*** /debian/usr/bin/xcinterm-big5	Thu Feb 28 01:31:10 2002
--- /debian/home/dyy/bin/xcinterm-big5	Wed Jun 12 12:39:40 2002
***************
*** 106,122 ****
  if [ "$distro" = "Debian" ]; then
  	/usr/bin/$server &
  	rxvt_cmd=$(eval echo '/usr/bin/crxvt -fm \"$fm\" -fn \"$fn\" \
! 		-im \"$im\" -bg black -fg white -geometry +0+0 \
! 		-T \"$title\" ')
  else
  	/usr/bin/X11/$server &
  	rxvt_cmd=$(eval echo '/usr/bin/X11/rxvt -fm \"$fm\" -fn \"$fn\" \
! 		-im \"$im\" -bg white -fg black -geometry +0+0 \
! 		-T \"$title\" -menu \"$menu\" ')
  fi
  export XCINTERM=1
  
  sleep 1
  
! echo $rxvt_cmd
! eval $rxvt_cmd &
--- 106,120 ----
  if [ "$distro" = "Debian" ]; then
  	/usr/bin/$server &
  	rxvt_cmd=$(eval echo '/usr/bin/crxvt -fm \"$fm\" -fn \"$fn\" \
! 		-im \"$im\" -bg black -fg white -T \"$title\" ')
  else
  	/usr/bin/X11/$server &
  	rxvt_cmd=$(eval echo '/usr/bin/X11/rxvt -fm \"$fm\" -fn \"$fn\" \
! 		-im \"$im\" -bg white -fg black -T \"$title\" -menu \"$menu\" ')
  fi
  export XCINTERM=1
  
  sleep 1
  
! echo $rxvt_cmd ${1+"$@"}
! eval $rxvt_cmd ${1+"$@"}&
-- 
http://jidanni.org/ Taiwan(04)25854780 积丹尼

--
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.


-- 
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: