Showing posts with label os. Show all posts
Showing posts with label os. Show all posts

Friday, July 20, 2018

installation - Linux mint 19 cinnamon 64bit

* Download Linux mint
   - linuxmint.com

* make bootable usb image from iso file
   usb-creator-gtk

* install


* update


* system restore
fstab
--
UID=c706ed66-7acf-4552-b994-1bb23791d43f /data           xfs     auto,defaults         0    0



* System Configuration - 시스템 설정

** 중국어(간체) -설치

1. 입력기 설치



2. 입력기 선택 Hagul, Pinyin 을 사용한다.
만약, Pinyin 대신 다른 중국어 입력을 사용하면 해당 입력기를 설치한다.
여기서는 Pinyin 을 사용하기 때문에 Pinyin 만 놔두고 Sunpinyin, Shuangpin, Wubi 는 삭제했다.


3. 입력기 선택 변경

- 변경 전 기본 설정


- 변경 후 설정


Sunday, October 22, 2017

Upgrading Ubuntu 17.10 (Artful Aardvark) - 언어추가(Language Input)

언어추가 (한국어,중국어,러시아어,영어)
Language Support Korean, English, Chinese, Russian

> 참조(Reference)
 [Settings] -> ]Region & Language] -> [Input sources]

   add input sources "Chinese (Pinyin)", Korean(Hangul), Russian
   check 'options' Keyof
  a. Switch to previous source (default  Shift + Super L)
  b. Switch to next source (default   Ctrl + shift L)

※ Ctrl + Shift meangs 'with continusouly compressed [Ctrl] key then stroke [Shift]'


 --> Setup Chinese Input Method in Ubuntu 17.10 Artful
http://gangmax.me/blog/2017/10/20/setup-chinese-input-method-in-ubuntu-17-dot-10-artful/
---------
Ubuntu 17.10 Artful Aardvark is just released. A big change in this release is that it ditches Unity for Gnome. Most likely this will be part of the next LTS version “18.04”.

Here is the instructions how to setup Chinese input method in Ubuntu Artful.

1. First, go to “Language Support”, make sure the “Chinese(simplified)” or “Chinese Traditional”(or both) is installed completely.

2. Go to “Input Method”, make sure you select “ibus” as the selected user configuration. An user logout may be required.

3. Go to “Settings -> Region & Language”, in the “Input Sources” section, add the “Chinese(Pinyin)” input method.

Now you should be able to see the input method icon “en/拼” on the top left corner of the desktop. Use “Super + Space” to switch the input method as normal.
---------

※ notice fcitx users
If you are use Fcitx input method in previous, it will still remian process after upgrade but keyboard sequence will not work. Becase iBus is default settting for 17.10 Artful Aardvark.

So, use one of following 3 method.

1. change OS's defult iBus input method to Fcitx which is your old default method.

2. use iBus input method and remove Fcitx
 > explicitly set to iBus in 'keyboard and language' setting, 17.10 will automatically remove fcitx process
   (it maybe different your situation)


Upgrading Ubuntu 17.10 (Artful Aardvark) - installation

1. Prepare
 > backup - pass
 > turn on addition cooler pan - not necessary

2. Popup Upgrade Message

3. File downloading, installation, clean up
  > it takes time, if network bandwidth and computer CPU fast enought, it will take at least 30 minute.
  > downloading packages


  > installing files



Monday, April 03, 2017

raspberry pi - mariadb install and change default data dir

* mariadb

sudo apt-get install mariadb-server

mysql -u root -p
 "mypassword"

CREATE DATABASE IF NOT EXISTS new_database;
SELECT database();
DROP DATABASE new_database;
DROP DATABASE IF EXISTS new_database;


** check
mysql -u root -p

: Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
SELECT database();

: +------------+
: | database() |
: +------------+
: | NULL       |
: +------------+
: 1 row in set (0.01 sec)

select @@datadir;
: +-----------------+
: | @@datadir       |
: +-----------------+
: | /var/lib/mysql/ |
: +-----------------+
: 1 row in set (0.00 sec)

exit
: Bye


