LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-30-2015, 08:22 PM   #1
Rhadamanthysan
LQ Newbie
 
Registered: Nov 2013
Location: Brasil
Distribution: Slackware FreeBSD
Posts: 24

Rep: Reputation: Disabled
Automatic line break aterm


First, sorry about the english, not my primary language.
switched from kde to fluxbox, installed aterm from SBo. When a command is too long, kde's konsole automatically starts a new line upon reaching the terminal's edge, but in my aterm it just continues endlessly on the same line. what i want is the same behavior than konsole.Thank you all.
 
Old 12-31-2015, 12:56 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I didn't find the solution, but: why not just use xterm?

xterm has much more features than aterm and is actively maintained by Thomas E. Dickey.

TIP: in an xterm, press one of the Ctrl keys then make a right, middle or left click to see different menus.

References:
http://invisible-island.net/
http://invisible-island.net/xterm/xterm.html
https://wiki.archlinux.org/index.php/Xterm
https://wiki.archlinux.org/index.php...c_transparency
https://wiki.archlinux.org/index.php...n_Transparency
 
Old 12-31-2015, 02:52 AM   #3
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 241

Rep: Reputation: 49
Is your COLUMNS environment variable set correctly?
 
Old 12-31-2015, 07:08 AM   #4
pzognar
Member
 
Registered: Jun 2015
Distribution: Debian Jessie 64
Posts: 163
Blog Entries: 9

Rep: Reputation: Disabled
I'll guess because aterm has transparency whereas xterm does not?

BTW, just because one switches from KDE does not mean one cannot still keep using konsole. Well, unless one also completely uninstalled KDE.
 
Old 12-31-2015, 03:36 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I'd recommend terminator. It's also on SBo.
 
Old 01-01-2016, 07:40 AM   #6
davleema
Member
 
Registered: Jun 2015
Location: Belgium
Distribution: Slackware x64
Posts: 43

Rep: Reputation: Disabled
Quote:
Originally Posted by Rhadamanthysan View Post
First, sorry about the english, not my primary language.
switched from kde to fluxbox, installed aterm from SBo. When a command is too long, kde's konsole automatically starts a new line upon reaching the terminal's edge, but in my aterm it just continues endlessly on the same line. what i want is the same behavior than konsole.Thank you all.
I used to have the same problem a few years ago. It wasn't directly related to the terminal I used (Xterm, xfce-terminal,...), but appeared to be caused by my custom bash prompt (some colors added). If the bash prompt contains some characters that are not properly escaped, you can indeed witness the behaviour you mentioned, i.e the commandline, and even the prompt, being overtyped on the same line when using very long commands.
Try with a simple bash prompt (no colors or other fancy stuff), and see if the problem persists.

David

Last edited by davleema; 01-01-2016 at 07:43 AM.
 
Old 01-02-2016, 05:31 PM   #7
Rhadamanthysan
LQ Newbie
 
Registered: Nov 2013
Location: Brasil
Distribution: Slackware FreeBSD
Posts: 24

Original Poster
Rep: Reputation: Disabled
no fancy prompt at all. Columns says 97. no overtype on prompt, it's just goes on. no konsole cause i skipped all kde packages on install. xterm requires extra stuff (like composite manager) for transparency (so i prefer aterm).
 
Old 01-04-2016, 12:35 PM   #8
davleema
Member
 
Registered: Jun 2015
Location: Belgium
Distribution: Slackware x64
Posts: 43

Rep: Reputation: Disabled
Quote:
Originally Posted by Rhadamanthysan View Post
no fancy prompt at all. Columns says 97. no overtype on prompt, it's just goes on. no konsole cause i skipped all kde packages on install. xterm requires extra stuff (like composite manager) for transparency (so i prefer aterm).
afaik aterm is quite old (last update stems from 2007 !!). Newer terminals like Terminator (my new favorite) or xfce-terminal also support transparent backgrounds.

Last edited by davleema; 01-04-2016 at 12:37 PM.
 
  


Reply

Tags
bash, slackware 14.1, terminal



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
correct way to line break filtergraph line tonj Linux - Software 0 10-06-2015 07:44 PM
javascript line break secretlydead Programming 1 02-25-2011 09:12 AM
line break on bash script ZAMO Linux - General 5 04-24-2010 12:27 PM
break line into words nushki Programming 16 12-04-2009 09:15 AM
CVS's line break management zWaR Programming 1 04-16-2007 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration