間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

Cygwin

パスの'~'は$HOMEではなく$HOMEPATH

http://www.shiro.dreamhost.com/scheme/wiliki/wiliki.cgi?Gauche%3ACygwin file.utilのexpand-pathで使用される環境変数は$HOMEではなく$HOMEPATHです。 Cygwinの$HOMEPATHは「コンピューターの管理/システムツール/ローカルユーザーとグループ/ユーザー//…

XDMCPによるグラフィカルログイン

http://www.atmarkit.co.jp/flinux/special/cygwin/cygwin02b.html XDMCP(X Display Manager Control Protocol)によって、ログインをはじめとするLinuxサーバ上のすべての操作をCygwin/XFree86から行えば、Linux上のかな漢字変換システムを使って漢字を入…

UTF-8環境へのssh

cocot -p UTF-8 ssh username@hostname http://iwa.ath.cx/software/cygwin/cocot.html http://onohiroki.cycling.jp/2005-05-08-1Etch RC1(生)コンソールでの日本語表示 http://lists.debian.or.jp/debian-users/200611/msg00112.html http://bugs.debian…

gpg秘密鍵の移行(コピー)

Linuxのgpgで作成した秘密鍵をCygwinのgpgでimportして 秘密鍵の信用情報を変更した。インポート元 gpg -a --export example@example.com > public.txt gpg -a --export-secret-keys example@example.com > secret.txt インポート先 gpg --import public.txt…

gpg相互運用

GnuPG 1.4.2.1 compiled for Microsoft Windows. http://www.gnupg.org/(en)/download/index.htmlcygwinのgpgもtgzを展開して cygwin\binにコピーした所使用できた。 デフォルト展開される(cygwin\)usr\binでないところが謎。 まあsetup.exeを使えなのだろう…

ipv6

http://win6.jp/Cygwin/index.html ここにあるsetup.exeでcygwin環境を構築(更新)し、 ipv6 installして new-cygwin1.dllでcygwin1.dllで置き換えたところ、とりあえず以下のプログラムが動いたようだ。 cat socket.c #include #include #include /* #includ…

Cygwin JE 暫定版

http://sourceforge.jp/forum/forum.php?forum_id=5282 cygwin用のlvを探していたら以下経由でたどり着いた。 元の本自体は持っているのだが、ここは知らなかった。 結局setup方法がよくわからんの&出先だったのもあり、直接 tarで展開してインストールした…

Cygwin プログラムのデバッグ

http://www.sixnine.net/cygwin/translation/cygwin-ug-net/gdb.html

w3m

文字化けするとおもっていろいろ調べたが、結局 w3m -s ですんでしまった。。。不覚...o で設定したら システムの文字コードをShift_JISにしてOK ~/.w3m/configのsystem_code Sに反映された。

Windowsで実行中のプロセス一覧

ps -sW 便利だ..

RAWRITE.EXEの代わり

$LANG=C dd if=ml21_upd_20030814.img of=/dev/fd0 bs=1k やってみたら動いてしまった...VMwareメモ http://homepage1.nifty.com/mcn/lab/vmware/memo.htm 物理 Floppy Disk → 仮想 Floppy Disk Image の作り方dd コマンド UNIX 系の OS では有名なコマンド…

rpm man

wget http://www.linux.or.jp/jrpm/pub/rpm.8 mkdir -p /usr/local/man/ja/man8/ mv rpm.8 /usr/local/man/ja/man8/

Use telnet

http://www.nurs.or.jp/~telnet/index.html telnet SmtpServer 25 telnet PopServer 110これはどのカテゴリは何にするか微妙だ.. 苦笑

Cygwin 開発環境を使用した Mingw 実行形式

http://www.sixnine.net/cygwin/cygwin-doc/devel/mno-cygwin-howto.html

cygwin版scriptはどのパッケージに入ってるんだろう...

sshjman

wget http://www.unixuser.org/~euske/doc/openssh/jman/openssh-jman-371p2.tar.gz tar -xvzf openssh-jman-371p2.tar.gz mkdir -p /usr/local/man/ja/man1 mkdir -p /usr/local/man/ja/man5 mkdir -p /usr/local/man/ja/man8 mv jman/*.1 /usr/local/man/j…

ssh の SOCKS 化

http://www.graco.c.u-tokyo.ac.jp/~nishi/security/ssh/socksify.html

ご家庭サーバにssh

http://hp.vector.co.jp/authors/VA000770/docs/NikkeiLinux00-12/config.ja.html

ssh portforward

http://www.ueda.info.waseda.ac.jp/~kitai/portforward.html

文字化け対処

export OUTPUT_CHARSET=EUC-JPJLESSCHARSET=japanese-eucexport JLESSCHARSETLANG=ja_JP.eucJPzcat /usr/share/doc/language-env/README.ja.eucJP.gz | jless

bash 強化

dpkg --listfiles bashを参考をコピー /etc/bash_completion.d /etc/bash_completion /usr/share/bash_completion .bashrcに以下を追記 # enable bash completion in interactive shells if [ "$PS1" -a -f /etc/bash_completion ]; then . /etc/bash_comple…

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。