pico
来自「e3 是一个全屏的用户友好的文本编辑器」· 代码 · 共 61 行
TXT
61 行
#!/bin/bash## Date: Wed, 16 May 2001 15:11:08 +0200## I made this script from the original ewrapper.sh for a linux-on-a-floppy# project i'm playing with.# The main difference to the original is that you don't have all this e3xx# links laying around and that you can call things with their real names# (that's user friendly). # "pico" is a demo for any other filename below. Copy to "emacs" etc. if you want,# or create some links to this script.# (c) 2001 Tito <farmatito@tiscalinet.it>##E3_PATH=/usr/local/bincase $0 in *ws|*wordstar) E3=e3ws ;; *vi) E3=e3vi ;; *em|*emacs) E3=e3em ;; *pi|*pico) E3=e3pi ;; *ne|*nedit) E3=e3ne ;; *) echo "e3: improper emulation! ($0).Use emacs,wordstar,vi,pico,nedit" ;;esacif [ $@ = ] 2>/dev/nullthen ln -s $E3_PATH/e3 $E3_PATH/$E3 $E3_PATH/$E3 rm -f $E3_PATH/$E3 else for file in $@ do ln -s $E3_PATH/e3 $E3_PATH/$E3 $E3_PATH/$E3 $file rm -f $E3_PATH/$E3 donefi
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?