Skip to content

Conversation

@JuniorPolegato
Copy link
Contributor

Hi!

It was added option for the ESC character to clear screen, as well as "CR LF auto". Also pt_BR translation.

I tested on Debian Trixie (testing/13), all packages updated and pt_BR localized, replacing the gtkterm package with this one, compiled and packaging with:

# in the same directory where gtkterm was cloned
mkdir deb
cd deb

# make sure deb-src is enabled in /etc/apt/sources.list
apt source gtkterm  
cd gtkterm-1.2.?/

# root instalation
sudo apt-get install quilt
sudo apt-get build-dep gtkterm
sudo apt-get install devscripts

export QUILT_PATCHES=debian/patches
quilt new 99_esc_clear_screen.patch
quilt add src/buffer.c src/buffer.h src/interface.c src/interface.h \
          src/serial.c src/serial.h src/term_config.c src/term_config.h \
          src/user_signals.c po/LINGUAS po/pt_BR.po

cp -auv ../../gtkterm/src/* src/
cp -auv ../../gtkterm/po/*.po ../../gtkterm/po/LINGUAS po/

quilt refresh

export EMAIL=your@email  # replace your@email with yours
dch -i "Added functionality to the ESC character ('\\x1b' - 27) to clear the screen"
dpkg-source --commit
debuild -uc -us

cd ..
sudo dpkg -i gtkterm_1.2.?-*.deb # root instalation
#or
# cp -v gtkterm_1.2.?-*.deb /tmp; su - -c "dpkg -i /tmp/gtkterm_1.2.?-*.deb"

@wvdakker wvdakker merged commit d4e0b82 into wvdakker:master Jan 10, 2024
@wvdakker wvdakker added this to the 2.0 milestone Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants