JOBS mlinux-cd mlinux-jobs
This resume the work, commands I discover while trying to cd to vim's pwd when pressing and fg
JOBS ~ jobs -l
IPC (Inter-Process-Communication) ~
/proc/{PID}/cwd is as symlink the pwd of the current process
bash
local -i PID=${${${(s.:.)${(v)jobstates[1]}}[3]}%=*}
cd $(readlink /proc/$PID/cwd)
alias fg="$VIM --remote-send ':cd $PWD'; fg"
xdotool
kill -l # to see the trap list
# 20 for ctrl-z sigstp
!./ttyecho -n /dev/pts/22 "echo hello"
-> Give to me the write to read and write at tty or ioctl
disown %2
gdb retpy tmux screen to reatach
:e **/palette.cpp
stty -a show shell shortcut for SIGNALS
kill -SIGSTOP vim > /dev/pts/22
exec vi (rplace shell by vim last shell command)
REad : export PROMPT_COMMAND="ls -a > /dev/pts/23"
echo -en '\x12\x02' > /dev/ttyS0
sudo chmod o-rw /dev/tty23
open /usr/share/doc/base-passwd/users-and-groups.html
( echo $$; echo
filename or tail -n +2
alias fg="$VIM --remote-send ':cd $PWD'; fg"
On resume :cd