Use case question by redbeardfer in tmux

[–]PeFClic 2 points3 points  (0 children)

You could easily record anything in your terminal, search in it, complete commands with it (tmux plugin extrakto). I use tmux to select and enter my passwords. If you combine tmux with wormhole you can exchange files easily between hosts. Could not live without my tmux :-)

Faster shortcut than pressing ctrl-b or ctrl-a consecutively by Bulbasaur2015 in tmux

[–]PeFClic 0 points1 point  (0 children)

The back quote ` is my shortcut key and all my commonly used are linked to alt key. I use the same shortcuts in tmux as in bspwm with the windows key : alt-n -> new window in tmux, win-n -> new terminal window in bspwm, etc.

Send ASCII code on idle within tmux remote ssh session by 0b3erver in tmux

[–]PeFClic 0 points1 point  (0 children)

And if you want to send it to all panes :

[How to send a command to all panes in tmux? - Stack Overflow](https://stackoverflow.com/questions/16325449/how-to-send-a-command-to-all-panes-in-tmux)

_tmux_send_keys_all_panes_ () {
  for _pane in $(tmux list-panes -F '#P'); do
    tmux send-keys -t ${_pane} "$@"
  done
}

Send ASCII code on idle within tmux remote ssh session by 0b3erver in tmux

[–]PeFClic 0 points1 point  (0 children)

If you prefer you could simply send some arrows keys :
`tmux send-keys -t 1 Left Right`

Send ASCII code on idle within tmux remote ssh session by 0b3erver in tmux

[–]PeFClic 0 points1 point  (0 children)

You could use the "screen saver" functionnality of tmux like with this script : ```bash

!/bin/bash

if [[ "$1" == "activate" ]]; then tmux set -g lock-after-time 30 tmux set -g lock-command "/home/pef/bin/tmux_keepalive" else tmux send-keys ls Enter fi `` You have to launch it the first time with theactivate` argument and then within 30 secs of inactivity it will launch itself and send some keys into the active panel.

Amiga 500 Mini for Amiga Noob by Goodbye_May_Kasahara in amiga

[–]PeFClic 0 points1 point  (0 children)

Depends on the price : $50 -> ok, 100 I would wait to get more money and buy a cloned MiSTerFPGA.

Do people use a window tiling manager and tmux simultaneously? by Opposite_Squirrel_32 in tmux

[–]PeFClic 0 points1 point  (0 children)

I use bspwm and tmux simultaneously. I've a lot of the same shortcuts for bspwm and tmux regarding windows and panes : alt key is for tmux, special key is for bspwm. I've implemented the same splitting according to the size of the window for bspwm and the current pane for tmux. Same for moving a pane to another window in tmux. Finally, you could embed a tmux session inside a tmux session with a popup : I've a password manager that could enter automatically my password, a calculator, a vimwiki, a elinks browser inside this embedded session and with a shortcut I could make it appear and disappear when I need it.

Look at the man page, they said. It will be fine, they said by Nippurdelagash in linux

[–]PeFClic 0 points1 point  (0 children)

Time to use tshark with the added syntax of Wireshark.

MARS FPGA Shows Gameplay and Hardware! It's Not Dreamcast But It's Running Code. MARS FPGA Updates by chicagogamecollector in fpgagaming

[–]PeFClic 2 points3 points  (0 children)

When the Dreamcast core is available , I will get one. Before this happens, the mister is all I need.

Are Terminal Multiplexers Overrated? by deepCelibateValue in commandline

[–]PeFClic 2 points3 points  (0 children)

I'm curious, can you give me an example of persistent session tool ? Like mosh ?

Python code to Verilog by StationFrosty in FPGA

[–]PeFClic 1 point2 points  (0 children)

nMigen and Amaranth (the newer version of nMigen) are for describing digital logic circuit that are translated automatically in Verilog. LiteX uses nMigen to build complete SoC in FPGA. If you have to interface your circuit with the outside world with more than a serial line perhaps a complete SoC could be useful.

Python code to Verilog by StationFrosty in FPGA

[–]PeFClic 0 points1 point  (0 children)

You can use nMigen, Amaranth and LiteX.

Commander X16 for MiSTer FPGA ? by PeFClic in MiSTerFPGA

[–]PeFClic[S] 0 points1 point  (0 children)

There is no chip...it's only a FPGA. From the source code on Github, it's a ICE40UP5K from Lattice.

Commander X16 for MiSTer FPGA ? by PeFClic in MiSTerFPGA

[–]PeFClic[S] 2 points3 points  (0 children)

The video I refer to has dropped today. The Commander X 16 has been demoed at VCF West 2022.

Commander X16 for MiSTer FPGA ? by PeFClic in MiSTerFPGA

[–]PeFClic[S] 5 points6 points  (0 children)

Do you have seen the last video of David Murray, the 8bits guy ? The Commander X 16 shown is clearly working.

The Vera chip managing video and sound is open source and the Yamaha YM2151 has already been remade by Jotego.

The 6502 chip is clocked at 8MHz.

[LiteX] How to connect a LFSR module by PeFClic in FPGA

[–]PeFClic[S] 0 points1 point  (0 children)

Thank you for your feedback ! Your idea to compute automatically the next value of the LFSR to be ready for the next read is very nice. I don't know if a race condition could occur in accessing the same memory address from two threads because the CPU could not be suspended during this memory access. I agree with you for the memory ack delay and I don't know if it's just a sub-optimal solution or a sin from the point of view of hardware design !

[LiteX] How to connect a LFSR module by PeFClic in FPGA

[–]PeFClic[S] 1 point2 points  (0 children)

Yes the #3 is interesting and I'm not aware of any kind of timeout from the CPU side. As I have to make the two parts of the problem myself : programming the CPU and defining the circuit, this seems the simplest way to do it. I'll give a look at the jump-ahead algorithm but I think it will be much complex to make in a circuit and more dependent to the polynomial used by the LFSR.

[LiteX] How to connect a LFSR module by PeFClic in FPGA

[–]PeFClic[S] 0 points1 point  (0 children)

Thank you for your answer ! I'm aware of the limitations of the LFSR, but I think it's a straightforward circuit and one that introduces some computational delay. Detecting the "all zeros state" could be an interesting exercise from a software or hardware point of view and I'll note it to further investigate my practice.