Questions tagged [xterm]

21 questions
51
votes
8 answers

How do I ask screen to behave like a standard bash shell?

Just learned about the screen command on linux - it is genius. I love it. However, the actual terminal/prompt in screen looks and behaves differently than my standard bash prompt. That is, the colors aren't the same, tab completion doesn't seem…
thornomad
  • 611
  • 1
  • 6
  • 5
16
votes
1 answer

OS X Terminal lines don't go into scrollback

I have a problem that crops up when using Mac OS X's Terminal (TERM=xterm): sometimes it gets itself into a state where lines that scroll off the top are not added to the scrollback buffer. I'm not using screen or similar; this is a plain bash shell…
12
votes
1 answer

Problems with cron script and TERM definition using top command

I have a problem executing a cron process to check current CPU use in my server. My script start with: top -c -n 1 -u www-data > /tmp/kill-cpu I can execute without problem in console, but in cron I get top: failed tty get If I use the -b option…
Lito
  • 275
6
votes
6 answers

What is the best TERM type on AIX for use with PuTTY, and which PuTTY settings should be tweaked?

I manage many AIX machines, generally version 5.3. Basic terminal function works just fine, but it seems like some things don't. For example nmon displays lqqx instead of the line drawing…
5
votes
2 answers

Freebsd doesn't show command output correctly in Putty

I have just installed the latest stable version of FreeBSD to a computer and I have the following problem: If, in Putty, I issue a command like ps uxa which gives long lines of output, they get cropped. ps uxa|more doesn't help. Even if I do ps uxa…
4
votes
1 answer

X over ssh works for one user but not another

I have a CentOS 6.5 server with the following situation: I can ssh to the root user of this server from a Mac OS X machine. It connects relatively quickly, and allows me to fire off xterm sessions. I can ssh to a different account on this same…
Tony B
  • 264
2
votes
3 answers

What are the color names in TERM=xterm256 for colors > 16?

I'm trying to set my xterm background color to "color 234" in xterm256 color mode, but I don't know what to pass to the "-bg" option. I've tried "color234", "Color234", but those are not defined.
2
votes
2 answers

User created with useradd instead of adduser loads a wrong Prompt

I've designed my bash prompt like this \u@\h> When i now create the User example with adduser, my prompt looks like example@host> But when i create a User with useradd, my prompt looks like \u@\h> PS1: \[\e]0;\u@\h:…
2
votes
2 answers

Anyone suggest a good ssh terminal emulator for windows (connecting to RHEL box) and proper terminal type?

We have an old C program which has traditionally been run from SCO boxes. We have a customer that went with RackSpace running RHEL and we got the app recompiled. We have a problem with terminal emulation though. We've been trying PuTTY over SSH,…
Mark Freeman
  • 121
  • 3
1
vote
2 answers

Is there a way to get an xterm to scroll to clear the screen?

I'm working on a Ubuntu Linux machine and I'm looking for a way to get the xterm to scroll when things are cleared rather than clearing the screen and showing the previous contents. This may not make sense so a couple examples might. When I run vim…
Ed.
  • 426
1
vote
2 answers

Disable clear at start of screen via .screenrc?

Is there any way to disable the behavior of gnu-screen, of issuing a clear at startup? I'm using screen merely as a backstop, so that if disconnected, the session isn't HUP'ed. And I've got my shell (bash) config'd to "exec screen -A" on login, so…
mvgfr
  • 11
1
vote
1 answer

Some keys not working under screen in vim

When using vim under screen, some keys are not working. Namely, Pressing Alt-Left produces '3D' and Alt-Right produces '3C' Also, pressing Up/Down when scrolling list of files in Command-T plugin produces 'A' and 'B' respectively. When I exit the…
Art
  • 297
1
vote
3 answers

How do I remotely invoke an xterm on a SUSE Linux Enterprise Server 11

I need to invoke an xterm on a SLES 11 machine (machine A) from another SLES 11 machine (machine B). Currently it doesn't work. So I decided to test some stuff. On machine A the following works: DISPLAY=:0.0 xterm However this doesn't:…
James
  • 113
1
vote
2 answers

Gnome on Thin Client from Ubuntu Server Host?

I was wondering if there was a way to run Gnome (or XFCE) from either an X terminal thin client such as a netbook running only XWindows or even perhaps a Windows maching using Xming or X/Cygwin and have the Window manager and desktop hosted from an…
wag2639
  • 2,175
1
vote
2 answers

Is xterm the terminal window we open in Ubuntu

I know this is a very naive question. I was reading somewhere that Linux allows 7 xterm's. However, I can start more than 7 terminal apps from my Ubuntu system (Application -> Accessories -> Terminal). There is definetely a hole in my knowledge...…
Parag
  • 219
1
2