** change default data directory


*** stop service
- stop service
sudo service mysql stop

> check
sudo service mysql status

- directory move

> permission check
 --> /var/lib/mysql
   drwxr-xr-x  4 mysql   mysql   4.0K  4월  3 15:44 mysql

ls -alh /var/lib/mysql/


*** move default directory with tar-mode
mkdir $new_volume/mysql

cd $new_volume/mysql
mkidr -p $new_volume/log
sudo cp -apR /var/log/mysql /$new_volume/log/


*** copy with rsync

ref.
>> https://www.digitalocean.com/community/tutorials/how-to-change-a-mariadb-data-directory-to-a-new-location-on-centos-7


*** modify my.cnf
sudo cp /etc/mysql/my.cnf /etc/mysql/my.cnf-dist
sudo vi /etc/mysql/my.cnf


-- my.cnf
#+title:
#+begin_src conf
[client]
port            = 3306
socket          = /var/run/mysqld/mysqld.sock

# modified for utf8 client
default-character-set=utf8  # <-- added with modified


[mysqld]
...
socket          = /var/run/mysqld/mysqld.sock # leave it
# datadir               = /var/lib/mysql # modified
datadir         = /NEW_VOLUME_ROOT/mysql # modified
tmpdir          = /tmp # leave it
...
# -- modify
bind-address          = 127.0.0.1
# bind-address            = 0.0.0.0

# -- modify
log_error = /NEW_VOLUME_ROOT/log/mysql/error.log
#log_bin                        = /var/log/mysql/mysql-bin.log
..
# expire_logs_days      = 10
expire_logs_days        = 2 # modified
# max_binlog_size         = 100M
max_binlog_size         = 10M # modified
#binlog_do_db           = include_database_name
#binlog_ignore_db       = include_database_name

# ssl-ca=/etc/mysql/cacert.pem
# ssl-cert=/etc/mysql/server-cert.pem
# ssl-key=/etc/mysql/server-key.pem
#
# added following 2 line for utf8 -- modified
init_connect=SET collation=utf8_general_ci
init_connect=SET NAMES utf8
# -- default-character-set=utf8 # error
# character-set-server=utf8 # new DB create with option character-set
# collation-server=utf8_general_ci


[client]
port=3306
# unmodified:w

# socket=/mnt/volume-nyc1-01/mysql/mysql.sock


!includedir /etc/my.cnf.d

#+end_src


*** test connect

tail -f /NEW_VOLUME_ROOT/log/mysql/error.log

sudo service mysql start

sudo service mysql status
: ● mysql.service - LSB: Start and stop the mysql database server daemon
:    Loaded: loaded (/etc/init.d/mysql)
:    Active: active (running) since 월 2017-04-03 16:39:16 KST; 33s ago
:   Process: 28500 ExecStop=/etc/init.d/mysql stop (code=exited, status=0/SUCCESS)
:   Process: 29028 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS)
:    CGroup: /system.slice/mysql.service
:            ├─29053 /bin/bash /usr/bin/mysqld_safe
:            ├─29206 /usr/sbin/mysqld --basedir=/usr --datadir=/NEW_VOLUME_ROOT/mysql --plugin-dir=/usr/li...
:            └─29207 logger -t mysqld -p daemon.error


- check local connect
mysql -u root -p

\quit


- check host connect
mysql -h MY_MARIADB_HOST -u root -p
: Enter password:
: ERROR 1130 (HY000): Host 'pii.local' is not allowed to connect to this MariaDB server


*** create table & user

sudo netstat -tap | grep mysql

mariadb-client-core-10.0

- connect
mysql -u root -p
or
mysql -h server_ip -P 3306 -u root -p

- root: create user
CREATE USER 'myuser'@'%' IDENTIFIED BY 'mypassword';
flush privileges;

: CREATE USER 'myuser'@'192.168.0.3';
: CREATE USER 'myuser'@'%';
: CREATE USER myuser@test IDENTIFIED BY 'mypassword';
: mysql -h my_server_ip -u myuser -p

-- other options
CREATE USER foo
  WITH MAX_QUERIES_PER_HOUR 10
  MAX_UPDATES_PER_HOUR 20
  MAX_CONNECTIONS_PER_HOUR 30
  MAX_USER_CONNECTIONS 40;

-- check grant or privileges

 > commit;
flush privileges;
status;

 > if super priviledge need - with grant option
#+begin_src sql
GRANT ALL PRIVILEGES ON journaldev.* TO 'USER_ME'@'%' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON journaldev.* TO 'USER_ME'@localhost WITH GRANT OPTION;
#+end_src


*** client install

$ mysql-workbench
The following packages will be REMOVED:
  mariadb-client-core-10.0

The following NEW packages will be installed:

  libaec0 libarmadillo6 libarpack2 libcrypto++6 libctemplate3
  libdap17v5 libdapclient6v5 libepsilon1 libfreexl1 libgdal20
  libgeos-3.5.0 libgeos-c1v5 libgeotiff2 libhdf4-0-alt libhdf5-10
  libkmlbase1 libkmldom1 libkmlengine1 libminizip1 libmysqlclient20
  libmysqlcppconn7v5 libnetcdf11 libodbc1 libogdi3.2 libpq5 libproj9
  libqhull7 libspatialite7 libsuperlu4 libsz2 liburiparser1
  libvsqlitepp3v5 libxerces-c3.1 libzip4 mysql-client mysql-client-5.7
  mysql-client-core-5.7 mysql-utilities mysql-workbench
  mysql-workbench-data odbcinst odbcinst1debian2 proj-bin proj-data
  python-cffi-backend python-cryptography python-enum34 python-idna
  python-ipaddress python-mysql.connector python-paramiko
  python-pyasn1 python-pyodbc python-pysqlite2 ttf-bitstream-vera


- ubuntu client (only)
sudo apt-get install mariadb-client-core-10.0

※ mysql-workbench will automatically install
mysql-client, mysql-client-core then
remove mariadb-clinet

so, reinstall mariadb-clinet-core

sudo apt-get install mariadb-client-core-10.0

then clinet prompt will change from "mysql" to "MariaDB"
MariaDB [(none)]>


** remove mysql start service
https://mariadb.com/kb/en/mariadb/installing-system-tables-mysql_install_db/ https://www.digitalocean.com/community/tutorials/how-to-change-a-mariadb-data-directory-to-a-new-location-on-centos-7


** Prevent MySQL from starting on boot up
sudo update-rc.d -f mysql remove

then
  You would then start mysql manually using

sudo service mysql start


** referance
How To Change a MariaDB Data Directory to a New Location on CentOS 7
https://www.digitalocean.com/community/tutorials/how-to-change-a-mariadb-data-directory-to-a-new-location-on-centos-7


sudo service mysql status

: ● mysql.service - LSB: Start and stop the mysql database server daemon
:    Loaded: loaded (/etc/init.d/mysql)
:    Active: inactive (dead) since 월 2017-04-03 15:54:30 KST; 58s ago
:   Process: 28500 ExecStop=/etc/init.d/mysql stop (code=exited, status=0/SUCCESS)

Thursday, March 23, 2017

Cinnamon shortcut

* Cinnamon shortcut

The Complete List Of Linux Mint 18 Keyboard Shortcuts For Cinnamon by Gary Newell 
Updated March 23, 2017

