SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a screen I use for my minecraft server so it is a java file running and it doesn't totally act like a terminal (I think). So give me what you got and I'll try it. I need to be able to send a command like stop to a screen called PhantasyCraft. the last time I did this though it sent the whole screen -argument and blah blah blah to the terminal and said it wasn't valid (Minecraft said it wasn't not the operating system). so it's not just sending stop it's sending something else with it too which is making it not work.
also just to make sure we have an understanding this screen isn't attached and nor do i want to attach it to run some commands. thanks
Last edited by fatalerror0x00; 10-31-2012 at 12:17 AM.
Reason: Forgot a specific detail
please define what you mean by "screen". A physical display, an xterm, "gnu screen" etc.? If you are unable to tell us what a "screen" is, please be very explicit about what you are doing.
Well I would have assumed youd know i was talking about the screen command from the details I gave so it's not enough but I mean when you use the command screen to run programs in (used more commmonly with ssh since you don't have tty's in ssh (as far as I know) :P
screen -S sessionname -p 0 -X somecommand <- that syntax does nothing when I replace sessionname with the name of my session (PhantasyCraft) and somecommand with stop which is the command I would like to send the screens "terminal" I put that in quotes because I'm not sure what it is as you can't do ls rm mv cp df mkdir touch and commands like that in this terminal because a java file is running and made it's own sort of terminal it seems
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.