Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-31-2006, 03:21 PM   #1
LQ Newbie
Registered: Jan 2006
Posts: 6

Rep: Reputation: 0
emacs in run level 3 then switch to X (level 7) then back to level 3

This is a frustrating problem for me. I like to sometimes use the iso-8859-3 font set in Emacs for writing in Esperanto. It works well in a text console in run level 3; however, as soon as I start an X session something happens such that if I return to run level 3 either by ending X completely or by <ctl><alt><F3>, I can no longer see the iso-8859-3 characters correctly in run level 3. After creating a file in emacs with Esperanto characters, I can display them on my text terminal with for example "less filename". After starting X, I can never again return to a text console outside of X and see the Esperanto characters correctly without rebooting the system. If I reboot, everything's back to normal in run level 3; that is until I start an X session again. It should be said that I can see the characters correctly in X even when they aren't showing correctly in run level 3. So I guess I have two questions. 1) what's happening? and 2) How can I reset my run level 3 session without a reboot?

Another tidbit: I tried creating an Esperanto document in emacs in level3; I left it on the screen; then switched to a second level 3 virtual terminal (<alt><F2> and from there started X (startx). From X I switched to my first level 3 terminal that had emacs still running on it, and I find my Esperanto characters all boogered up. Other text is fine though.

Any ideas would be welcomed. I'm running Slac 10.2 with the kernel. I've updated packages to 10.2/current. Everything else seems to be running really well. I'm using a Dell i8600. Thanks --Douglas
Old 08-31-2006, 08:50 PM   #2
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Does this happen when you actually switch run levels? 'init 4' to open up X, 'init 3' to switch back to console. Not an ideal solution, but might narrow down the problem.

Old 09-01-2006, 01:59 AM   #3
LQ Newbie
Registered: Jan 2006
Posts: 6

Original Poster
Rep: Reputation: 0
The problem occurs from the switch from run level 3 (text console) to X. Once I've entered X, it doesn't matter what changes I make in run levels or consoles. I've tried keeping virtual terminal 1 with emacs still running with text on the screen, then switching to console 2, where I run startx to start console 7. From that point I use ctrl alt F1 to return to the text console with emacs running. The characters for the international letters have changed to new strange characters. The rest of the text is normal. Stopping X makes no difference. Using only X makes no difference; however I can see the intl characters in X ok. In other words I can switch to my text terminals and exit each one (log out of them) and return to X with alt F7. I can log into a new text terminal (leaving X of course) but the character stay messed up. I use less to view a file with text I've written earlier. I've been trying every permutation I can think of to see what happens. Nothing but a reboot will allow my original run level 3 terminal to display those characters.
Old 09-01-2006, 03:31 AM   #4
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Probably get better results running X from tty1 as usual. Try running emacs on tty2 first, then return to tty1 and run startx from there. Note that you are not changing runlevel by running startx -you are still in runlevel 3 unless you are running init 4.

You might also try opening emacs on tty6 and using runlevel 4.

Also, once you have started X you should use CTRL-ALT-F? to switch between consoles. The terminal you startx from is basically unreachable while x is running. If you starx from tty1 x appears on tty7 leaving tty2-6 available for use.


emacs, international, levels, support

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
convert packet level pcap captures to flow level data hedpe Linux - Networking 1 07-27-2006 02:56 PM
Remove back level Kernel ibm1401 Fedora 4 02-28-2005 04:32 PM
Run Level 3 webwolf70 Mandriva 5 01-17-2005 10:41 PM
run level 4 sethgeekx86 Slackware 2 04-15-2004 06:43 PM
run level isajera Linux - Software 2 06-22-2001 07:20 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:34 PM.

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