1. Toggle Scale - List All Applications On Current Workspace (CTRL, ALT, DOWN)
2. Toggle Expo - List All Applications On All Workspaces (CTRL, ALT, UP)
3. Cycle Through Open Windows (ALT, TAB) (SHIFT, ALT, TAB)
4. Open The Run Dialog (ALT, F2)
5. Troubleshooting Cinnamon (SUPER, L)
6. Maximise A Window (ALT, F10)
7. UnMaximise A Window (ALT, F5)
8. Close A Window (ALT, F4)
9. Move A Window (ALT, F7)
10. Show The Desktop (SUPER, D)
11. Show The Window Menu (ALT, SPACE)
12. Resize A Window (ALT, F8)
13. Tile A Window To The Left (SUPER, LEFT) (CTRL, SUPER, LEFT)
14. Tile A Window To The Right (SUPER, RIGHT) (CTRL, SUPER, RIGHT)
15. Tile A Window To The Top (Super, UP) (CTRL, SUPER, UP)
16. Tile A Window To The Bottom (SUPER, DOWN) (CTRL, SUPER, DOWN)
17. Move A Window To A Workspace To The Left (SHIFT, CTRL, ALT, LEFT)
18. Move A Window To A Worksapce To The Right (SHIFT, CTRL, ALT, RIGHT)
19. Move A Window To The Left Monitor (SHIFT, SUPER, LEFT)
20. Move A Window To The Right (SHIFT, SUPER, RIGHT)
21. Move A Window To The Top Monitor (SHIFT, SUPER, UP)
22. Move A Window To The Bottom Monitor (SHIFT, SUPER, DOWN)
23. Move To The Workspace To The Left (CTRL ALT, LEFT)
24. Move To The Workspace To The Right (CTRL, ALT, RIGHT)
25. Log Out (CTRL, ALT, DELETE)
26. Shut Down The System (CTRL, ALT, END)
27. Lock The Screen (CTRL, ALT, L)
28. Restart The Cinnamon Desktop (CTRL, ALT, ESCAPE)
29. Take A Screenshot Of Part Of The Screen (SHIFT, PRTSC) (CTRL, SHIFT, PRTSC)
30. Take A Screenshot (PRTSC) (CTRL, PRTSC)
31. Take A Screenshot Of A Window (ALT, PRTSC) (CTRL, ALT, PRTSC)
32. Record The Desktop (SHIFT, CTRL, ALT, R)
33. Open A Terminal Window (CTRL, ALT, T)
34. Open The File Explorer At Your Home Folder (SUPER, E)

Thursday, March 16, 2017

fcitx language, xim setting, Gnome Key change

* fcitx language, xim setting, Gnome Key change
   [[file:img/fcitx_lang.png]]

 리눅스 우분투 키 시퀀스 변경은은 2곳에서 설정하는 데,

1. 주메뉴 [시스템 설정] > Hardware [Keyboard] > [Shortcuts] 탭 > "Typing" [List Menu)
   ( [시스템 설정] > Hardware [Keyboard] > [Typing] 탭의 "Text Entry" 을 선택해도 된다 )
   - Switch to next source: Super+Space
   - Siwtch to previous source: Shift + Super +Space
   [[file:img/fcitx_system_key.png]]

2. fcitx 설정에서 변경
   Fcitx [Icon] 실행 혹은 Configure Fcitx [mouse light popup menu]
     -> Input Method [tab]
        -> Pinyin [list select]
            -> Global Config [Tab]
                -> Trigger Input Method [item]
                   change from: "Ctrl+Space" --> to "Shift+Space"
                -> Scroll between Input Method: Ctrl_Shift
    [[file:img/fcitx_config.png]]

3. Emacs key sequence 변경
   (만약 emacs 에서 사용하는 키가 시스템에서 정의한 키와 중복될 경우 먼저 제거한다)

#+name: dot emacs
#+begin_src elisp
;; <leim> 을 사용할 경우 require (required korea-util.el and hangul.el)
;; <S-Hangul> --> toggle-korean-input-method from korea-util.el
;; [한자]키 --> toggle-korean-input-method hangul-to-hanja-conversion from hangul.el

;; <fcitx> 를 사용할 경우 --> fcitx -> change fcitx and system key sequence
;; 1. in [fcitx config]
;;    a. [Trigger Input Method] from [Control-SPACE] to [Shift-Space]
;;    b. Scroll between Input Method: Control+Sift
;;
;; 2. in [system kebyaord sequence setting]
;;    Next source (fcitx): [Super-Space]
;;    Switch to previous source (fcitx): [Super+Space+Space]

