Tag Info

New answers tagged

1

This does not quite answer your question, but it helped me, so am putting it here as it may help someone else: Copy what you want from xterm by selecting your text Open a second copy of xterm and your favorite text editor (I use vim) Use Shift+Insert (or middle-click) to paste into your text editor Save the file. If necessary open the file with a graphical ...


2

Sorry, gnome-terminal doesn't support this. The actual emulation is handled by the vte widget. In its source code, src/caps.c contains the table where matching/parsing the incoming escape sequences begins. \e] is called OSC here, and OSC "52..." is not defined here.


2

You have no configuration defined for xterm. Create a configuration: nano ~/.Xresources and add these lines xterm*faceName: Ubuntu Mono:style=Regular:antialias=true xterm*faceSize: 12 XTerm*Background: black XTerm*Foreground: grey and run this command: xrdb -I$HOME ~/.Xresources Read more


1

You shall not include that line in .Xdefaults. Thus shalt thou start the program. xterm -ls -xrm 'XTerm*selectToClipboard:true' & Or with .Xdefaults: Add this line: XTerm*selectToClipboard:true and reload the configuration xrdb ~/.Xdefaults


0

My favorite is printf "\ec". This can also be printf "\033c" or printf "\x1bc". That is an ansi escape sequence that miraculously clears the screen and buffer for the terminal output (for most standard terminals I have worked in it seems - I know it works in such as gnome-terminal, terminator, xterm, etc. on Ubuntu-like Linuxes) I know this works in Linux ...


5

Use xterm -xrm 'XTerm.vt100.allowTitleOps: false' -T whatever


0

I have found the following to be quite successful with Kubuntu: alias clc="echo -en '\033c\033[3J'" You can use cls to keep with the Windows tradition, use the Matlab version clc, or one of your own. Good luck!


1

Update It is worth noting that you should, if unsure of what the settings are supposed to look like, to do this: xrdb -query which can give a listing like this (MANY lines not included): ... xterm*background: black xterm*foreground: #808080 xterm.SimpleMenu*background: #6a6a6a <---- these were xterm.SimpleMenu*foreground: ...



Top 50 recent answers are included