Re: [9fans] A few questions about sam

2021-07-22 Thread Silas McCroskey
> * I did try using 'send' but it gives me a ?bad delimiter `e' error. send is a command on the middle-click menu in samterm, not part of the sam language. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T60b5c1929a63b077-Ma800732a0dcfc14

Re: [9fans] A few questions about sam

2021-07-22 Thread revcomninos
Thanks to all! * As far as sam windows being unresponsive, of the reasons suggested, it seems that in my case I am not always entering commands on the last line. When this happens, the sam window does not respond to commands and gets stuck and I am only thereafter able to enter a command if I s

Re: [9fans] A few questions about sam

2021-07-22 Thread Silas McCroskey
> The sam window is not always responsive to commands. Under what specific > conditions is this the case? I can think of a few cases: * You issued an I/O command (shell, read file, write file, etc.) and it's still in progress (there will always be output you can wait for in these cases, e.g. the

Re: [9fans] A few questions about sam

2021-07-22 Thread revcomninos
Thank you both for your responses. I am going to consider them more carefully and revert back.  -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T60b5c1929a63b077-M88470c3bf339d908722912b9 Delivery options: https://9fans.topicbox.com/group

Re: [9fans] A few questions about sam

2021-07-22 Thread Charles Forsyth
> > >- The sam tutorial speaks of sam being "downloaded". (*A tutorial for >the sam language*.) I am not exactly sure what "downloaded" means in >this context. > > sam originally ran on a terminal that had its own little operating system and applications could be downloaded into each te

Re: [9fans] A few questions about sam

2021-07-22 Thread Charles Forsyth
>/tmp/x: ?warning: last char not newline is a warning you get when you try to write a file that doesn't end with a newline, the other message: > I sometimes get the "?newline expected" error, is provoked by a syntax error in a command in the sam (command) window. For instance, try typing qx (

Re: [9fans] A few questions about sam

2021-07-22 Thread mcz
> * Must every sam file end with a newline? I.e. even files with simple text? No, I don't think sam cares. > I sometimes get the "?newline expected" error, In sam version I use, it's just a warning. The file is saved without newline at the end, unless I add it there. > which I would like to av

Re: [9fans] A few questions about sam

2021-07-22 Thread revcomninos
That's awesome. Thanks so much Sigrid.  -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T60b5c1929a63b077-M0d532c7bf38e59584f0e7d52 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] A few questions about sam

2021-07-22 Thread Sigrid Solveig Haflínudóttir
> * Is there a way of saving the state of one's windows in sam? For that (and many more sam goodness) I recommend checking out http://runjimmyrunrunyoufuckerrun.com/rc/s -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T60b5c1929a63b077

[9fans] A few questions about sam

2021-07-22 Thread revcomninos
I have a few questions about sam which have not thus far been answered for me as I am reading the documentation. I thought that instead of putting them in separate posts, I could just put them into one.  I hope this is acceptable. Please let me know if is not.  * The sam window is not always r

Re: [9fans] Help with a sam cleanup script

2021-07-22 Thread revcomninos
Thank you so much Silas for your detailed and informative response. I have settled on accepting your second solution x/$^/!# for the time being. It gives me just the result I need. I use the commented lines mostly as a mnemonic device to recall the meaning of complex commands.  -