;(global-set-key (kbd "S-SPC") 'toggle-input-method)
;(global-set-key (kbd "S-SPC") 'toggle-korean-input-method)
(global-unset-key (kbd "S-SPC")) ; leave it to fcitx [Trigger Input Method]
(global-set-key (kbd "C-SPC") 'set-mark-command) ; constomize

;(define-key global-map [(control meta ?r)] 'remember)

(global-set-key [(shift meta q)] 'rebox-cycle)
;(global-set-key (kbd "C-c r r")  'my-put-file-name-on-clipboard)
(global-set-key (kbd "C-x C-f")  'find-file) ; ido-find-file

;(global-set-key [?\M-j] 'ido-display-buffer)
;(global-set-key (kbd "C-x x f") 'ido-find-file)
(global-set-key (kbd "<C-f1>")  (lambda()(interactive) (kill-this-buffer)))

(add-hook 'bs-mode-hook 'turn-on-font-lock) ; bs.el
(global-set-key (kbd "C-%") 'replace-regexp)
;(global-set-key [(meta _)] 'sh-switch-to-process-buffer)

(global-unset-key "\M-q")
(global-set-key (kbd "M-q q") 'fill-paragraph)
(global-set-key (kbd "M-q w") 'unfill-paragraph)

(global-set-key (kbd "C-c t t")  'delete-trailing-whitespace)
(global-set-key (kbd "C-c t f")  'flush-blank-lines)
#+end_src

Thursday, January 17, 2013

FreeBSD .cshrc, others

** FreeBSD Disable Bell / Beep ( Hardware beep )
sysctl hw.syscons.bell=0
or
echo "hw.syscons.bell=0" &gt;&gt; /etc/sysctl.conf



** Emacs
alex# emacs-23.2 &gt;./configure
--without-sound --without-jpeg --without-tif- --without-gif --without-png --without-rsvg --without-toolkit-scroll-bars --with-x-toolkit=no --without-xim



** login .cshrc
# $FreeBSD: src/etc/root/dot.cshrc,v 1.25.2.2 2001/03/05 13:36:53 asmodai Exp $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
#

# no screensaver
# xset s noblank

# 5 minute for blank
# xset s 300 2

alias h        history 25
alias j        jobs -l
alias la    ls -la
alias ls    ls -alC
alias lf    ls -FA
# alias ll    ls -alh
alias LS        LS
alias ll    ls -alAGFh
alias xl    xloadimage -quiet -slideshow
alias cdcontrol cdcontrol -f /dev/acd0
alias eject     cdcontrol -f /dev/acd0 eject
alias fm    fetchmail
alias rdate_go  rdate -s time.bora.net

# Terminal
setenv TERM xterm-color
# if ("$term" == dumb) set TERM=xterm
# if ("$term" == dumb) set TERM=xterm-color

if ($?EMACS) then
    if ($EMACS == "t") then
        unset edit
        stty  -icrnl -onlcr -echo susp ^Z
    endif
endif

# test
if ("$term" == emacs) set term=xterm-color

setenv ORACLE_BASE /home/oracle
setenv ORACLE_HOME /home/oracle/product/9.2.0.4
setenv ORACLE_SID ORACLE
setenv ORACLE_TERM xterm
setenv NLS_LANG AMERICAN_AMERICA.KO16KSC5601
setenv LANG C


# A righteous umask
umask 22

set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin /usr/X11R6/bin /usr/local/kde4/bin $HOME/bin /usr/local/mozilla /var/qmail/bin /usr/local/pgsql/bin /usr/local/mysql/bin /usr/local/samba/bin)

if ($?prompt) then
    # An interactive shell -- set some stuff up
    set prompt = "`hostname -s`# "
    set filec
    set history = 1000
    set savehist = 1000
#    set mail = (/var/mail/$USER)
    set mail = (/usr/home/$USER/mbox)
    if ( $?tcsh ) then
        bindkey "^W" backward-delete-word
        bindkey -k up history-search-backward
        bindkey -k down history-search-forward
    endif
endif

# Here goes youngsu defined
set prompt='[%n@%m %.]'
#set prompt="%m[%{^[[34m%}%~%{^[[00m%}]%% "
# set prompt="%B%m%b:%~%# " # from cjh@kr.freebsd.org
# set prompt="%B%n@%m%b %.#"
# set prompt="[%n@%m%b %.]"
# set prompt="%B${USER}@%m#%b "
set dspmbyte=euc
set autolist
set autoexpand

set autocorrect
set correct=cmd

alias   sshwjsro  /usr/local/bin/ssh2 -p 689 -l wjsro 218.145.160.204
alias   sshalpha  /usr/local/bin/ssh2 -p 689 -l wjsro localhost

alias   sshqesdes "xhost +qesdes; /usr/bin/ssh -l wjsro qesdes"
alias   sshalex   "xhost +alex; /usr/bin/ssh -l wjsro alex"

# /usr/bin/ssh -p 689 -l wjsro 221.145.7.188
#
alias   sshmybsd  /usr/bin/ssh -p 689 -l wjsro mybsd.info

#alias scp /usr/local/bin/scp -P 689 -d -r
# alias scp /usr/bin/scp -P 689 -d -r
#alias scp /usr/local/bin/scp2 -P 689 -d -r
#alias ssh /usr/local/bin/ssh2 -P 689

# alias cu    cu -l /dev/cuaa0
alias cu    cu -l /dev/cuad0
alias ulocate   /etc/periodic/weekly/310.locate
alias a2ps        h2ps -H
#alias w3m         w3m -B
#alias du          du -h --max-depth=0
alias du    du -h -d 1
alias df          df -h
# alias hanterm      hanterm -fg white -bg black ; stty -istrip
alias hanterm      hanterm -fg white -bg black
# alias rxvt        rxvt -bg black -fg white
# alias mozilla   /usr/X11R6/bin/mozilla
# alias rdesktop  rdesktop -n test -u administrator -l 192.168.0.2
# alias netstat     netstat -na -p tcp
# alias wget2     wget --wait 1 --no-parent --timestamping --continue --tries=10 --recursive --level=2 --mirror --convert-links -N -X cgi-bin -o ~/tmp/bar/mirror_wget.txt
alias wget1       wget --wait 1 --no-parent --timestamping --continue --tries=10 --recursive --level=1 --mirror --convert-links -N -X cgi-bin
alias wget2       wget --wait 1 --no-parent --timestamping --continue --tries=10 --recursive --level=2 --mirror --convert-links -N -X cgi-bin
alias wget3       wget --wait 1 --no-parent --timestamping --continue --tries=10 --recursive --level=3 --mirror --convert-links -N -X cgi-bin
alias wget4       wget --wait 1 --no-parent --timestamping --continue --tries=10 --recursive --level=4 --mirror --convert-links -N -X cgi-bin

# alias emacs     env LANG=C emacs
# alias emacs     LANG=C LC_ALL=C emacs
alias emacs       env LANG=C LC_ALL=C emacs
alias emacsq      emacs -batch -f batch-byte-compile
alias emacsn    -no-site-file
alias emacsno    -no-site-file -nw

alias browseemail w3m ~/tmp/email.html
# alias lynx        lynx -dump -nolist -image_links=off -width=180

# setenv LANG         ko_KR.EUC
setenv LANG         ko_KR.UTF-8
# setenv LC_CTYPE ko_KR.EUC
setenv LC_CTYPE      ko_KR.UTF-8
# stty cs8 -istrip parenb

# setenv LANG          ko_KR.eucKR
#setenv LC_NUMERIC   ko_KR.eucKR
#setenv LC_MONETARY  ko_KR.eucKR
#setenv LC_MESSAGES  ko_KR.eucKR
#setenv LC_ALL       ko_KR.eucKR
setenv LC_ALL       ko_KR.UTF-8
#setenv LC_CTYPE     ko_KR.eucKR
setenv XMODIFIERS    @im=Ami
#setenv XMODIFIERS   @im=hanIM

setenv    EDITOR    vi
setenv    PAGER    more
setenv    BLOCKSIZE    K
setenv  mailbox ~/mbox
setenv  CGI    /usr/local/apache/cgi-bin/

# set prompt='[%n@%m %.]'
# set prompt = '%n@%m:%~%# '
# set prompt = "%m:%B%/%b%# "

# Here goes youngsu
setenv NNTPSERVER news.shinbiro.com
# setenv NNTPSERVER "binnews.hananet.net"

#setenv IRCSERVER "kornet.hanirc.org"
#setenv IRCSERVER "holywar.hanirc.org"
#setenv IRCSERVER "holynet.hanirc.org"
#setenv IRCSERVER "linuxstart.hanirc.org"
#setenv IRCSERVER "zzzbb.hanirc.org"
#setenv IRCSERVER "wdb.hanirc.org"
#setenv IRCSERVER "pwn.hanirc.org"

setenv IRCNICK    "asukasummer"
setenv IRCNAME    "asuka"
setenv IRCREALNAME "kys"

setenv PACKAGEROOT "ftp://ftp.kr.FreeBSD.org"

# CVS
#setenv CVS_RSH ssh
#setenv CVSROOT :ext:rtxctx@alpha:/home/cvs
#setenv CVSROOT :pserver:anoncvs@alpha:/home/cvs
#setenv CVSROOT :pserver:rtxctx@alpha:/home/cvs
#setenv CVSROOT :pserver:anonymous@cvs.namazu.org:/storage/cvsroot

# set beep off
# xset b off
# xset b 10 48 100

#if ($?MANPATH) then
#  setenv MANPATH "$MANPATH":/usr/X11R6/man:/usr/compat/linux/usr/man:/usr/local/man:/usr/local/openssl/man:/usr/share/man/cat1:/usr/share/perl/man:/usr/src/lib/libc/db/man:/usr/src/lib/msun/man:/var/qmail/man
# else
#  setenv MANPATH /usr/X11R6/man:/usr/compat/linux/usr/man:/usr/local/man:/usr/local/openssl/man:/usr/share/man/cat1:/usr/share/perl/man:/usr/src/lib/libc/db/man:/usr/src/lib/msun/man:/var/qmail/man
endif

## postgresql .cshrc env block start
setenv POSTGRES_HOME /usr/local/pgsql
setenv PGLIB $POSTGRES_HOME/lib
setenv PGDATA $POSTGRES_HOME/data

#if ($?MANPATH) then
#  setenv MANPATH "$MANPATH":$POSTGRES_HOME/man
#else
#  setenv MANPATH $POSTGRES_HOME/man
#endif

if ($?LD_LIBRARY_PATH) then
  setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH":"$PGLIB"
else
  setenv LD_LIBRARY_PATH $PGLIB
endif
## postgresql block end

# for file in *.jpg; do tar cvf "$file".tar "$file"; done
#alias xloadimage xloadimage -fit -fullscreen -slideshow
# alias img-convert convert for file in *.jpg; do convert -size 640x480 "$file" RR_"$file"; done

# -- Here goes for qt
setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
# setenv MANPATH $QTDIR/man:$MANPATH
setenv LD_LIBRAR_PATH $QTDIR/lib:$LD_LIBRARY_PATH

# -- Here goes tmake for qt
setenv TMAKEPATH /usr/local/tmake/lib/linux-g++
setenv TMAKEDIR /usr/local/tmake
setenv PATH $TMAKEDIR/bin:$PATH

# setenv EDITOR emacsclient
# setenv EDITOR /usr/local/emacs/etc/emacsclient
# EDITOR=emacsclient ; export EDITOR

setenv ICONPATH /home/root/.wm-icons/old_pixmaps

setenv wjh /mnt/nfs/usr/home/wjsro

# echo "ssh-agent tcsh then ssh-add"

stty cs8 -istrip parenb
#
# mixer pcm 80 vol 80 cd 80

#setenv JAVA_HOME  /usr/local/jdk1.6.0
#setenv JRE_HOME   /usr/local/jdk1.6.0/jre

# PHP
setenv PHP_HOME /usr/local/php

# exporting

alias alexenv    setenv DISPLAY alex:0.0
alias qesdesenv setenv DISPLAY qesdes:0.0
# alias emacs     env LANG=C LC_ALL=C emacs

Pranten

 Pranten